#C787DB

Closest named color: Pale Purple (#B790D4). oklch(71.8% 0.136 317.9), rgb(199, 135, 219).

Aa

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

About this color

#C787DB is a medium-light, moderately saturated purple. In OKLCH its lightness is 72%, its chroma 0.136 and its hue 318°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pale Purple (#B790D4), ΔE 0.035 away. Black text reads best on it, at 7.91:1.

Hue familyPurples
Lightnessmedium-light (72%)
Chromamoderately saturated (0.136)
Temperaturein between
Nearest namePale Purple (#B790D4)
Black text7.91:1
White text2.65:1

Values

HEX#C787DB
RGBrgb(199, 135, 219)
HSLhsl(286, 54%, 69%)
OKLCHoklch(71.8% 0.136 317.9)

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 #C787DB 2.65:1 Fails Lc -56.6 Large or bold text, headings
Black text on #C787DB 7.91:1 AAA Lc 52.6 Large or bold text, headings
#C787DB text on white 2.65:1 Fails Lc 51.5 Large or bold text, headings
#C787DB text on black 7.91:1 AAA Lc -50.4 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

    #F1E5F5

    oklch(93.6% 0.025 317.7)

  3. Step 200

    200

    #E7D0EE

    oklch(88.6% 0.047 318.3)

  4. Step 300

    300

    #D8B0E5

    oklch(81% 0.085 317.8)

  5. Step 400

    400 (this color)

    #C787DB

    oklch(71.8% 0.136 317.9)

  6. Step 500

    500

    #B461CD

    oklch(63.1% 0.176 317.9)

  7. Step 600

    600

    #9F44B9

    oklch(55.5% 0.19 318)

  8. Step 700

    700

    #8835A0

    oklch(49.1% 0.176 317.8)

  9. Step 800

    800

    #6E2D81

    oklch(42.6% 0.145 317.8)

  10. Step 900

    900

    #5A2A68

    oklch(37.8% 0.113 318.1)

  11. Step 950

    950

    #35193D

    oklch(27% 0.073 318.3)

Export this scale for Tailwind in the Tailwind colors tool

#C787DB 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)#7B9BDE0.115
Deuteranopia (no green cones)#8BA1D80.105
Tritanopia (no blue cones)#C792A70.090
Achromatopsia (no color)#9F9F9F0.137

Harmonies

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

Complementary

The opposite hue (180°).

  • #C787DB

    #C787DB

    oklch(71.8% 0.136 317.9)

  • #78B860

    #78B860

    oklch(71.9% 0.137 137.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C787DB

    #C787DB

    oklch(71.8% 0.136 317.9)

  • #A095F4

    #A095F4

    oklch(71.8% 0.136 287.8)

  • #E17EB3

    #E17EB3

    oklch(71.7% 0.137 347.8)

Open the analogous palette in the generator

Split complementary

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

  • #C787DB

    #C787DB

    oklch(71.8% 0.136 317.9)

  • #ADAA32

    #ADAA32

    oklch(71.9% 0.137 108)

  • #29BF93

    #29BF93

    oklch(71.9% 0.137 167.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C787DB

    #C787DB

    oklch(71.8% 0.136 317.9)

  • #D2982A

    #D2982A

    oklch(71.8% 0.137 78.3)

  • #00BBBF

    #00BBBF

    oklch(71.9% 0.122 197.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C787DB

    #C787DB

    oklch(71.8% 0.136 317.9)

  • #E88753

    #E88753

    oklch(71.8% 0.137 47.7)

  • #78B860

    #78B860

    oklch(71.9% 0.137 137.7)

  • #16B3E6

    #16B3E6

    oklch(71.7% 0.136 227.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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