#CD78EB

Closest named color: Light Purple (#BF77F6). oklch(70.8% 0.182 316.7), rgb(205, 120, 235).

Aa

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

About this color

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

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

Values

HEX#CD78EB
RGBrgb(205, 120, 235)
HSLhsl(284, 74%, 70%)
OKLCHoklch(70.8% 0.182 316.7)

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 #CD78EB 2.80:1 Fails Lc -58.9 Large or bold text, headings
Black text on #CD78EB 7.48:1 AAA Lc 50.4 Large or bold text, headings
#CD78EB text on white 2.80:1 Fails Lc 53.6 Large or bold text, headings
#CD78EB text on black 7.48:1 AAA Lc -48.2 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

    #DEAAF2

    oklch(81% 0.113 316.4)

  5. Step 400

    400 (this color)

    #CD78EB

    oklch(70.8% 0.182 316.7)

  6. Step 500

    500

    #BF4CE4

    oklch(63.2% 0.232 316.8)

  7. Step 600

    600

    #AA20D2

    oklch(55.6% 0.253 316.6)

  8. Step 700

    700

    #920AB6

    oklch(49.1% 0.235 316.6)

  9. Step 800

    800

    #761393

    oklch(42.6% 0.194 316.5)

  10. Step 900

    900

    #601B75

    oklch(37.7% 0.152 317)

  11. Step 950

    950

    #381245

    oklch(26.9% 0.097 316.3)

Export this scale for Tailwind in the Tailwind colors tool

#CD78EB 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)#6195EF0.160
Deuteranopia (no green cones)#7B9DE80.143
Tritanopia (no blue cones)#CC89A70.119
Achromatopsia (no color)#9A9A9A0.183

Harmonies

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

Complementary

The opposite hue (180°).

  • #CD78EB

    #CD78EB

    oklch(70.8% 0.182 316.7)

  • #66B939

    #66B939

    oklch(70.7% 0.181 136.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CD78EB

    #CD78EB

    oklch(70.8% 0.182 316.7)

  • #9B8FFF

    #9B8FFF

    oklch(70.9% 0.16 286.5)

  • #EE6BB7

    #EE6BB7

    oklch(70.9% 0.181 346.8)

Open the analogous palette in the generator

Split complementary

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

  • #CD78EB

    #CD78EB

    oklch(70.8% 0.182 316.7)

  • #ADA600

    #ADA600

    oklch(70.8% 0.152 106.7)

  • #00BD8D

    #00BD8D

    oklch(70.8% 0.146 166.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CD78EB

    #CD78EB

    oklch(70.8% 0.182 316.7)

  • #D49200

    #D49200

    oklch(70.7% 0.148 76.6)

  • #00B8BA

    #00B8BA

    oklch(70.9% 0.121 196.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CD78EB

    #CD78EB

    oklch(70.8% 0.182 316.7)

  • #F97526

    #F97526

    oklch(70.8% 0.182 46.5)

  • #66B939

    #66B939

    oklch(70.7% 0.181 136.6)

  • #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 #CD78EB, closest first.

Similar named colors

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

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