#C798D2

Closest named color: Pale Purple (#B790D4). oklch(74.3% 0.096 319.9), rgb(199, 152, 210).

Aa

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

About this color

#C798D2 is a medium-light, moderately saturated purple. In OKLCH its lightness is 74%, its chroma 0.096 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.035 away. Black text reads best on it, at 8.85:1.

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

Values

HEX#C798D2
RGBrgb(199, 152, 210)
HSLhsl(289, 39%, 71%)
OKLCHoklch(74.3% 0.096 319.9)

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 #C798D2 2.37:1 Fails Lc -51.7 Large or bold text, headings
Black text on #C798D2 8.85:1 AAA Lc 57.3 Large or bold text, headings
#C798D2 text on white 2.37:1 Fails Lc 46.7 Large or bold text, headings
#C798D2 text on black 8.85:1 AAA Lc -55.3 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

    #E3D2E7

    oklch(88.4% 0.034 319.8)

  4. Step 300

    300

    #D2B5D9

    oklch(80.9% 0.059 319.7)

  5. Step 400

    400 (this color)

    #C798D2

    oklch(74.3% 0.096 319.9)

  6. Step 500

    500

    #AA6FB8

    oklch(63.1% 0.124 319.8)

  7. Step 600

    600

    #9556A4

    oklch(55.6% 0.135 319.7)

  8. Step 700

    700

    #7F468C

    oklch(49.1% 0.125 320)

  9. Step 800

    800

    #673A72

    oklch(42.7% 0.103 319.5)

  10. Step 900

    900

    #54325C

    oklch(37.6% 0.081 319.8)

  11. Step 950

    950

    #311E36

    oklch(27% 0.05 319.1)

Export this scale for Tailwind in the Tailwind colors tool

#C798D2 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)#92A5D40.080
Deuteranopia (no green cones)#9CAAD00.075
Tritanopia (no blue cones)#C89EAD0.061
Achromatopsia (no color)#A8A8A80.097

Harmonies

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

Complementary

The opposite hue (180°).

  • #C798D2

    #C798D2

    oklch(74.3% 0.096 319.9)

  • #8BBB80

    #8BBB80

    oklch(74.3% 0.097 139.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C798D2

    #C798D2

    oklch(74.3% 0.096 319.9)

  • #AAA2E5

    #AAA2E5

    oklch(74.4% 0.096 289.3)

  • #DA93B4

    #DA93B4

    oklch(74.3% 0.095 350.2)

Open the analogous palette in the generator

Split complementary

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

  • #C798D2

    #C798D2

    oklch(74.3% 0.096 319.9)

  • #AFB167

    #AFB167

    oklch(74.2% 0.097 109.9)

  • #67C0A2

    #67C0A2

    oklch(74.4% 0.097 169.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C798D2

    #C798D2

    oklch(74.3% 0.096 319.9)

  • #CCA562

    #CCA562

    oklch(74.3% 0.097 79.9)

  • #55BEC4

    #55BEC4

    oklch(74.3% 0.097 200.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C798D2

    #C798D2

    oklch(74.3% 0.096 319.9)

  • #DD9A74

    #DD9A74

    oklch(74.3% 0.096 50.3)

  • #8BBB80

    #8BBB80

    oklch(74.3% 0.097 139.8)

  • #66B7DD

    #66B7DD

    oklch(74.2% 0.096 230.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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