#C799EE

Closest named color: Baby Purple (#CA9BF7). oklch(75.7% 0.128 308.4), rgb(199, 153, 238).

Aa

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

About this color

#C799EE is a medium-light, moderately saturated purple. In OKLCH its lightness is 76%, its chroma 0.128 and its hue 308°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Baby Purple (#CA9BF7), ΔE 0.014 away. Black text reads best on it, at 9.21:1.

Hue familyPurples
Lightnessmedium-light (76%)
Chromamoderately saturated (0.128)
Temperaturein between
Nearest nameBaby Purple (#CA9BF7)
Black text9.21:1
White text2.27:1

Values

HEX#C799EE
RGBrgb(199, 153, 238)
HSLhsl(272, 71%, 77%)
OKLCHoklch(75.7% 0.128 308.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 #C799EE 2.27:1 Fails Lc -49.7 Large or bold text, headings
Black text on #C799EE 9.21:1 AAA Lc 59.2 Large or bold text, headings
#C799EE text on white 2.27:1 Fails Lc 44.8 Non-text elements, placeholder text
#C799EE text on black 9.21:1 AAA Lc -57.3 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

    #F7F4FB

    oklch(97.1% 0.01 305.4)

  2. Step 100

    100

    #EEE6F6

    oklch(93.6% 0.023 308.2)

  3. Step 200

    200

    #E1D2F0

    oklch(88.5% 0.044 307.9)

  4. Step 300

    300

    #CFB3E9

    oklch(80.9% 0.08 308.2)

  5. Step 400

    400 (this color)

    #C799EE

    oklch(75.7% 0.128 308.4)

  6. Step 500

    500

    #A56AD4

    oklch(63.1% 0.163 308.1)

  7. Step 600

    600

    #914EC1

    oklch(55.6% 0.178 308.6)

  8. Step 700

    700

    #7B3EA7

    oklch(49.1% 0.166 308.2)

  9. Step 800

    800

    #643487

    oklch(42.6% 0.137 308.3)

  10. Step 900

    900

    #522F6C

    oklch(37.8% 0.106 308.7)

  11. Step 950

    950

    #301C3F

    oklch(27% 0.067 309)

Export this scale for Tailwind in the Tailwind colors tool

#C799EE 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)#88AAF10.092
Deuteranopia (no green cones)#92ACEC0.085
Tritanopia (no blue cones)#C2A5B90.092
Achromatopsia (no color)#ACACAC0.128

Harmonies

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

Complementary

The opposite hue (180°).

  • #C799EE

    #C799EE

    oklch(75.7% 0.128 308.4)

  • #98BF64

    #98BF64

    oklch(75.6% 0.127 128.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C799EE

    #C799EE

    oklch(75.7% 0.128 308.4)

  • #9EA7FF

    #9EA7FF

    oklch(75.6% 0.127 278.5)

  • #E48FCC

    #E48FCC

    oklch(75.6% 0.128 338)

Open the analogous palette in the generator

Split complementary

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

  • #C799EE

    #C799EE

    oklch(75.7% 0.128 308.4)

  • #C5B145

    #C5B145

    oklch(75.7% 0.129 98.7)

  • #5FC891

    #5FC891

    oklch(75.6% 0.127 158.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C799EE

    #C799EE

    oklch(75.7% 0.128 308.4)

  • #E5A04D

    #E5A04D

    oklch(75.7% 0.128 68.6)

  • #1BCAC0

    #1BCAC0

    oklch(75.8% 0.128 188.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C799EE

    #C799EE

    oklch(75.7% 0.128 308.4)

  • #F59273

    #F59273

    oklch(75.7% 0.128 38.2)

  • #98BF64

    #98BF64

    oklch(75.6% 0.127 128.2)

  • #2BC3E6

    #2BC3E6

    oklch(75.7% 0.128 218.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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