#C79CEF

Closest named color: Baby Purple (#CA9BF7). oklch(76.2% 0.124 307.4), rgb(199, 156, 239).

Aa

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

About this color

#C79CEF is a medium-light, moderately saturated purple. In OKLCH its lightness is 76%, its chroma 0.124 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.013 away. Black text reads best on it, at 9.43:1.

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

Values

HEX#C79CEF
RGBrgb(199, 156, 239)
HSLhsl(271, 72%, 77%)
OKLCHoklch(76.2% 0.124 307.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 #C79CEF 2.22:1 Fails Lc -48.6 Large or bold text, headings
Black text on #C79CEF 9.43:1 AAA Lc 60.2 Content text, not long reading
#C79CEF text on white 2.22:1 Fails Lc 43.8 Non-text elements, placeholder text
#C79CEF text on black 9.43:1 AAA Lc -58.4 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

    #F8F3FE

    oklch(97.1% 0.015 306.4)

  2. Step 100

    100

    #F0E4FD

    oklch(93.6% 0.036 307.2)

  3. Step 200

    200

    #E5CEFD

    oklch(88.5% 0.068 307.2)

  4. Step 300

    300 (this color)

    #C79CEF

    oklch(76.2% 0.124 307.4)

  5. Step 400

    400

    #C278FF

    oklch(70.7% 0.199 307.4)

  6. Step 500

    500

    #B34AFD

    oklch(63.1% 0.254 307.3)

  7. Step 600

    600

    #9F15EC

    oklch(55.6% 0.276 307.3)

  8. Step 700

    700

    #8800CB

    oklch(49.2% 0.252 307.6)

  9. Step 800

    800

    #6F0AA6

    oklch(42.8% 0.213 307.5)

  10. Step 900

    900

    #591983

    oklch(37.6% 0.165 307.4)

  11. Step 950

    950

    #34124D

    oklch(27% 0.105 307.1)

Export this scale for Tailwind in the Tailwind colors tool

#C79CEF 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)#8BACF20.087
Deuteranopia (no green cones)#95AEED0.080
Tritanopia (no blue cones)#C2A8BB0.091
Achromatopsia (no color)#AEAEAE0.125

Harmonies

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

Complementary

The opposite hue (180°).

  • #C79CEF

    #C79CEF

    oklch(76.2% 0.124 307.4)

  • #9CC167

    #9CC167

    oklch(76.3% 0.125 127.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C79CEF

    #C79CEF

    oklch(76.2% 0.124 307.4)

  • #9FAAFF

    #9FAAFF

    oklch(76.3% 0.122 277.4)

  • #E492CE

    #E492CE

    oklch(76.2% 0.124 337.3)

Open the analogous palette in the generator

Split complementary

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

  • #C79CEF

    #C79CEF

    oklch(76.2% 0.124 307.4)

  • #C7B24C

    #C7B24C

    oklch(76.2% 0.124 97.7)

  • #66C992

    #66C992

    oklch(76.1% 0.124 157.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C79CEF

    #C79CEF

    oklch(76.2% 0.124 307.4)

  • #E6A254

    #E6A254

    oklch(76.3% 0.124 67.7)

  • #2ECBC0

    #2ECBC0

    oklch(76.3% 0.124 187.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C79CEF

    #C79CEF

    oklch(76.2% 0.124 307.4)

  • #F59578

    #F59578

    oklch(76.3% 0.123 37.6)

  • #9CC167

    #9CC167

    oklch(76.3% 0.125 127.4)

  • #36C4E5

    #36C4E5

    oklch(76.1% 0.124 217.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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