#C796F5

Closest named color: Baby Purple (#CA9BF7). oklch(75.5% 0.141 307), rgb(199, 150, 245).

Aa

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

About this color

#C796F5 is a medium-light, vivid purple. In OKLCH its lightness is 75%, its chroma 0.141 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.10:1.

Hue familyPurples
Lightnessmedium-light (75%)
Chromavivid (0.141)
Temperaturein between
Nearest nameBaby Purple (#CA9BF7)
Black text9.10:1
White text2.30:1

Values

HEX#C796F5
RGBrgb(199, 150, 245)
HSLhsl(271, 83%, 77%)
OKLCHoklch(75.5% 0.141 307)

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 #C796F5 2.30:1 Fails Lc -50.2 Large or bold text, headings
Black text on #C796F5 9.10:1 AAA Lc 58.6 Large or bold text, headings
#C796F5 text on white 2.30:1 Fails Lc 45.3 Large or bold text, headings
#C796F5 text on black 9.10:1 AAA Lc -56.8 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

    #F7F3FC

    oklch(97% 0.013 306)

  2. Step 100

    100

    #EEE6F8

    oklch(93.6% 0.025 305.8)

  3. Step 200

    200

    #E2D1F3

    oklch(88.5% 0.049 307.8)

  4. Step 300

    300

    #D0B2EE

    oklch(81% 0.089 307.2)

  5. Step 400

    400 (this color)

    #C796F5

    oklch(75.5% 0.141 307)

  6. Step 500

    500

    #A666DD

    oklch(63.1% 0.18 306.8)

  7. Step 600

    600

    #9249CB

    oklch(55.7% 0.197 306.9)

  8. Step 700

    700

    #7C39AF

    oklch(49.1% 0.182 306.9)

  9. Step 800

    800

    #65308E

    oklch(42.7% 0.152 307)

  10. Step 900

    900

    #522C71

    oklch(37.7% 0.117 307.1)

  11. Step 950

    950

    #301B42

    oklch(27% 0.073 307)

Export this scale for Tailwind in the Tailwind colors tool

#C796F5 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)#81A9F90.101
Deuteranopia (no green cones)#8CABF20.094
Tritanopia (no blue cones)#C1A5BA0.105
Achromatopsia (no color)#ABABAB0.142

Harmonies

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

Complementary

The opposite hue (180°).

  • #C796F5

    #C796F5

    oklch(75.5% 0.141 307)

  • #97C056

    #97C056

    oklch(75.6% 0.142 127.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C796F5

    #C796F5

    oklch(75.5% 0.141 307)

  • #9BA7FF

    #9BA7FF

    oklch(75.4% 0.127 277)

  • #E88BD0

    #E88BD0

    oklch(75.6% 0.141 337.2)

Open the analogous palette in the generator

Split complementary

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

  • #C796F5

    #C796F5

    oklch(75.5% 0.141 307)

  • #C9AF2F

    #C9AF2F

    oklch(75.5% 0.142 97)

  • #53CA8B

    #53CA8B

    oklch(75.5% 0.142 157.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C796F5

    #C796F5

    oklch(75.5% 0.141 307)

  • #EA9C3E

    #EA9C3E

    oklch(75.4% 0.141 67.3)

  • #00CABD

    #00CABD

    oklch(75.5% 0.132 186.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C796F5

    #C796F5

    oklch(75.5% 0.141 307)

  • #FB8D6D

    #FB8D6D

    oklch(75.5% 0.141 37.1)

  • #97C056

    #97C056

    oklch(75.6% 0.142 127.1)

  • #00C3E7

    #00C3E7

    oklch(75.4% 0.135 217.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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