#C797D3

Closest named color: Pale Purple (#B790D4). oklch(74.2% 0.099 319.5), rgb(199, 151, 211).

Aa

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

About this color

#C797D3 is a medium-light, moderately saturated purple. In OKLCH its lightness is 74%, its chroma 0.099 and its hue 319°. 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.79:1.

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

Values

HEX#C797D3
RGBrgb(199, 151, 211)
HSLhsl(288, 41%, 71%)
OKLCHoklch(74.2% 0.099 319.5)

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 #C797D3 2.38:1 Fails Lc -51.9 Large or bold text, headings
Black text on #C797D3 8.79:1 AAA Lc 57.0 Large or bold text, headings
#C797D3 text on white 2.38:1 Fails Lc 47.0 Large or bold text, headings
#C797D3 text on black 8.79:1 AAA Lc -55.1 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

    #EFE6F2

    oklch(93.5% 0.019 317.7)

  3. Step 200

    200

    #E3D2E8

    oklch(88.4% 0.035 318.5)

  4. Step 300

    300

    #D3B4DA

    oklch(80.9% 0.062 320)

  5. Step 400

    400 (this color)

    #C797D3

    oklch(74.2% 0.099 319.5)

  6. Step 500

    500

    #AB6FB9

    oklch(63.2% 0.126 319.9)

  7. Step 600

    600

    #9655A5

    oklch(55.6% 0.138 319.9)

  8. Step 700

    700

    #7F458E

    oklch(49.1% 0.129 319.1)

  9. Step 800

    800

    #683973

    oklch(42.7% 0.107 319.8)

  10. Step 900

    900

    #54325D

    oklch(37.7% 0.082 319)

  11. Step 950

    950

    #311D36

    oklch(26.8% 0.053 319.4)

Export this scale for Tailwind in the Tailwind colors tool

#C797D3 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)#90A4D50.082
Deuteranopia (no green cones)#9BA9D10.076
Tritanopia (no blue cones)#C89DAC0.064
Achromatopsia (no color)#A8A8A80.100

Harmonies

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

Complementary

The opposite hue (180°).

  • #C797D3

    #C797D3

    oklch(74.2% 0.099 319.5)

  • #8ABB7E

    #8ABB7E

    oklch(74.2% 0.1 139.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C797D3

    #C797D3

    oklch(74.2% 0.099 319.5)

  • #AAA1E6

    #AAA1E6

    oklch(74.2% 0.099 289.7)

  • #DB91B5

    #DB91B5

    oklch(74.1% 0.1 349.2)

Open the analogous palette in the generator

Split complementary

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

  • #C797D3

    #C797D3

    oklch(74.2% 0.099 319.5)

  • #B0B164

    #B0B164

    oklch(74.2% 0.1 109.3)

  • #64C0A1

    #64C0A1

    oklch(74.2% 0.1 169.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C797D3

    #C797D3

    oklch(74.2% 0.099 319.5)

  • #CDA45F

    #CDA45F

    oklch(74.2% 0.1 79.3)

  • #51BEC3

    #51BEC3

    oklch(74.1% 0.099 199.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C797D3

    #C797D3

    oklch(74.2% 0.099 319.5)

  • #DF9972

    #DF9972

    oklch(74.3% 0.1 49.8)

  • #8ABB7E

    #8ABB7E

    oklch(74.2% 0.1 139.5)

  • #62B7DE

    #62B7DE

    oklch(74.1% 0.1 229.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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