#5250A2

Closest named color: Twilight (#4E518B). oklch(47.6% 0.129 281.4), rgb(82, 80, 162).

Aa

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

About this color

#5250A2 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 48%, its chroma 0.129 and its hue 281°. Its hue sits on the cool side of the wheel. The nearest named color is Twilight (#4E518B), ΔE 0.039 away. White text reads best on it, at 6.93:1.

Hue familyPurples
Lightnessmedium-dark (48%)
Chromamoderately saturated (0.129)
Temperaturecool
Nearest nameTwilight (#4E518B)
Black text3.02:1
White text6.93:1

Values

HEX#5250A2
RGBrgb(82, 80, 162)
HSLhsl(241, 34%, 47%)
OKLCHoklch(47.6% 0.129 281.4)

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 #5250A2 6.93:1 AA Lc -88.8 Fine for body text
Black text on #5250A2 3.02:1 AA large text Lc 20.2 Dividers and decoration only
#5250A2 text on white 6.93:1 AA Lc 83.8 Fine for body text
#5250A2 text on black 3.02:1 AA large text Lc -18.2 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

    #F4F5FB

    oklch(97.1% 0.008 278.6)

  2. Step 100

    100

    #E7E9F6

    oklch(93.6% 0.018 279.1)

  3. Step 200

    200

    #D5D7F0

    oklch(88.5% 0.034 282)

  4. Step 300

    300

    #B9BDE9

    oklch(81% 0.062 280.8)

  5. Step 400

    400

    #9699DE

    oklch(70.7% 0.1 281.6)

  6. Step 500

    500

    #7D7ED4

    oklch(63% 0.128 281.6)

  7. Step 600

    600

    #6766C1

    oklch(55.5% 0.138 281.4)

  8. Step 700

    700 (this color)

    #5250A2

    oklch(47.6% 0.129 281.4)

  9. Step 800

    800

    #464687

    oklch(42.8% 0.106 281)

  10. Step 900

    900

    #3B3B6C

    oklch(37.7% 0.083 281.7)

  11. Step 950

    950

    #22233F

    oklch(27% 0.052 280.8)

Export this scale for Tailwind in the Tailwind colors tool

#5250A2 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)#2A5DA50.053
Deuteranopia (no green cones)#2457A00.054
Tritanopia (no blue cones)#3562710.112
Achromatopsia (no color)#5A5A5A0.129

Harmonies

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

Complementary

The opposite hue (180°).

  • #5250A2

    #5250A2

    oklch(47.6% 0.129 281.4)

  • #685D00

    #685D00

    oklch(47.4% 0.099 101.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5250A2

    #5250A2

    oklch(47.6% 0.129 281.4)

  • #145EA2

    #145EA2

    oklch(47.6% 0.129 251.5)

  • #744390

    #744390

    oklch(47.5% 0.129 311.8)

Open the analogous palette in the generator

Split complementary

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

  • #5250A2

    #5250A2

    oklch(47.6% 0.129 281.4)

  • #7F5100

    #7F5100

    oklch(47.5% 0.102 71.8)

  • #416A04

    #416A04

    oklch(47.6% 0.128 131.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5250A2

    #5250A2

    oklch(47.6% 0.129 281.4)

  • #963D17

    #963D17

    oklch(47.6% 0.129 41.1)

  • #006E49

    #006E49

    oklch(47.5% 0.105 161.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5250A2

    #5250A2

    oklch(47.6% 0.129 281.4)

  • #96374A

    #96374A

    oklch(47.6% 0.128 11.3)

  • #685D00

    #685D00

    oklch(47.4% 0.099 101.4)

  • #006B68

    #006B68

    oklch(47.7% 0.082 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 #5250A2, closest first.

Similar named colors

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

Use #5250A2 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.