#C788FE

Closest named color: Liliac (#C48EFD). oklch(73.6% 0.175 307.3), rgb(199, 136, 254).

Aa

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

About this color

#C788FE is a medium-light, vivid purple. In OKLCH its lightness is 74%, its chroma 0.175 and its hue 307°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Liliac (#C48EFD), ΔE 0.014 away. Black text reads best on it, at 8.38:1.

Hue familyPurples
Lightnessmedium-light (74%)
Chromavivid (0.175)
Temperaturein between
Nearest nameLiliac (#C48EFD)
Black text8.38:1
White text2.50:1

Values

HEX#C788FE
RGBrgb(199, 136, 254)
HSLhsl(272, 98%, 76%)
OKLCHoklch(73.6% 0.175 307.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 #C788FE 2.50:1 Fails Lc -54.0 Large or bold text, headings
Black text on #C788FE 8.38:1 AAA Lc 55.1 Large or bold text, headings
#C788FE text on white 2.50:1 Fails Lc 48.9 Large or bold text, headings
#C788FE text on black 8.38:1 AAA Lc -53.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

    #F8F3FD

    oklch(97.1% 0.014 308.3)

  2. Step 100

    100

    #EFE5FB

    oklch(93.6% 0.031 306.2)

  3. Step 200

    200

    #E4CFF9

    oklch(88.5% 0.061 307.7)

  4. Step 300

    300

    #D3AEF8

    oklch(80.9% 0.109 306.9)

  5. Step 400

    400 (this color)

    #C788FE

    oklch(73.6% 0.175 307.3)

  6. Step 500

    500

    #AE57F0

    oklch(63.1% 0.224 307.3)

  7. Step 600

    600

    #9A33DE

    oklch(55.7% 0.243 307.4)

  8. Step 700

    700

    #8322C1

    oklch(49.1% 0.226 307.1)

  9. Step 800

    800

    #6B209C

    oklch(42.7% 0.188 307.5)

  10. Step 900

    900

    #56237C

    oklch(37.7% 0.145 306.9)

  11. Step 950

    950

    #331649

    oklch(27.1% 0.093 307.5)

Export this scale for Tailwind in the Tailwind colors tool

#C788FE 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)#6AA1FF0.133
Deuteranopia (no green cones)#7AA4FB0.121
Tritanopia (no blue cones)#BF9CB70.128
Achromatopsia (no color)#A4A4A40.176

Harmonies

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

Complementary

The opposite hue (180°).

  • #C788FE

    #C788FE

    oklch(73.6% 0.175 307.3)

  • #8BBD2C

    #8BBD2C

    oklch(73.7% 0.175 127.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C788FE

    #C788FE

    oklch(73.6% 0.175 307.3)

  • #95A0FF

    #95A0FF

    oklch(73.6% 0.138 277.4)

  • #ED79D1

    #ED79D1

    oklch(73.6% 0.176 337.2)

Open the analogous palette in the generator

Split complementary

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

  • #C788FE

    #C788FE

    oklch(73.6% 0.175 307.3)

  • #C4A900

    #C4A900

    oklch(73.6% 0.152 97.6)

  • #00C97C

    #00C97C

    oklch(73.6% 0.174 157.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C788FE

    #C788FE

    oklch(73.6% 0.175 307.3)

  • #EC9200

    #EC9200

    oklch(73.6% 0.163 67.2)

  • #00C3B7

    #00C3B7

    oklch(73.6% 0.128 187)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C788FE

    #C788FE

    oklch(73.6% 0.175 307.3)

  • #FF7F59

    #FF7F59

    oklch(73.6% 0.165 37.3)

  • #8BBD2C

    #8BBD2C

    oklch(73.7% 0.175 127.4)

  • #00BDE0

    #00BDE0

    oklch(73.7% 0.132 217.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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