#C787CA

Closest named color: Pale Purple (#B790D4). oklch(71% 0.118 325.2), rgb(199, 135, 202).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (71%)
Chromamoderately saturated (0.118)
Temperaturein between
Nearest namePale Purple (#B790D4)
Black text7.74:1
White text2.71:1

Values

HEX#C787CA
RGBrgb(199, 135, 202)
HSLhsl(297, 39%, 66%)
OKLCHoklch(71% 0.118 325.2)

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 #C787CA 2.71:1 Fails Lc -57.6 Large or bold text, headings
Black text on #C787CA 7.74:1 AAA Lc 51.6 Large or bold text, headings
#C787CA text on white 2.71:1 Fails Lc 52.4 Large or bold text, headings
#C787CA text on black 7.74:1 AAA Lc -49.5 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

    #F9F3F9

    oklch(97% 0.01 325.7)

  2. Step 100

    100

    #F2E5F2

    oklch(93.6% 0.022 325.8)

  3. Step 200

    200

    #E8D0E8

    oklch(88.5% 0.042 325.9)

  4. Step 300

    300

    #DAB1DB

    oklch(81% 0.073 325.5)

  5. Step 400

    400 (this color)

    #C787CA

    oklch(71% 0.118 325.2)

  6. Step 500

    500

    #B665BB

    oklch(63% 0.152 325)

  7. Step 600

    600

    #A14AA7

    oklch(55.5% 0.165 325)

  8. Step 700

    700

    #8A3B8F

    oklch(49.1% 0.152 325.2)

  9. Step 800

    800

    #703174

    oklch(42.6% 0.127 325.2)

  10. Step 900

    900

    #5B2C5E

    oklch(37.7% 0.099 325.1)

  11. Step 950

    950

    #351B37

    oklch(27% 0.061 324.5)

Export this scale for Tailwind in the Tailwind colors tool

#C787CA 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)#8198CD0.108
Deuteranopia (no green cones)#91A0C80.099
Tritanopia (no blue cones)#CA8DA00.069
Achromatopsia (no color)#9D9D9D0.119

Harmonies

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

Complementary

The opposite hue (180°).

  • #C787CA

    #C787CA

    oklch(71% 0.118 325.2)

  • #70B573

    #70B573

    oklch(71% 0.118 145.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C787CA

    #C787CA

    oklch(71% 0.118 325.2)

  • #A792E3

    #A792E3

    oklch(71% 0.118 295.2)

  • #DB81A5

    #DB81A5

    oklch(71% 0.118 355.1)

Open the analogous palette in the generator

Split complementary

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

  • #C787CA

    #C787CA

    oklch(71% 0.118 325.2)

  • #9FAA4E

    #9FAA4E

    oklch(71% 0.118 115.1)

  • #38B99E

    #38B99E

    oklch(71% 0.118 175.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C787CA

    #C787CA

    oklch(71% 0.118 325.2)

  • #C39B40

    #C39B40

    oklch(70.9% 0.118 84.9)

  • #16B6C5

    #16B6C5

    oklch(71% 0.118 205.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C787CA

    #C787CA

    oklch(71% 0.118 325.2)

  • #DA8D55

    #DA8D55

    oklch(71.1% 0.118 55.5)

  • #70B573

    #70B573

    oklch(71% 0.118 145.2)

  • #4BADE1

    #4BADE1

    oklch(71.1% 0.118 235.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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