#CB81F7

Closest named color: Liliac (#C48EFD). oklch(72.6% 0.179 311.6), rgb(203, 129, 247).

Aa

Black text reads best on this color (8.02:1).

About this color

#CB81F7 is a medium-light, vivid purple. In OKLCH its lightness is 73%, its chroma 0.179 and its hue 312°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Liliac (#C48EFD), ΔE 0.030 away. Black text reads best on it, at 8.02:1.

Hue familyPurples
Lightnessmedium-light (73%)
Chromavivid (0.179)
Temperaturein between
Nearest nameLiliac (#C48EFD)
Black text8.02:1
White text2.61:1

Values

HEX#CB81F7
RGBrgb(203, 129, 247)
HSLhsl(278, 88%, 74%)
OKLCHoklch(72.6% 0.179 311.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 #CB81F7 2.61:1 Fails Lc -55.9 Large or bold text, headings
Black text on #CB81F7 8.02:1 AAA Lc 53.2 Large or bold text, headings
#CB81F7 text on white 2.61:1 Fails Lc 50.8 Large or bold text, headings
#CB81F7 text on black 8.02:1 AAA Lc -51.1 Large or bold text, headings

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 400.

  1. Step 50

    50

    #F9F3FD

    oklch(97.2% 0.015 312.2)

  2. Step 100

    100

    #F1E4FA

    oklch(93.6% 0.032 311.7)

  3. Step 200

    200

    #E7CEF8

    oklch(88.5% 0.063 311.6)

  4. Step 300

    300

    #D9ACF6

    oklch(81% 0.112 311.7)

  5. Step 400

    400 (this color)

    #CB81F7

    oklch(72.6% 0.179 311.6)

  6. Step 500

    500

    #B651EB

    oklch(63% 0.229 311.7)

  7. Step 600

    600

    #A22AD9

    oklch(55.6% 0.249 311.8)

  8. Step 700

    700

    #8A18BD

    oklch(49.1% 0.232 311.3)

  9. Step 800

    800

    #701A99

    oklch(42.7% 0.192 311.3)

  10. Step 900

    900

    #5B1F79

    oklch(37.7% 0.149 311.8)

  11. Step 950

    950

    #351447

    oklch(26.9% 0.095 311.5)

Export this scale for Tailwind in the Tailwind colors tool

#CB81F7 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)#659CFB0.147
Deuteranopia (no green cones)#7AA2F40.134
Tritanopia (no blue cones)#C694B10.125
Achromatopsia (no color)#A0A0A00.180

Harmonies

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

Complementary

The opposite hue (180°).

  • #CB81F7

    #CB81F7

    oklch(72.6% 0.179 311.6)

  • #7BBC31

    #7BBC31

    oklch(72.5% 0.179 131.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CB81F7

    #CB81F7

    oklch(72.6% 0.179 311.6)

  • #9899FF

    #9899FF

    oklch(72.5% 0.146 281.7)

  • #EF73C6

    #EF73C6

    oklch(72.6% 0.179 341.8)

Open the analogous palette in the generator

Split complementary

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

  • #CB81F7

    #CB81F7

    oklch(72.6% 0.179 311.6)

  • #BBA800

    #BBA800

    oklch(72.5% 0.151 101.2)

  • #00C486

    #00C486

    oklch(72.5% 0.16 161.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CB81F7

    #CB81F7

    oklch(72.6% 0.179 311.6)

  • #E29300

    #E29300

    oklch(72.6% 0.156 71.4)

  • #00BFBA

    #00BFBA

    oklch(72.7% 0.125 191.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CB81F7

    #CB81F7

    oklch(72.6% 0.179 311.6)

  • #FF7A43

    #FF7A43

    oklch(72.6% 0.176 41.7)

  • #7BBC31

    #7BBC31

    oklch(72.5% 0.179 131.7)

  • #00B8E2

    #00B8E2

    oklch(72.5% 0.134 222)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #CB81F7 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.