#6C5FBB

Closest named color: Iris (#6258C4). oklch(54.2% 0.139 287.3), rgb(108, 95, 187).

Aa

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

About this color

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

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

Values

HEX#6C5FBB
RGBrgb(108, 95, 187)
HSLhsl(248, 40%, 55%)
OKLCHoklch(54.2% 0.139 287.3)

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 #6C5FBB 5.26:1 AA Lc -81.3 Fine for body text
Black text on #6C5FBB 3.99:1 AA large text Lc 28.1 Dividers and decoration only
#6C5FBB text on white 5.26:1 AA Lc 75.9 Fine for body text
#6C5FBB text on black 3.99:1 AA large text Lc -25.8 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

    #F5F5FB

    oklch(97.2% 0.008 286.3)

  2. Step 100

    100

    #E9E8F6

    oklch(93.6% 0.019 289.3)

  3. Step 200

    200

    #D7D6F0

    oklch(88.5% 0.036 287.4)

  4. Step 300

    300

    #BDBBE8

    oklch(80.9% 0.063 286.9)

  5. Step 400

    400

    #9C97DC

    oklch(70.7% 0.1 286.9)

  6. Step 500

    500

    #857CD2

    oklch(63.1% 0.127 287)

  7. Step 600

    600 (this color)

    #6C5FBB

    oklch(54.2% 0.139 287.3)

  8. Step 700

    700

    #5E52A5

    oklch(49.2% 0.129 287.3)

  9. Step 800

    800

    #4C4386

    oklch(42.6% 0.108 287)

  10. Step 900

    900

    #3F396B

    oklch(37.6% 0.084 287.2)

  11. Step 950

    950

    #25223F

    oklch(27.1% 0.053 287)

Export this scale for Tailwind in the Tailwind colors tool

#6C5FBB 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)#396EBE0.069
Deuteranopia (no green cones)#3969B90.067
Tritanopia (no blue cones)#5572840.117
Achromatopsia (no color)#6C6C6C0.140

Harmonies

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

Complementary

The opposite hue (180°).

  • #6C5FBB

    #6C5FBB

    oklch(54.2% 0.139 287.3)

  • #777300

    #777300

    oklch(54.2% 0.116 107.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #6C5FBB

    #6C5FBB

    oklch(54.2% 0.139 287.3)

  • #356EBF

    #356EBF

    oklch(54.2% 0.14 257.6)

  • #8F52A4

    #8F52A4

    oklch(54.2% 0.139 316.9)

Open the analogous palette in the generator

Split complementary

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

  • #6C5FBB

    #6C5FBB

    oklch(54.2% 0.139 287.3)

  • #936500

    #936500

    oklch(54.1% 0.113 77.5)

  • #438126

    #438126

    oklch(54.2% 0.14 137.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #6C5FBB

    #6C5FBB

    oklch(54.2% 0.139 287.3)

  • #AE5015

    #AE5015

    oklch(54.2% 0.14 47.1)

  • #008362

    #008362

    oklch(54.2% 0.11 167.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #6C5FBB

    #6C5FBB

    oklch(54.2% 0.139 287.3)

  • #B24751

    #B24751

    oklch(54.3% 0.139 17.4)

  • #777300

    #777300

    oklch(54.2% 0.116 107.3)

  • #007F82

    #007F82

    oklch(54.1% 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 #6C5FBB, closest first.

Similar named colors

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

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