#C798CC

Closest named color: Pale Purple (#B790D4). oklch(74.1% 0.09 323.2), rgb(199, 152, 204).

Aa

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

About this color

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

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

Values

HEX#C798CC
RGBrgb(199, 152, 204)
HSLhsl(294, 34%, 70%)
OKLCHoklch(74.1% 0.09 323.2)

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

    #F8F4F8

    oklch(97.1% 0.007 325.6)

  2. Step 100

    100

    #EFE6F0

    oklch(93.5% 0.016 322.7)

  3. Step 200

    200

    #E4D3E5

    oklch(88.6% 0.03 324.2)

  4. Step 300

    300

    #D3B5D6

    oklch(80.9% 0.056 323.2)

  5. Step 400

    400 (this color)

    #C798CC

    oklch(74.1% 0.09 323.2)

  6. Step 500

    500

    #AB71B1

    oklch(63.2% 0.114 323.5)

  7. Step 600

    600

    #96589D

    oklch(55.7% 0.124 323.3)

  8. Step 700

    700

    #804786

    oklch(49.1% 0.117 323.6)

  9. Step 800

    800

    #683B6D

    oklch(42.7% 0.096 323.4)

  10. Step 900

    900

    #553358

    oklch(37.7% 0.075 324)

  11. Step 950

    950

    #321E34

    oklch(27% 0.048 323.6)

Export this scale for Tailwind in the Tailwind colors tool

#C798CC 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)#93A4CE0.078
Deuteranopia (no green cones)#9EAACA0.073
Tritanopia (no blue cones)#C99DAA0.056
Achromatopsia (no color)#A8A8A80.090

Harmonies

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

Complementary

The opposite hue (180°).

  • #C798CC

    #C798CC

    oklch(74.1% 0.09 323.2)

  • #89BA86

    #89BA86

    oklch(74% 0.09 143.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C798CC

    #C798CC

    oklch(74.1% 0.09 323.2)

  • #ADA1DF

    #ADA1DF

    oklch(74.2% 0.089 293)

  • #D893B0

    #D893B0

    oklch(74% 0.091 352.7)

Open the analogous palette in the generator

Split complementary

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

  • #C798CC

    #C798CC

    oklch(74.1% 0.09 323.2)

  • #ABB16E

    #ABB16E

    oklch(74% 0.089 112.7)

  • #6ABEA6

    #6ABEA6

    oklch(74.1% 0.09 173.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C798CC

    #C798CC

    oklch(74.1% 0.09 323.2)

  • #C7A667

    #C7A667

    oklch(74.1% 0.09 82.7)

  • #5EBCC4

    #5EBCC4

    oklch(74.1% 0.09 202.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C798CC

    #C798CC

    oklch(74.1% 0.09 323.2)

  • #D89B75

    #D89B75

    oklch(73.9% 0.09 52.8)

  • #89BA86

    #89BA86

    oklch(74% 0.09 143.2)

  • #6EB5DB

    #6EB5DB

    oklch(74.1% 0.09 233.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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