#5245C6

Closest named color: Blue With A Hint Of Purple (#533CC6). oklch(48.4% 0.192 281), rgb(82, 69, 198).

Aa

White text reads best on this color (6.94:1).

About this color

#5245C6 is a medium-dark, vivid purple. In OKLCH its lightness is 48%, its chroma 0.192 and its hue 281°. Its hue sits on the cool side of the wheel. The nearest named color is Blue With A Hint Of Purple (#533CC6), ΔE 0.018 away. White text reads best on it, at 6.94:1.

Hue familyPurples
Lightnessmedium-dark (48%)
Chromavivid (0.192)
Temperaturecool
Nearest nameBlue With A Hint Of Purple (#533CC6)
Black text3.02:1
White text6.94:1

Values

HEX#5245C6
RGBrgb(82, 69, 198)
HSLhsl(246, 53%, 52%)
OKLCHoklch(48.4% 0.192 281)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #5245C6 6.94:1 AA Lc -88.5 Fine for body text
Black text on #5245C6 3.02:1 AA large text Lc 20.6 Dividers and decoration only
#5245C6 text on white 6.94:1 AA Lc 83.5 Fine for body text
#5245C6 text on black 3.02:1 AA large text Lc -18.5 Dividers and decoration only

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 700.

  1. Step 50

    50

    #F4F5FE

    oklch(97.2% 0.012 281.1)

  2. Step 100

    100

    #E6E8FC

    oklch(93.5% 0.027 281.3)

  3. Step 200

    200

    #D2D6FB

    oklch(88.5% 0.051 280.4)

  4. Step 300

    300

    #B5BAFC

    oklch(80.9% 0.093 280.7)

  5. Step 400

    400

    #9193FB

    oklch(70.6% 0.15 281)

  6. Step 500

    500

    #7975F8

    oklch(63.2% 0.19 280.8)

  7. Step 600

    600

    #6459E7

    oklch(55.7% 0.207 280.8)

  8. Step 700

    700 (this color)

    #5245C6

    oklch(48.4% 0.192 281)

  9. Step 800

    800

    #443CA2

    oklch(42.7% 0.159 280.8)

  10. Step 900

    900

    #393581

    oklch(37.8% 0.124 281)

  11. Step 950

    950

    #21204B

    oklch(27.1% 0.077 280.9)

Export this scale for Tailwind in the Tailwind colors tool

#5245C6 with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#005ECA0.079
Deuteranopia (no green cones)#0055C30.072
Tritanopia (no blue cones)#01667F0.165
Achromatopsia (no color)#5A5A5A0.193

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #5245C6

    #5245C6

    oklch(48.4% 0.192 281)

  • #6B6000

    #6B6000

    oklch(48.4% 0.101 101.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5245C6

    #5245C6

    oklch(48.4% 0.192 281)

  • #0060AA

    #0060AA

    oklch(48.4% 0.14 250.9)

  • #8130AC

    #8130AC

    oklch(48.5% 0.192 311.1)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #5245C6

    #5245C6

    oklch(48.4% 0.192 281)

  • #835300

    #835300

    oklch(48.5% 0.104 71.2)

  • #436D00

    #436D00

    oklch(48.5% 0.133 131)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5245C6

    #5245C6

    oklch(48.4% 0.192 281)

  • #A03700

    #A03700

    oklch(48.3% 0.149 40.8)

  • #00714A

    #00714A

    oklch(48.4% 0.108 160.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5245C6

    #5245C6

    oklch(48.4% 0.192 281)

  • #B00243

    #B00243

    oklch(48.4% 0.193 11)

  • #6B6000

    #6B6000

    oklch(48.4% 0.101 101.6)

  • #006D6A

    #006D6A

    oklch(48.3% 0.083 191.4)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #5245C6, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #5245C6 in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.