#5747B7

Closest named color: Bluey Purple (#6241C7). oklch(47.9% 0.17 284.5), rgb(87, 71, 183).

Aa

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

About this color

#5747B7 is a medium-dark, vivid purple. In OKLCH its lightness is 48%, its chroma 0.170 and its hue 284°. Its hue sits on the cool side of the wheel. The nearest named color is Bluey Purple (#6241C7), ΔE 0.032 away. White text reads best on it, at 7.02:1.

Hue familyPurples
Lightnessmedium-dark (48%)
Chromavivid (0.170)
Temperaturecool
Nearest nameBluey Purple (#6241C7)
Black text2.99:1
White text7.02:1

Values

HEX#5747B7
RGBrgb(87, 71, 183)
HSLhsl(249, 44%, 50%)
OKLCHoklch(47.9% 0.17 284.5)

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 #5747B7 7.02:1 AAA Lc -88.9 Fine for body text
Black text on #5747B7 2.99:1 Fails Lc 20.1 Dividers and decoration only
#5747B7 text on white 7.02:1 AAA Lc 83.9 Fine for body text
#5747B7 text on black 2.99:1 Fails Lc -18.0 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

    #F4F5FD

    oklch(97.2% 0.011 280.5)

  2. Step 100

    100

    #E8E8FA

    oklch(93.6% 0.024 285.9)

  3. Step 200

    200

    #D5D6F7

    oklch(88.6% 0.045 284.1)

  4. Step 300

    300

    #BABAF4

    oklch(80.9% 0.081 284.4)

  5. Step 400

    400

    #9894EF

    oklch(70.7% 0.131 284.5)

  6. Step 500

    500

    #8176EA

    oklch(63.1% 0.169 284.8)

  7. Step 600

    600

    #6C5CD8

    oklch(55.7% 0.183 284.6)

  8. Step 700

    700 (this color)

    #5747B7

    oklch(47.9% 0.17 284.5)

  9. Step 800

    800

    #493E97

    oklch(42.6% 0.14 284.4)

  10. Step 900

    900

    #3D3678

    oklch(37.7% 0.109 284.7)

  11. Step 950

    950

    #232047

    oklch(27% 0.07 284.1)

Export this scale for Tailwind in the Tailwind colors tool

#5747B7 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)#005CBB0.083
Deuteranopia (no green cones)#0055B50.080
Tritanopia (no blue cones)#3162780.143
Achromatopsia (no color)#5959590.170

Harmonies

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

Complementary

The opposite hue (180°).

  • #5747B7

    #5747B7

    oklch(47.9% 0.17 284.5)

  • #676000

    #676000

    oklch(48% 0.102 104.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5747B7

    #5747B7

    oklch(47.9% 0.17 284.5)

  • #005CB1

    #005CB1

    oklch(47.9% 0.154 254.3)

  • #7F369E

    #7F369E

    oklch(47.9% 0.169 314.2)

Open the analogous palette in the generator

Split complementary

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

  • #5747B7

    #5747B7

    oklch(47.9% 0.17 284.5)

  • #7E5300

    #7E5300

    oklch(47.8% 0.101 74.5)

  • #386D00

    #386D00

    oklch(47.9% 0.139 134.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5747B7

    #5747B7

    oklch(47.9% 0.17 284.5)

  • #993C00

    #993C00

    oklch(47.8% 0.138 44.5)

  • #006F4E

    #006F4E

    oklch(48% 0.102 164.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5747B7

    #5747B7

    oklch(47.9% 0.17 284.5)

  • #A71F3E

    #A71F3E

    oklch(47.9% 0.17 14.5)

  • #676000

    #676000

    oklch(48% 0.102 104.6)

  • #006B6B

    #006B6B

    oklch(47.8% 0.082 194.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #5747B7 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.