#C787DD

Closest named color: Pale Purple (#B790D4). oklch(71.8% 0.139 317.1), rgb(199, 135, 221).

Aa

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

About this color

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

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

Values

HEX#C787DD
RGBrgb(199, 135, 221)
HSLhsl(285, 56%, 70%)
OKLCHoklch(71.8% 0.139 317.1)

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 #C787DD 2.64:1 Fails Lc -56.5 Large or bold text, headings
Black text on #C787DD 7.93:1 AAA Lc 52.7 Large or bold text, headings
#C787DD text on white 2.64:1 Fails Lc 51.3 Large or bold text, headings
#C787DD text on black 7.93:1 AAA Lc -50.6 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

    #E6D0EF

    oklch(88.5% 0.048 316.2)

  4. Step 300

    300

    #D8B0E6

    oklch(81% 0.086 317.2)

  5. Step 400

    400 (this color)

    #C787DD

    oklch(71.8% 0.139 317.1)

  6. Step 500

    500

    #B361CF

    oklch(63.1% 0.177 316.9)

  7. Step 600

    600

    #9F44BC

    oklch(55.7% 0.193 317.1)

  8. Step 700

    700

    #8834A2

    oklch(49.1% 0.18 317.2)

  9. Step 800

    800

    #6E2D83

    oklch(42.7% 0.147 317)

  10. Step 900

    900

    #592969

    oklch(37.6% 0.116 316.9)

  11. Step 950

    950

    #34193E

    oklch(27% 0.074 316.2)

Export this scale for Tailwind in the Tailwind colors tool

#C787DD 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)#7A9BE00.116
Deuteranopia (no green cones)#8AA1DA0.106
Tritanopia (no blue cones)#C792A80.091
Achromatopsia (no color)#9F9F9F0.140

Harmonies

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

Complementary

The opposite hue (180°).

  • #C787DD

    #C787DD

    oklch(71.8% 0.139 317.1)

  • #79B85E

    #79B85E

    oklch(71.9% 0.139 137)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C787DD

    #C787DD

    oklch(71.8% 0.139 317.1)

  • #9F95F6

    #9F95F6

    oklch(71.8% 0.139 287.1)

  • #E27EB5

    #E27EB5

    oklch(71.9% 0.139 347)

Open the analogous palette in the generator

Split complementary

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

  • #C787DD

    #C787DD

    oklch(71.8% 0.139 317.1)

  • #AEA92E

    #AEA92E

    oklch(71.7% 0.138 107.1)

  • #27BF92

    #27BF92

    oklch(71.8% 0.138 167.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C787DD

    #C787DD

    oklch(71.8% 0.139 317.1)

  • #D49727

    #D49727

    oklch(71.8% 0.139 77.1)

  • #00BBBE

    #00BBBE

    oklch(71.8% 0.122 196.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C787DD

    #C787DD

    oklch(71.8% 0.139 317.1)

  • #E98653

    #E98653

    oklch(71.7% 0.138 46.9)

  • #79B85E

    #79B85E

    oklch(71.9% 0.139 137)

  • #02B4E7

    #02B4E7

    oklch(71.8% 0.139 227.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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