#CC78EB

Closest named color: Light Purple (#BF77F6). oklch(70.7% 0.181 316.3), rgb(204, 120, 235).

Aa

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

About this color

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

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

Values

HEX#CC78EB
RGBrgb(204, 120, 235)
HSLhsl(284, 74%, 70%)
OKLCHoklch(70.7% 0.181 316.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 #CC78EB 2.81:1 Fails Lc -59.1 Large or bold text, headings
Black text on #CC78EB 7.45:1 AAA Lc 50.2 Large or bold text, headings
#CC78EB text on white 2.81:1 Fails Lc 53.8 Large or bold text, headings
#CC78EB text on black 7.45:1 AAA Lc -48.0 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

    #FAF3FC

    oklch(97.2% 0.014 318.7)

  2. Step 100

    100

    #F3E4F9

    oklch(93.7% 0.032 316.4)

  3. Step 200

    200

    #EACDF6

    oklch(88.5% 0.063 316)

  4. Step 300

    300

    #DEAAF2

    oklch(81% 0.113 316.4)

  5. Step 400

    400 (this color)

    #CC78EB

    oklch(70.7% 0.181 316.3)

  6. Step 500

    500

    #BE4DE4

    oklch(63.1% 0.231 316.4)

  7. Step 600

    600

    #A922D2

    oklch(55.6% 0.251 316.2)

  8. Step 700

    700

    #910CB6

    oklch(49.1% 0.234 316.2)

  9. Step 800

    800

    #761493

    oklch(42.7% 0.193 316.4)

  10. Step 900

    900

    #5F1C75

    oklch(37.6% 0.15 316.3)

  11. Step 950

    950

    #381345

    oklch(27.1% 0.095 316.1)

Export this scale for Tailwind in the Tailwind colors tool

#CC78EB 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.159
Deuteranopia (no green cones)#7A9DE80.143
Tritanopia (no blue cones)#CB89A70.119
Achromatopsia (no color)#9A9A9A0.182

Harmonies

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

Complementary

The opposite hue (180°).

  • #CC78EB

    #CC78EB

    oklch(70.7% 0.181 316.3)

  • #67B938

    #67B938

    oklch(70.8% 0.181 136.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CC78EB

    #CC78EB

    oklch(70.7% 0.181 316.3)

  • #9A8EFF

    #9A8EFF

    oklch(70.6% 0.161 286.3)

  • #ED6BB8

    #ED6BB8

    oklch(70.8% 0.181 346.1)

Open the analogous palette in the generator

Split complementary

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

  • #CC78EB

    #CC78EB

    oklch(70.7% 0.181 316.3)

  • #ADA500

    #ADA500

    oklch(70.6% 0.151 106.2)

  • #00BD8C

    #00BD8C

    oklch(70.8% 0.147 166.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CC78EB

    #CC78EB

    oklch(70.7% 0.181 316.3)

  • #D49200

    #D49200

    oklch(70.7% 0.148 76.6)

  • #00B7B9

    #00B7B9

    oklch(70.6% 0.12 196.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CC78EB

    #CC78EB

    oklch(70.7% 0.181 316.3)

  • #F87528

    #F87528

    oklch(70.7% 0.181 46.3)

  • #67B938

    #67B938

    oklch(70.8% 0.181 136.3)

  • #00B1E1

    #00B1E1

    oklch(70.8% 0.135 226)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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