#C798CE

Closest named color: Pale Purple (#B790D4). oklch(74.1% 0.092 322), rgb(199, 152, 206).

Aa

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

About this color

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

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

Values

HEX#C798CE
RGBrgb(199, 152, 206)
HSLhsl(292, 36%, 70%)
OKLCHoklch(74.1% 0.092 322)

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 #C798CE 2.38:1 Fails Lc -51.9 Large or bold text, headings
Black text on #C798CE 8.81:1 AAA Lc 57.1 Large or bold text, headings
#C798CE text on white 2.38:1 Fails Lc 46.9 Large or bold text, headings
#C798CE text on black 8.81: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

    #EFE6F1

    oklch(93.5% 0.018 320.1)

  3. Step 200

    200

    #E4D3E6

    oklch(88.6% 0.032 322.6)

  4. Step 300

    300

    #D3B5D7

    oklch(81% 0.057 322.3)

  5. Step 400

    400 (this color)

    #C798CE

    oklch(74.1% 0.092 322)

  6. Step 500

    500

    #AB70B3

    oklch(63.1% 0.118 322.6)

  7. Step 600

    600

    #96579F

    oklch(55.6% 0.128 322.4)

  8. Step 700

    700

    #7F4788

    oklch(49% 0.118 321.9)

  9. Step 800

    800

    #683B6F

    oklch(42.8% 0.099 322)

  10. Step 900

    900

    #54335A

    oklch(37.7% 0.076 321.3)

  11. Step 950

    950

    #311E34

    oklch(26.9% 0.048 321.9)

Export this scale for Tailwind in the Tailwind colors tool

#C798CE 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)#93A4D00.078
Deuteranopia (no green cones)#9DAACC0.074
Tritanopia (no blue cones)#C99DAB0.057
Achromatopsia (no color)#A8A8A80.093

Harmonies

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

Complementary

The opposite hue (180°).

  • #C798CE

    #C798CE

    oklch(74.1% 0.092 322)

  • #8ABA84

    #8ABA84

    oklch(74.1% 0.092 141.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C798CE

    #C798CE

    oklch(74.1% 0.092 322)

  • #ACA1E1

    #ACA1E1

    oklch(74.2% 0.092 291.9)

  • #D993B1

    #D993B1

    oklch(74.1% 0.092 352.2)

Open the analogous palette in the generator

Split complementary

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

  • #C798CE

    #C798CE

    oklch(74.1% 0.092 322)

  • #ACB16C

    #ACB16C

    oklch(74% 0.091 112)

  • #69BEA5

    #69BEA5

    oklch(74.1% 0.091 172.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C798CE

    #C798CE

    oklch(74.1% 0.092 322)

  • #C8A666

    #C8A666

    oklch(74.2% 0.092 82.3)

  • #5BBDC4

    #5BBDC4

    oklch(74.2% 0.092 201.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C798CE

    #C798CE

    oklch(74.1% 0.092 322)

  • #DA9B75

    #DA9B75

    oklch(74.2% 0.092 51.9)

  • #8ABA84

    #8ABA84

    oklch(74.1% 0.092 141.8)

  • #6CB6DC

    #6CB6DC

    oklch(74.2% 0.092 232.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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