#CD7FE9

Closest named color: Light Purple (#BF77F6). oklch(71.8% 0.168 316.6), rgb(205, 127, 233).

Aa

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

About this color

#CD7FE9 is a medium-light, vivid purple. In OKLCH its lightness is 72%, its chroma 0.168 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.80:1.

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

Values

HEX#CD7FE9
RGBrgb(205, 127, 233)
HSLhsl(284, 71%, 71%)
OKLCHoklch(71.8% 0.168 316.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 #CD7FE9 2.68:1 Fails Lc -57.1 Large or bold text, headings
Black text on #CD7FE9 7.80:1 AAA Lc 52.1 Large or bold text, headings
#CD7FE9 text on white 2.68:1 Fails Lc 51.9 Large or bold text, headings
#CD7FE9 text on black 7.80:1 AAA Lc -49.9 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

    #E9CEF3

    oklch(88.5% 0.058 316.9)

  4. Step 300

    300

    #DCACEE

    oklch(81% 0.104 316.6)

  5. Step 400

    400 (this color)

    #CD7FE9

    oklch(71.8% 0.168 316.6)

  6. Step 500

    500

    #BB54DE

    oklch(63.2% 0.215 316.5)

  7. Step 600

    600

    #A62FCB

    oklch(55.5% 0.234 316.5)

  8. Step 700

    700

    #8E1FB0

    oklch(49.1% 0.217 316.3)

  9. Step 800

    800

    #741E8E

    oklch(42.7% 0.179 316.8)

  10. Step 900

    900

    #5E2172

    oklch(37.8% 0.14 316.6)

  11. Step 950

    950

    #371543

    oklch(27.1% 0.089 316.3)

Export this scale for Tailwind in the Tailwind colors tool

#CD7FE9 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)#6C99ED0.145
Deuteranopia (no green cones)#81A0E60.131
Tritanopia (no blue cones)#CC8EA90.111
Achromatopsia (no color)#9E9E9E0.169

Harmonies

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

Complementary

The opposite hue (180°).

  • #CD7FE9

    #CD7FE9

    oklch(71.8% 0.168 316.6)

  • #6EBB48

    #6EBB48

    oklch(71.8% 0.168 136.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CD7FE9

    #CD7FE9

    oklch(71.8% 0.168 316.6)

  • #9E93FF

    #9E93FF

    oklch(71.9% 0.154 286.5)

  • #EC73B9

    #EC73B9

    oklch(71.7% 0.168 346.4)

Open the analogous palette in the generator

Split complementary

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

  • #CD7FE9

    #CD7FE9

    oklch(71.8% 0.168 316.6)

  • #B0A900

    #B0A900

    oklch(71.7% 0.154 106.7)

  • #00C090

    #00C090

    oklch(71.7% 0.147 167)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CD7FE9

    #CD7FE9

    oklch(71.8% 0.168 316.6)

  • #D89500

    #D89500

    oklch(71.8% 0.15 76.7)

  • #00BBBE

    #00BBBE

    oklch(71.8% 0.122 196.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CD7FE9

    #CD7FE9

    oklch(71.8% 0.168 316.6)

  • #F67D3A

    #F67D3A

    oklch(71.8% 0.168 46.7)

  • #6EBB48

    #6EBB48

    oklch(71.8% 0.168 136.7)

  • #00B4E6

    #00B4E6

    oklch(71.8% 0.138 226.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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