#C787DF

Closest named color: Lavender Pink (#DD85D7). oklch(71.9% 0.141 316.4), rgb(199, 135, 223).

Aa

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

About this color

#C787DF is a medium-light, vivid purple. In OKLCH its lightness is 72%, its chroma 0.141 and its hue 316°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lavender Pink (#DD85D7), ΔE 0.038 away. Black text reads best on it, at 7.95:1.

Hue familyPurples
Lightnessmedium-light (72%)
Chromavivid (0.141)
Temperaturein between
Nearest nameLavender Pink (#DD85D7)
Black text7.95:1
White text2.63:1

Values

HEX#C787DF
RGBrgb(199, 135, 223)
HSLhsl(284, 58%, 70%)
OKLCHoklch(71.9% 0.141 316.4)

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 #C787DF 2.63:1 Fails Lc -56.4 Large or bold text, headings
Black text on #C787DF 7.95:1 AAA Lc 52.8 Large or bold text, headings
#C787DF text on white 2.63:1 Fails Lc 51.2 Large or bold text, headings
#C787DF text on black 7.95:1 AAA Lc -50.7 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

    #F9F3FB

    oklch(97.1% 0.012 317.7)

  2. Step 100

    100

    #F1E5F6

    oklch(93.6% 0.026 316.1)

  3. Step 200

    200

    #E6D0EF

    oklch(88.5% 0.048 316.2)

  4. Step 300

    300

    #D7AFE7

    oklch(80.8% 0.088 316.2)

  5. Step 400

    400 (this color)

    #C787DF

    oklch(71.9% 0.141 316.4)

  6. Step 500

    500

    #B360D1

    oklch(63% 0.181 316.3)

  7. Step 600

    600

    #9E43BE

    oklch(55.6% 0.196 316.1)

  8. Step 700

    700

    #8733A4

    oklch(49% 0.183 316.1)

  9. Step 800

    800

    #6E2C85

    oklch(42.7% 0.151 316.2)

  10. Step 900

    900

    #59296A

    oklch(37.6% 0.117 316.4)

  11. Step 950

    950

    #34193E

    oklch(27% 0.074 316.2)

Export this scale for Tailwind in the Tailwind colors tool

#C787DF 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)#799BE20.117
Deuteranopia (no green cones)#89A1DC0.107
Tritanopia (no blue cones)#C693A90.094
Achromatopsia (no color)#9F9F9F0.142

Harmonies

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

Complementary

The opposite hue (180°).

  • #C787DF

    #C787DF

    oklch(71.9% 0.141 316.4)

  • #7AB85C

    #7AB85C

    oklch(71.9% 0.14 136.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C787DF

    #C787DF

    oklch(71.9% 0.141 316.4)

  • #9E95F8

    #9E95F8

    oklch(71.8% 0.142 286.4)

  • #E27EB6

    #E27EB6

    oklch(71.9% 0.14 346.5)

Open the analogous palette in the generator

Split complementary

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

  • #C787DF

    #C787DF

    oklch(71.9% 0.141 316.4)

  • #B0A92A

    #B0A92A

    oklch(71.9% 0.14 106.2)

  • #25C091

    #25C091

    oklch(72% 0.141 166.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C787DF

    #C787DF

    oklch(71.9% 0.141 316.4)

  • #D69724

    #D69724

    oklch(72% 0.141 76.5)

  • #00BBBE

    #00BBBE

    oklch(71.8% 0.122 196.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C787DF

    #C787DF

    oklch(71.9% 0.141 316.4)

  • #EB8652

    #EB8652

    oklch(72% 0.141 46.8)

  • #7AB85C

    #7AB85C

    oklch(71.9% 0.14 136.3)

  • #00B5E6

    #00B5E6

    oklch(72% 0.138 226)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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