#C797D2

Closest named color: Pale Purple (#B790D4). oklch(74.1% 0.098 320), rgb(199, 151, 210).

Aa

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

About this color

#C797D2 is a medium-light, moderately saturated purple. In OKLCH its lightness is 74%, its chroma 0.098 and its hue 320°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pale Purple (#B790D4), ΔE 0.033 away. Black text reads best on it, at 8.78:1.

Hue familyPurples
Lightnessmedium-light (74%)
Chromamoderately saturated (0.098)
Temperaturein between
Nearest namePale Purple (#B790D4)
Black text8.78:1
White text2.39:1

Values

HEX#C797D2
RGBrgb(199, 151, 210)
HSLhsl(289, 40%, 71%)
OKLCHoklch(74.1% 0.098 320)

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 #C797D2 2.39:1 Fails Lc -52.0 Large or bold text, headings
Black text on #C797D2 8.78:1 AAA Lc 57.0 Large or bold text, headings
#C797D2 text on white 2.39:1 Fails Lc 47.0 Large or bold text, headings
#C797D2 text on black 8.78:1 AAA Lc -55.0 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

    #F8F4F9

    oklch(97.2% 0.008 319.4)

  2. Step 100

    100

    #EFE6F1

    oklch(93.5% 0.018 320.1)

  3. Step 200

    200

    #E4D2E7

    oklch(88.5% 0.034 321.4)

  4. Step 300

    300

    #D3B4DA

    oklch(80.9% 0.062 320)

  5. Step 400

    400 (this color)

    #C797D2

    oklch(74.1% 0.098 320)

  6. Step 500

    500

    #AB6FB8

    oklch(63.2% 0.125 320.3)

  7. Step 600

    600

    #9655A4

    oklch(55.6% 0.137 320.3)

  8. Step 700

    700

    #80458D

    oklch(49.1% 0.128 320.2)

  9. Step 800

    800

    #683972

    oklch(42.6% 0.106 320.4)

  10. Step 900

    900

    #54325C

    oklch(37.6% 0.081 319.8)

  11. Step 950

    950

    #321E36

    oklch(27.2% 0.051 320.8)

Export this scale for Tailwind in the Tailwind colors tool

#C797D2 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)#90A4D40.082
Deuteranopia (no green cones)#9BA9D00.076
Tritanopia (no blue cones)#C89DAC0.063
Achromatopsia (no color)#A8A8A80.099

Harmonies

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

Complementary

The opposite hue (180°).

  • #C797D2

    #C797D2

    oklch(74.1% 0.098 320)

  • #8ABB7F

    #8ABB7F

    oklch(74.2% 0.099 139.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C797D2

    #C797D2

    oklch(74.1% 0.098 320)

  • #AAA1E5

    #AAA1E5

    oklch(74.2% 0.097 289.9)

  • #DB91B4

    #DB91B4

    oklch(74.1% 0.099 349.9)

Open the analogous palette in the generator

Split complementary

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

  • #C797D2

    #C797D2

    oklch(74.1% 0.098 320)

  • #AFB165

    #AFB165

    oklch(74.2% 0.099 109.9)

  • #65BFA2

    #65BFA2

    oklch(74% 0.097 170.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C797D2

    #C797D2

    oklch(74.1% 0.098 320)

  • #CCA460

    #CCA460

    oklch(74.1% 0.098 79.6)

  • #52BEC4

    #52BEC4

    oklch(74.1% 0.098 200.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C797D2

    #C797D2

    oklch(74.1% 0.098 320)

  • #DE9972

    #DE9972

    oklch(74.2% 0.099 50.2)

  • #8ABB7F

    #8ABB7F

    oklch(74.2% 0.099 139.9)

  • #64B7DD

    #64B7DD

    oklch(74.2% 0.098 229.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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