#C787DC

Closest named color: Pale Purple (#B790D4). oklch(71.8% 0.138 317.5), rgb(199, 135, 220).

Aa

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

About this color

#C787DC is a medium-light, moderately saturated purple. In OKLCH its lightness is 72%, its chroma 0.138 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.036 away. Black text reads best on it, at 7.92:1.

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

Values

HEX#C787DC
RGBrgb(199, 135, 220)
HSLhsl(285, 55%, 70%)
OKLCHoklch(71.8% 0.138 317.5)

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 #C787DC 2.64:1 Fails Lc -56.6 Large or bold text, headings
Black text on #C787DC 7.92:1 AAA Lc 52.6 Large or bold text, headings
#C787DC text on white 2.64:1 Fails Lc 51.4 Large or bold text, headings
#C787DC text on black 7.92:1 AAA Lc -50.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

    #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)

    #C787DC

    oklch(71.8% 0.138 317.5)

  6. Step 500

    500

    #B461CE

    oklch(63.1% 0.177 317.6)

  7. Step 600

    600

    #9F44BA

    oklch(55.6% 0.191 317.7)

  8. Step 700

    700

    #8835A1

    oklch(49.2% 0.177 317.5)

  9. Step 800

    800

    #6E2D82

    oklch(42.7% 0.146 317.4)

  10. Step 900

    900

    #5A2A69

    oklch(37.9% 0.115 317.5)

  11. Step 950

    950

    #35193D

    oklch(27% 0.073 318.3)

Export this scale for Tailwind in the Tailwind colors tool

#C787DC 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)#7A9BDF0.116
Deuteranopia (no green cones)#8AA1D90.106
Tritanopia (no blue cones)#C792A70.091
Achromatopsia (no color)#9F9F9F0.138

Harmonies

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

Complementary

The opposite hue (180°).

  • #C787DC

    #C787DC

    oklch(71.8% 0.138 317.5)

  • #78B85F

    #78B85F

    oklch(71.8% 0.138 137.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C787DC

    #C787DC

    oklch(71.8% 0.138 317.5)

  • #A095F5

    #A095F5

    oklch(71.9% 0.138 287.7)

  • #E17EB4

    #E17EB4

    oklch(71.7% 0.137 347.2)

Open the analogous palette in the generator

Split complementary

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

  • #C787DC

    #C787DC

    oklch(71.8% 0.138 317.5)

  • #ADA930

    #ADA930

    oklch(71.7% 0.137 107.5)

  • #28BF93

    #28BF93

    oklch(71.9% 0.137 167.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C787DC

    #C787DC

    oklch(71.8% 0.138 317.5)

  • #D39729

    #D39729

    oklch(71.7% 0.137 77.3)

  • #00BBBF

    #00BBBF

    oklch(71.9% 0.122 197.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C787DC

    #C787DC

    oklch(71.8% 0.138 317.5)

  • #E98753

    #E98753

    oklch(71.9% 0.138 47.5)

  • #78B85F

    #78B85F

    oklch(71.8% 0.138 137.5)

  • #0EB4E7

    #0EB4E7

    oklch(71.9% 0.138 227.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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