#6C51BF

Closest named color: Iris (#6258C4). oklch(52% 0.165 290.8), rgb(108, 81, 191).

Aa

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

About this color

#6C51BF is a medium-dark, vivid purple. In OKLCH its lightness is 52%, its chroma 0.165 and its hue 291°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Iris (#6258C4), ΔE 0.022 away. White text reads best on it, at 5.88:1.

Hue familyPurples
Lightnessmedium-dark (52%)
Chromavivid (0.165)
Temperaturein between
Nearest nameIris (#6258C4)
Black text3.56:1
White text5.88:1

Values

HEX#6C51BF
RGBrgb(108, 81, 191)
HSLhsl(255, 46%, 53%)
OKLCHoklch(52% 0.165 290.8)

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 #6C51BF 5.88:1 AA Lc -84.4 Fine for body text
Black text on #6C51BF 3.56:1 AA large text Lc 24.9 Dividers and decoration only
#6C51BF text on white 5.88:1 AA Lc 79.1 Fine for body text
#6C51BF text on black 3.56:1 AA large text Lc -22.7 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

    #F5F4FC

    oklch(97% 0.011 292)

  2. Step 100

    100

    #E9E8F9

    oklch(93.7% 0.023 288.7)

  3. Step 200

    200

    #D8D5F5

    oklch(88.5% 0.044 289.8)

  4. Step 300

    300

    #C0B8F1

    oklch(80.9% 0.08 290.9)

  5. Step 400

    400

    #A191EA

    oklch(70.6% 0.128 291)

  6. Step 500

    500

    #8B73E3

    oklch(63% 0.164 290.8)

  7. Step 600

    600

    #7759D1

    oklch(55.6% 0.177 291)

  8. Step 700

    700 (this color)

    #6C51BF

    oklch(52% 0.165 290.8)

  9. Step 800

    800

    #513C93

    oklch(42.7% 0.137 290.5)

  10. Step 900

    900

    #433475

    oklch(37.7% 0.107 291)

  11. Step 950

    950

    #271F45

    oklch(27% 0.069 290.8)

Export this scale for Tailwind in the Tailwind colors tool

#6C51BF 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)#0966C30.102
Deuteranopia (no green cones)#1462BD0.098
Tritanopia (no blue cones)#5469800.134
Achromatopsia (no color)#6464640.166

Harmonies

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

Complementary

The opposite hue (180°).

  • #6C51BF

    #6C51BF

    oklch(52% 0.165 290.8)

  • #6D6E00

    #6D6E00

    oklch(52% 0.114 110.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #6C51BF

    #6C51BF

    oklch(52% 0.165 290.8)

  • #2C63C6

    #2C63C6

    oklch(51.9% 0.165 261)

  • #9241A2

    #9241A2

    oklch(52.1% 0.166 320.7)

Open the analogous palette in the generator

Split complementary

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

  • #6C51BF

    #6C51BF

    oklch(52% 0.165 290.8)

  • #886100

    #886100

    oklch(52% 0.107 81.1)

  • #217E0B

    #217E0B

    oklch(51.9% 0.165 140.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #6C51BF

    #6C51BF

    oklch(52% 0.165 290.8)

  • #A44C00

    #A44C00

    oklch(52% 0.136 50.6)

  • #007B61

    #007B61

    oklch(51.9% 0.101 171.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #6C51BF

    #6C51BF

    oklch(52% 0.165 290.8)

  • #B5333D

    #B5333D

    oklch(52.1% 0.166 21)

  • #6D6E00

    #6D6E00

    oklch(52% 0.114 110.4)

  • #00787E

    #00787E

    oklch(52.1% 0.089 200.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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