#CF82EF

Closest named color: Liliac (#C48EFD). oklch(72.7% 0.171 315.3), rgb(207, 130, 239).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (73%)
Chromavivid (0.171)
Temperaturein between
Nearest nameLiliac (#C48EFD)
Black text8.09:1
White text2.59:1

Values

HEX#CF82EF
RGBrgb(207, 130, 239)
HSLhsl(282, 77%, 72%)
OKLCHoklch(72.7% 0.171 315.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 #CF82EF 2.59:1 Fails Lc -55.6 Large or bold text, headings
Black text on #CF82EF 8.09:1 AAA Lc 53.6 Large or bold text, headings
#CF82EF text on white 2.59:1 Fails Lc 50.4 Large or bold text, headings
#CF82EF text on black 8.09:1 AAA Lc -51.5 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

    #F9F3FC

    oklch(97.1% 0.013 314.8)

  2. Step 100

    100

    #F2E4F8

    oklch(93.6% 0.031 315.9)

  3. Step 200

    200

    #E8CEF4

    oklch(88.5% 0.058 315.2)

  4. Step 300

    300

    #DBACF0

    oklch(81% 0.106 315.2)

  5. Step 400

    400 (this color)

    #CF82EF

    oklch(72.7% 0.171 315.3)

  6. Step 500

    500

    #BA53E1

    oklch(63.1% 0.219 315.5)

  7. Step 600

    600

    #A52ECE

    oklch(55.5% 0.237 315.4)

  8. Step 700

    700

    #8D1DB3

    oklch(49% 0.221 315.1)

  9. Step 800

    800

    #731D91

    oklch(42.7% 0.183 315.3)

  10. Step 900

    900

    #5D2073

    oklch(37.6% 0.142 315.6)

  11. Step 950

    950

    #371544

    oklch(27.1% 0.09 315.5)

Export this scale for Tailwind in the Tailwind colors tool

#CF82EF 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)#6D9CF30.145
Deuteranopia (no green cones)#82A3EC0.131
Tritanopia (no blue cones)#CD92AD0.115
Achromatopsia (no color)#A1A1A10.172

Harmonies

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

Complementary

The opposite hue (180°).

  • #CF82EF

    #CF82EF

    oklch(72.7% 0.171 315.3)

  • #74BE46

    #74BE46

    oklch(72.8% 0.171 135.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CF82EF

    #CF82EF

    oklch(72.7% 0.171 315.3)

  • #9F98FF

    #9F98FF

    oklch(72.8% 0.147 285.2)

  • #F076BF

    #F076BF

    oklch(72.9% 0.171 345.3)

Open the analogous palette in the generator

Split complementary

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

  • #CF82EF

    #CF82EF

    oklch(72.7% 0.171 315.3)

  • #B5AB00

    #B5AB00

    oklch(72.6% 0.154 105.4)

  • #00C48F

    #00C48F

    oklch(72.7% 0.152 165.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CF82EF

    #CF82EF

    oklch(72.7% 0.171 315.3)

  • #DE9700

    #DE9700

    oklch(72.9% 0.153 75.4)

  • #00BFBF

    #00BFBF

    oklch(72.9% 0.124 194.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CF82EF

    #CF82EF

    oklch(72.7% 0.171 315.3)

  • #FB7E3F

    #FB7E3F

    oklch(72.6% 0.17 45.1)

  • #74BE46

    #74BE46

    oklch(72.8% 0.171 135.4)

  • #00B8E8

    #00B8E8

    oklch(72.8% 0.138 225.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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