#6C5FB3

Closest named color: Iris (#6258C4). oklch(53.7% 0.128 288.4), rgb(108, 95, 179).

Aa

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

About this color

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

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

Values

HEX#6C5FB3
RGBrgb(108, 95, 179)
HSLhsl(249, 36%, 54%)
OKLCHoklch(53.7% 0.128 288.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 #6C5FB3 5.34:1 AA Lc -81.8 Fine for body text
Black text on #6C5FB3 3.92:1 AA large text Lc 27.6 Dividers and decoration only
#6C5FB3 text on white 5.34:1 AA Lc 76.5 Fine for body text
#6C5FB3 text on black 3.92:1 AA large text Lc -25.3 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

    #D8D6EE

    oklch(88.5% 0.033 289.5)

  4. Step 300

    300

    #BEBBE4

    oklch(80.8% 0.057 288.4)

  5. Step 400

    400

    #9E97D7

    oklch(70.6% 0.093 288.8)

  6. Step 500

    500

    #877DCC

    oklch(63.2% 0.117 288.4)

  7. Step 600

    600 (this color)

    #6C5FB3

    oklch(53.7% 0.128 288.4)

  8. Step 700

    700

    #5F53A0

    oklch(49.1% 0.12 288.3)

  9. Step 800

    800

    #4E4481

    oklch(42.7% 0.099 289)

  10. Step 900

    900

    #403A68

    oklch(37.7% 0.077 288.1)

  11. Step 950

    950

    #26223D

    oklch(27% 0.049 289.5)

Export this scale for Tailwind in the Tailwind colors tool

#6C5FB3 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)#406DB60.063
Deuteranopia (no green cones)#4069B10.061
Tritanopia (no blue cones)#5970800.108
Achromatopsia (no color)#6B6B6B0.129

Harmonies

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

Complementary

The opposite hue (180°).

  • #6C5FB3

    #6C5FB3

    oklch(53.7% 0.128 288.4)

  • #747200

    #747200

    oklch(53.6% 0.116 108.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #6C5FB3

    #6C5FB3

    oklch(53.7% 0.128 288.4)

  • #3C6DB7

    #3C6DB7

    oklch(53.7% 0.128 258.5)

  • #8D539D

    #8D539D

    oklch(53.8% 0.128 318.7)

Open the analogous palette in the generator

Split complementary

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

  • #6C5FB3

    #6C5FB3

    oklch(53.7% 0.128 288.4)

  • #916400

    #916400

    oklch(53.7% 0.112 77.9)

  • #447F2F

    #447F2F

    oklch(53.8% 0.129 138.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #6C5FB3

    #6C5FB3

    oklch(53.7% 0.128 288.4)

  • #A7531E

    #A7531E

    oklch(53.7% 0.128 48.8)

  • #008162

    #008162

    oklch(53.6% 0.108 168.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #6C5FB3

    #6C5FB3

    oklch(53.7% 0.128 288.4)

  • #AB4A50

    #AB4A50

    oklch(53.6% 0.128 18.7)

  • #747200

    #747200

    oklch(53.6% 0.116 108.5)

  • #007E81

    #007E81

    oklch(53.8% 0.092 197.7)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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