#5738DF

Closest named color: Purpley Blue (#5F34E7). oklch(49.2% 0.235 281.9), rgb(87, 56, 223).

Aa

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

About this color

#5738DF is a medium-dark, vivid purple. In OKLCH its lightness is 49%, its chroma 0.235 and its hue 282°. Its hue sits on the cool side of the wheel. The nearest named color is Purpley Blue (#5F34E7), ΔE 0.018 away. White text reads best on it, at 6.91:1.

Hue familyPurples
Lightnessmedium-dark (49%)
Chromavivid (0.235)
Temperaturecool
Nearest namePurpley Blue (#5F34E7)
Black text3.03:1
White text6.91:1

Values

HEX#5738DF
RGBrgb(87, 56, 223)
HSLhsl(251, 72%, 55%)
OKLCHoklch(49.2% 0.235 281.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 #5738DF 6.91:1 AA Lc -87.9 Fine for body text
Black text on #5738DF 3.03:1 AA large text Lc 21.1 Dividers and decoration only
#5738DF text on white 6.91:1 AA Lc 82.9 Fine for body text
#5738DF text on black 3.03:1 AA large text Lc -19.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

    #F4F5FF

    oklch(97.2% 0.013 281.6)

  2. Step 100

    100

    #E6E8FF

    oklch(93.6% 0.031 281.8)

  3. Step 200

    200

    #D2D5FF

    oklch(88.4% 0.058 281.9)

  4. Step 300

    300

    #B6B9FF

    oklch(80.9% 0.099 282.1)

  5. Step 400

    400

    #9292FF

    oklch(70.8% 0.157 281.6)

  6. Step 500

    500

    #7B71FF

    oklch(63.1% 0.204 282)

  7. Step 600

    600

    #6749FF

    oklch(55.6% 0.253 281.9)

  8. Step 700

    700 (this color)

    #5738DF

    oklch(49.2% 0.235 281.9)

  9. Step 800

    800

    #4630B4

    oklch(42.7% 0.196 281.8)

  10. Step 900

    900

    #3A2E8E

    oklch(37.8% 0.152 282)

  11. Step 950

    950

    #211C53

    oklch(26.9% 0.096 281.9)

Export this scale for Tailwind in the Tailwind colors tool

#5738DF 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)#005FE40.094
Deuteranopia (no green cones)#0054DC0.083
Tritanopia (no blue cones)#0068890.194
Achromatopsia (no color)#5A5A5A0.237

Harmonies

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

Complementary

The opposite hue (180°).

  • #5738DF

    #5738DF

    oklch(49.2% 0.235 281.9)

  • #6D6200

    #6D6200

    oklch(49.1% 0.103 101.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5738DF

    #5738DF

    oklch(49.2% 0.235 281.9)

  • #0062B1

    #0062B1

    oklch(49.3% 0.147 251.9)

  • #8C14BE

    #8C14BE

    oklch(49.3% 0.235 312)

Open the analogous palette in the generator

Split complementary

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

  • #5738DF

    #5738DF

    oklch(49.2% 0.235 281.9)

  • #855500

    #855500

    oklch(49.1% 0.105 71.8)

  • #427000

    #427000

    oklch(49.3% 0.137 132)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5738DF

    #5738DF

    oklch(49.2% 0.235 281.9)

  • #A33B00

    #A33B00

    oklch(49.3% 0.149 42)

  • #00734E

    #00734E

    oklch(49.1% 0.107 162.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5738DF

    #5738DF

    oklch(49.2% 0.235 281.9)

  • #B50043

    #B50043

    oklch(49.3% 0.197 11.8)

  • #6D6200

    #6D6200

    oklch(49.1% 0.103 101.8)

  • #00706D

    #00706D

    oklch(49.2% 0.085 191.5)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #5738DF.

Similar named colors

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

Use #5738DF 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.