#5852A4

Closest named color: Twilight (#4E518B). oklch(48.6% 0.128 283.9), rgb(88, 82, 164).

Aa

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

About this color

#5852A4 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 49%, its chroma 0.128 and its hue 284°. Its hue sits on the cool side of the wheel. The nearest named color is Twilight (#4E518B), ΔE 0.044 away. White text reads best on it, at 6.64:1.

Hue familyPurples
Lightnessmedium-dark (49%)
Chromamoderately saturated (0.128)
Temperaturecool
Nearest nameTwilight (#4E518B)
Black text3.15:1
White text6.64:1

Values

HEX#5852A4
RGBrgb(88, 82, 164)
HSLhsl(244, 33%, 48%)
OKLCHoklch(48.6% 0.128 283.9)

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 #5852A4 6.64:1 AA Lc -87.7 Fine for body text
Black text on #5852A4 3.15:1 AA large text Lc 21.4 Dividers and decoration only
#5852A4 text on white 6.64:1 AA Lc 82.7 Fine for body text
#5852A4 text on black 3.15:1 AA large text Lc -19.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

    #E8E9F6

    oklch(93.7% 0.018 282.5)

  3. Step 200

    200

    #D6D7F0

    oklch(88.6% 0.034 283.9)

  4. Step 300

    300

    #BBBCE8

    oklch(80.9% 0.062 283.9)

  5. Step 400

    400

    #9998DC

    oklch(70.7% 0.099 284.3)

  6. Step 500

    500

    #817DD3

    oklch(63% 0.127 284.2)

  7. Step 600

    600

    #6B65C0

    oklch(55.6% 0.138 284)

  8. Step 700

    700 (this color)

    #5852A4

    oklch(48.6% 0.128 283.9)

  9. Step 800

    800

    #494586

    oklch(42.7% 0.105 283.8)

  10. Step 900

    900

    #3D3A6B

    oklch(37.6% 0.082 284.5)

  11. Step 950

    950

    #23223F

    oklch(26.9% 0.053 283.8)

Export this scale for Tailwind in the Tailwind colors tool

#5852A4 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)#2E5FA70.057
Deuteranopia (no green cones)#2B5AA20.057
Tritanopia (no blue cones)#3F63730.109
Achromatopsia (no color)#5C5C5C0.128

Harmonies

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

Complementary

The opposite hue (180°).

  • #5852A4

    #5852A4

    oklch(48.6% 0.128 283.9)

  • #696100

    #696100

    oklch(48.5% 0.102 103.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5852A4

    #5852A4

    oklch(48.6% 0.128 283.9)

  • #2160A5

    #2160A5

    oklch(48.6% 0.128 253.7)

  • #794691

    #794691

    oklch(48.6% 0.127 314)

Open the analogous palette in the generator

Split complementary

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

  • #5852A4

    #5852A4

    oklch(48.6% 0.128 283.9)

  • #815500

    #815500

    oklch(48.6% 0.103 74.4)

  • #3F6E14

    #3F6E14

    oklch(48.6% 0.128 133.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5852A4

    #5852A4

    oklch(48.6% 0.128 283.9)

  • #984216

    #984216

    oklch(48.6% 0.128 44)

  • #00714F

    #00714F

    oklch(48.6% 0.104 163.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5852A4

    #5852A4

    oklch(48.6% 0.128 283.9)

  • #9A3A49

    #9A3A49

    oklch(48.6% 0.128 13.8)

  • #696100

    #696100

    oklch(48.5% 0.102 103.9)

  • #006E6D

    #006E6D

    oklch(48.7% 0.083 193.7)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #5852A4.

Similar named colors

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

Use #5852A4 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.