#C79FFA

Closest named color: Pastel Purple (#CAA0FF). oklch(77.2% 0.133 303.7), rgb(199, 159, 250).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (77%)
Chromamoderately saturated (0.133)
Temperaturein between
Nearest namePastel Purple (#CAA0FF)
Black text9.76:1
White text2.14:1

Values

HEX#C79FFA
RGBrgb(199, 159, 250)
HSLhsl(266, 90%, 80%)
OKLCHoklch(77.2% 0.133 303.7)

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 #C79FFA 2.14:1 Fails Lc -46.8 Large or bold text, headings
Black text on #C79FFA 9.76:1 AAA Lc 61.8 Content text, not long reading
#C79FFA text on white 2.14:1 Fails Lc 42.1 Non-text elements, placeholder text
#C79FFA text on black 9.76:1 AAA Lc -60.1 Content text, not long reading

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

    #EFE4FF

    oklch(93.6% 0.038 304.1)

  3. Step 200

    200

    #E2CFFF

    oklch(88.5% 0.068 303.1)

  4. Step 300

    300 (this color)

    #C79FFA

    oklch(77.2% 0.133 303.7)

  5. Step 400

    400

    #BA7DFF

    oklch(70.6% 0.189 303.6)

  6. Step 500

    500

    #AB51FF

    oklch(63.1% 0.246 303.7)

  7. Step 600

    600

    #9B00F9

    oklch(55.7% 0.291 303.7)

  8. Step 700

    700

    #8200D3

    oklch(49.1% 0.257 303.5)

  9. Step 800

    800

    #6B00AF

    oklch(42.7% 0.224 303.5)

  10. Step 900

    900

    #57158B

    oklch(37.7% 0.177 303.8)

  11. Step 950

    950

    #331052

    oklch(27% 0.113 303.7)

Export this scale for Tailwind in the Tailwind colors tool

#C79FFA 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)#8AB0FE0.088
Deuteranopia (no green cones)#93B1F70.081
Tritanopia (no blue cones)#BFADC10.101
Achromatopsia (no color)#B1B1B10.133

Harmonies

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

Complementary

The opposite hue (180°).

  • #C79FFA

    #C79FFA

    oklch(77.2% 0.133 303.7)

  • #A4C35E

    #A4C35E

    oklch(77.2% 0.133 123.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C79FFA

    #C79FFA

    oklch(77.2% 0.133 303.7)

  • #9DAFFF

    #9DAFFF

    oklch(77.1% 0.117 273.7)

  • #E894D8

    #E894D8

    oklch(77.3% 0.132 334)

Open the analogous palette in the generator

Split complementary

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

  • #C79FFA

    #C79FFA

    oklch(77.2% 0.133 303.7)

  • #D1B343

    #D1B343

    oklch(77.3% 0.133 93.9)

  • #6ACE8D

    #6ACE8D

    oklch(77.4% 0.133 153.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C79FFA

    #C79FFA

    oklch(77.2% 0.133 303.7)

  • #F0A152

    #F0A152

    oklch(77.2% 0.133 63.5)

  • #1FD0BE

    #1FD0BE

    oklch(77.3% 0.133 183.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C79FFA

    #C79FFA

    oklch(77.2% 0.133 303.7)

  • #FE947C

    #FE947C

    oklch(77.3% 0.133 33.7)

  • #A4C35E

    #A4C35E

    oklch(77.2% 0.133 123.6)

  • #17CAE8

    #17CAE8

    oklch(77.2% 0.133 213.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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