#6C5FB2

Closest named color: Iris (#6258C4). oklch(53.7% 0.127 288.6), rgb(108, 95, 178).

Aa

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

About this color

#6C5FB2 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 54%, its chroma 0.127 and its hue 289°. Its hue sits on the cool side of the wheel. The nearest named color is Iris (#6258C4), ΔE 0.039 away. White text reads best on it, at 5.36:1.

Hue familyPurples
Lightnessmedium-dark (54%)
Chromamoderately saturated (0.127)
Temperaturecool
Nearest nameIris (#6258C4)
Black text3.91:1
White text5.36:1

Values

HEX#6C5FB2
RGBrgb(108, 95, 178)
HSLhsl(249, 35%, 54%)
OKLCHoklch(53.7% 0.127 288.6)

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 #6C5FB2 5.36:1 AA Lc -81.9 Fine for body text
Black text on #6C5FB2 3.91:1 AA large text Lc 27.5 Dividers and decoration only
#6C5FB2 text on white 5.36:1 AA Lc 76.6 Fine for body text
#6C5FB2 text on black 3.91:1 AA large text Lc -25.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 600.

  1. Step 50

    50

    #F5F5FA

    oklch(97.2% 0.007 286.3)

  2. Step 100

    100

    #E9E8F5

    oklch(93.6% 0.017 289.6)

  3. Step 200

    200

    #D8D6ED

    oklch(88.5% 0.031 289.7)

  4. Step 300

    300

    #BEBBE4

    oklch(80.8% 0.057 288.4)

  5. Step 400

    400

    #9E97D6

    oklch(70.6% 0.091 288.9)

  6. Step 500

    500

    #877DCC

    oklch(63.2% 0.117 288.4)

  7. Step 600

    600 (this color)

    #6C5FB2

    oklch(53.7% 0.127 288.6)

  8. Step 700

    700

    #5F539F

    oklch(49.1% 0.119 288.5)

  9. Step 800

    800

    #4E4481

    oklch(42.7% 0.099 289)

  10. Step 900

    900

    #403A67

    oklch(37.6% 0.076 288.3)

  11. Step 950

    950

    #26223C

    oklch(27% 0.048 289.9)

Export this scale for Tailwind in the Tailwind colors tool

#6C5FB2 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)#416CB50.061
Deuteranopia (no green cones)#4169B00.060
Tritanopia (no blue cones)#596F800.105
Achromatopsia (no color)#6B6B6B0.127

Harmonies

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

Complementary

The opposite hue (180°).

  • #6C5FB2

    #6C5FB2

    oklch(53.7% 0.127 288.6)

  • #747200

    #747200

    oklch(53.6% 0.116 108.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #6C5FB2

    #6C5FB2

    oklch(53.7% 0.127 288.6)

  • #3D6DB6

    #3D6DB6

    oklch(53.7% 0.126 258.6)

  • #8C539C

    #8C539C

    oklch(53.6% 0.126 318.6)

Open the analogous palette in the generator

Split complementary

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

  • #6C5FB2

    #6C5FB2

    oklch(53.7% 0.127 288.6)

  • #906400

    #906400

    oklch(53.6% 0.111 78.5)

  • #447E31

    #447E31

    oklch(53.5% 0.126 138.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #6C5FB2

    #6C5FB2

    oklch(53.7% 0.127 288.6)

  • #A7531F

    #A7531F

    oklch(53.7% 0.127 48.5)

  • #008162

    #008162

    oklch(53.6% 0.108 168.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #6C5FB2

    #6C5FB2

    oklch(53.7% 0.127 288.6)

  • #AB4A50

    #AB4A50

    oklch(53.6% 0.128 18.7)

  • #747200

    #747200

    oklch(53.6% 0.116 108.5)

  • #007D81

    #007D81

    oklch(53.5% 0.091 198.7)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #6C5FB2.

Similar named colors

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

Use #6C5FB2 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.