#C799F2

Closest named color: Baby Purple (#CA9BF7). oklch(75.8% 0.133 307.2), rgb(199, 153, 242).

Aa

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

About this color

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

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

Values

HEX#C799F2
RGBrgb(199, 153, 242)
HSLhsl(271, 77%, 77%)
OKLCHoklch(75.8% 0.133 307.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 #C799F2 2.26:1 Fails Lc -49.4 Large or bold text, headings
Black text on #C799F2 9.26:1 AAA Lc 59.4 Large or bold text, headings
#C799F2 text on white 2.26:1 Fails Lc 44.6 Non-text elements, placeholder text
#C799F2 text on black 9.26:1 AAA Lc -57.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 300.

  1. Step 50

    50

    #F8F3FF

    oklch(97.1% 0.017 304.8)

  2. Step 100

    100

    #F1E4FE

    oklch(93.7% 0.037 308)

  3. Step 200

    200

    #E6CDFF

    oklch(88.5% 0.073 307.6)

  4. Step 300

    300 (this color)

    #C799F2

    oklch(75.8% 0.133 307.2)

  5. Step 400

    400

    #C278FF

    oklch(70.7% 0.199 307.4)

  6. Step 500

    500

    #B348FF

    oklch(63.1% 0.258 307.1)

  7. Step 600

    600

    #A000F0

    oklch(55.6% 0.285 307.1)

  8. Step 700

    700

    #8700CB

    oklch(49% 0.252 307.2)

  9. Step 800

    800

    #6F00A9

    oklch(42.7% 0.219 307)

  10. Step 900

    900

    #5B1288

    oklch(37.7% 0.177 307.3)

  11. Step 950

    950

    #350F50

    oklch(27% 0.113 306.9)

Export this scale for Tailwind in the Tailwind colors tool

#C799F2 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)#87AAF50.093
Deuteranopia (no green cones)#91ADEF0.087
Tritanopia (no blue cones)#C1A6BA0.098
Achromatopsia (no color)#ACACAC0.133

Harmonies

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

Complementary

The opposite hue (180°).

  • #C799F2

    #C799F2

    oklch(75.8% 0.133 307.2)

  • #99C05F

    #99C05F

    oklch(75.8% 0.133 127.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C799F2

    #C799F2

    oklch(75.8% 0.133 307.2)

  • #9DA8FF

    #9DA8FF

    oklch(75.7% 0.125 277.5)

  • #E68ECF

    #E68ECF

    oklch(75.8% 0.134 337.1)

Open the analogous palette in the generator

Split complementary

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

  • #C799F2

    #C799F2

    oklch(75.8% 0.133 307.2)

  • #C8B03F

    #C8B03F

    oklch(75.7% 0.132 97)

  • #5DCA8F

    #5DCA8F

    oklch(75.9% 0.133 157.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C799F2

    #C799F2

    oklch(75.8% 0.133 307.2)

  • #E89F4A

    #E89F4A

    oklch(75.9% 0.132 67.4)

  • #00CBBF

    #00CBBF

    oklch(75.8% 0.132 187.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C799F2

    #C799F2

    oklch(75.8% 0.133 307.2)

  • #F89172

    #F89172

    oklch(75.9% 0.133 37.5)

  • #99C05F

    #99C05F

    oklch(75.8% 0.133 127.4)

  • #17C4E7

    #17C4E7

    oklch(75.8% 0.133 217.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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