#C796E7

Closest named color: Baby Purple (#CA9BF7). oklch(74.8% 0.124 311.3), rgb(199, 150, 231).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (75%)
Chromamoderately saturated (0.124)
Temperaturein between
Nearest nameBaby Purple (#CA9BF7)
Black text8.94:1
White text2.34:1

Values

HEX#C796E7
RGBrgb(199, 150, 231)
HSLhsl(276, 63%, 75%)
OKLCHoklch(74.8% 0.124 311.3)

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 #C796E7 2.34:1 Fails Lc -51.1 Large or bold text, headings
Black text on #C796E7 8.94:1 AAA Lc 57.8 Large or bold text, headings
#C796E7 text on white 2.34:1 Fails Lc 46.2 Large or bold text, headings
#C796E7 text on black 8.94:1 AAA Lc -55.9 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

    #F8F4FB

    oklch(97.2% 0.01 311.2)

  2. Step 100

    100

    #EFE6F5

    oklch(93.6% 0.022 312.2)

  3. Step 200

    200

    #E2D2EF

    oklch(88.6% 0.043 310.1)

  4. Step 300

    300

    #D1B3E6

    oklch(80.9% 0.077 311.2)

  5. Step 400

    400 (this color)

    #C796E7

    oklch(74.8% 0.124 311.3)

  6. Step 500

    500

    #A869CF

    oklch(63% 0.16 311.1)

  7. Step 600

    600

    #944EBC

    oklch(55.6% 0.174 311.4)

  8. Step 700

    700

    #7E3EA2

    oklch(49.1% 0.162 311.4)

  9. Step 800

    800

    #663483

    oklch(42.6% 0.133 311.2)

  10. Step 900

    900

    #532E69

    oklch(37.6% 0.104 311.3)

  11. Step 950

    950

    #311C3E

    oklch(27.1% 0.066 311.2)

Export this scale for Tailwind in the Tailwind colors tool

#C796E7 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)#88A7EA0.093
Deuteranopia (no green cones)#93AAE50.086
Tritanopia (no blue cones)#C4A1B40.088
Achromatopsia (no color)#A9A9A90.125

Harmonies

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

Complementary

The opposite hue (180°).

  • #C796E7

    #C796E7

    oklch(74.8% 0.124 311.3)

  • #91BE68

    #91BE68

    oklch(74.9% 0.125 131.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C796E7

    #C796E7

    oklch(74.8% 0.124 311.3)

  • #A0A3FA

    #A0A3FA

    oklch(74.8% 0.125 281.4)

  • #E38DC4

    #E38DC4

    oklch(74.9% 0.124 341.7)

Open the analogous palette in the generator

Split complementary

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

  • #C796E7

    #C796E7

    oklch(74.8% 0.124 311.3)

  • #BEB048

    #BEB048

    oklch(74.9% 0.125 101.7)

  • #59C694

    #59C694

    oklch(74.9% 0.125 161.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C796E7

    #C796E7

    oklch(74.8% 0.124 311.3)

  • #DE9F4C

    #DE9F4C

    oklch(74.8% 0.124 71.3)

  • #1EC6C1

    #1EC6C1

    oklch(74.9% 0.124 191.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C796E7

    #C796E7

    oklch(74.8% 0.124 311.3)

  • #EF916E

    #EF916E

    oklch(74.7% 0.124 41.1)

  • #91BE68

    #91BE68

    oklch(74.9% 0.125 131.4)

  • #36BFE5

    #36BFE5

    oklch(74.9% 0.124 221.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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