#CF7FEC

Closest named color: Light Purple (#BF77F6). oklch(72.1% 0.172 316.5), rgb(207, 127, 236).

Aa

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

About this color

#CF7FEC is a medium-light, vivid purple. In OKLCH its lightness is 72%, its chroma 0.172 and its hue 317°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Purple (#BF77F6), ΔE 0.039 away. Black text reads best on it, at 7.90:1.

Hue familyPurples
Lightnessmedium-light (72%)
Chromavivid (0.172)
Temperaturein between
Nearest nameLight Purple (#BF77F6)
Black text7.90:1
White text2.65:1

Values

HEX#CF7FEC
RGBrgb(207, 127, 236)
HSLhsl(284, 74%, 71%)
OKLCHoklch(72.1% 0.172 316.5)

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 #CF7FEC 2.65:1 Fails Lc -56.6 Large or bold text, headings
Black text on #CF7FEC 7.90:1 AAA Lc 52.6 Large or bold text, headings
#CF7FEC text on white 2.65:1 Fails Lc 51.4 Large or bold text, headings
#CF7FEC text on black 7.90:1 AAA Lc -50.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

    #E9CEF4

    oklch(88.6% 0.059 316.2)

  4. Step 300

    300

    #DCABEF

    oklch(80.8% 0.107 316.4)

  5. Step 400

    400 (this color)

    #CF7FEC

    oklch(72.1% 0.172 316.5)

  6. Step 500

    500

    #BC51E0

    oklch(63.1% 0.221 316.6)

  7. Step 600

    600

    #A72BCD

    oklch(55.5% 0.239 316.5)

  8. Step 700

    700

    #8F1AB2

    oklch(49.1% 0.223 316.3)

  9. Step 800

    800

    #741B90

    oklch(42.7% 0.184 316.3)

  10. Step 900

    900

    #5E1F73

    oklch(37.7% 0.144 316.4)

  11. Step 950

    950

    #371443

    oklch(26.9% 0.091 316.5)

Export this scale for Tailwind in the Tailwind colors tool

#CF7FEC 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)#6B9AF00.149
Deuteranopia (no green cones)#81A1E90.134
Tritanopia (no blue cones)#CE8EAA0.114
Achromatopsia (no color)#9F9F9F0.173

Harmonies

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

Complementary

The opposite hue (180°).

  • #CF7FEC

    #CF7FEC

    oklch(72.1% 0.172 316.5)

  • #6EBD46

    #6EBD46

    oklch(72.2% 0.173 136.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CF7FEC

    #CF7FEC

    oklch(72.1% 0.172 316.5)

  • #9F94FF

    #9F94FF

    oklch(72.1% 0.153 286.6)

  • #EF73BB

    #EF73BB

    oklch(72.2% 0.172 346.4)

Open the analogous palette in the generator

Split complementary

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

  • #CF7FEC

    #CF7FEC

    oklch(72.1% 0.172 316.5)

  • #B2AA00

    #B2AA00

    oklch(72.1% 0.154 106.3)

  • #00C290

    #00C290

    oklch(72.2% 0.149 166.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CF7FEC

    #CF7FEC

    oklch(72.1% 0.172 316.5)

  • #DA9600

    #DA9600

    oklch(72.2% 0.151 76.5)

  • #00BCBF

    #00BCBF

    oklch(72.1% 0.123 196.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CF7FEC

    #CF7FEC

    oklch(72.1% 0.172 316.5)

  • #F97D37

    #F97D37

    oklch(72.1% 0.172 46.8)

  • #6EBD46

    #6EBD46

    oklch(72.2% 0.173 136.7)

  • #00B5E7

    #00B5E7

    oklch(72.1% 0.138 226.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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