#CD78EA

Closest named color: Light Purple (#BF77F6). oklch(70.8% 0.181 317), rgb(205, 120, 234).

Aa

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

About this color

#CD78EA is a medium-light, vivid purple. In OKLCH its lightness is 71%, its chroma 0.181 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.031 away. Black text reads best on it, at 7.47:1.

Hue familyPurples
Lightnessmedium-light (71%)
Chromavivid (0.181)
Temperaturein between
Nearest nameLight Purple (#BF77F6)
Black text7.47:1
White text2.81:1

Values

HEX#CD78EA
RGBrgb(205, 120, 234)
HSLhsl(285, 73%, 69%)
OKLCHoklch(70.8% 0.181 317)

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 #CD78EA 2.81:1 Fails Lc -59.0 Large or bold text, headings
Black text on #CD78EA 7.47:1 AAA Lc 50.3 Large or bold text, headings
#CD78EA text on white 2.81:1 Fails Lc 53.7 Large or bold text, headings
#CD78EA text on black 7.47:1 AAA Lc -48.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

    #FAF2FC

    oklch(97% 0.016 319.4)

  2. Step 100

    100

    #F3E4F9

    oklch(93.7% 0.032 316.4)

  3. Step 200

    200

    #EACDF5

    oklch(88.5% 0.062 316.7)

  4. Step 300

    300

    #DEAAF1

    oklch(80.9% 0.112 316.8)

  5. Step 400

    400 (this color)

    #CD78EA

    oklch(70.8% 0.181 317)

  6. Step 500

    500

    #BF4CE3

    oklch(63.1% 0.231 317.1)

  7. Step 600

    600

    #AA21D1

    oklch(55.6% 0.251 316.8)

  8. Step 700

    700

    #920CB5

    oklch(49.1% 0.234 316.9)

  9. Step 800

    800

    #771492

    oklch(42.8% 0.193 317.2)

  10. Step 900

    900

    #601C75

    oklch(37.8% 0.151 316.9)

  11. Step 950

    950

    #381344

    oklch(27% 0.094 316.9)

Export this scale for Tailwind in the Tailwind colors tool

#CD78EA 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)#6295EE0.159
Deuteranopia (no green cones)#7B9DE70.143
Tritanopia (no blue cones)#CC89A60.119
Achromatopsia (no color)#9A9A9A0.182

Harmonies

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

Complementary

The opposite hue (180°).

  • #CD78EA

    #CD78EA

    oklch(70.8% 0.181 317)

  • #65B93B

    #65B93B

    oklch(70.7% 0.18 137)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CD78EA

    #CD78EA

    oklch(70.8% 0.181 317)

  • #9C8EFF

    #9C8EFF

    oklch(70.8% 0.161 287.2)

  • #EE6BB6

    #EE6BB6

    oklch(70.8% 0.181 347.2)

Open the analogous palette in the generator

Split complementary

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

  • #CD78EA

    #CD78EA

    oklch(70.8% 0.181 317)

  • #ACA600

    #ACA600

    oklch(70.7% 0.152 107.1)

  • #00BD8D

    #00BD8D

    oklch(70.8% 0.146 166.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CD78EA

    #CD78EA

    oklch(70.8% 0.181 317)

  • #D49200

    #D49200

    oklch(70.7% 0.148 76.6)

  • #00B7BB

    #00B7BB

    oklch(70.7% 0.12 197.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CD78EA

    #CD78EA

    oklch(70.8% 0.181 317)

  • #F87626

    #F87626

    oklch(70.8% 0.181 47.1)

  • #65B93B

    #65B93B

    oklch(70.7% 0.18 137)

  • #00B1E2

    #00B1E2

    oklch(70.9% 0.136 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 #CD78EA, closest first.

Similar named colors

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

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