#C798CB

Closest named color: Pale Purple (#B790D4). oklch(74% 0.089 323.8), rgb(199, 152, 203).

Aa

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

About this color

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

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

Values

HEX#C798CB
RGBrgb(199, 152, 203)
HSLhsl(295, 33%, 70%)
OKLCHoklch(74% 0.089 323.8)

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 #C798CB 2.39:1 Fails Lc -52.0 Large or bold text, headings
Black text on #C798CB 8.78:1 AAA Lc 56.9 Large or bold text, headings
#C798CB text on white 2.39:1 Fails Lc 47.1 Large or bold text, headings
#C798CB 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

    #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

    #D3B5D5

    oklch(80.9% 0.055 324.1)

  5. Step 400

    400 (this color)

    #C798CB

    oklch(74% 0.089 323.8)

  6. Step 500

    500

    #AB71B0

    oklch(63.1% 0.113 324)

  7. Step 600

    600

    #96589C

    oklch(55.6% 0.123 323.8)

  8. Step 700

    700

    #804885

    oklch(49.2% 0.114 324.1)

  9. Step 800

    800

    #683B6C

    oklch(42.7% 0.095 324.1)

  10. Step 900

    900

    #553358

    oklch(37.7% 0.075 324)

  11. Step 950

    950

    #321E33

    oklch(27% 0.047 325.1)

Export this scale for Tailwind in the Tailwind colors tool

#C798CB 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)#94A4CD0.077
Deuteranopia (no green cones)#9EAAC90.073
Tritanopia (no blue cones)#C99DAA0.054
Achromatopsia (no color)#A8A8A80.089

Harmonies

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

Complementary

The opposite hue (180°).

  • #C798CB

    #C798CB

    oklch(74% 0.089 323.8)

  • #89BA87

    #89BA87

    oklch(74.1% 0.089 143.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C798CB

    #C798CB

    oklch(74% 0.089 323.8)

  • #ADA0DE

    #ADA0DE

    oklch(73.9% 0.089 293.7)

  • #D894AF

    #D894AF

    oklch(74.1% 0.089 354)

Open the analogous palette in the generator

Split complementary

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

  • #C798CB

    #C798CB

    oklch(74% 0.089 323.8)

  • #AAB26F

    #AAB26F

    oklch(74.1% 0.09 114.2)

  • #6ABDA6

    #6ABDA6

    oklch(73.9% 0.089 173.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C798CB

    #C798CB

    oklch(74% 0.089 323.8)

  • #C6A668

    #C6A668

    oklch(74% 0.089 83.1)

  • #5FBBC4

    #5FBBC4

    oklch(73.9% 0.088 203.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C798CB

    #C798CB

    oklch(74% 0.089 323.8)

  • #D79C75

    #D79C75

    oklch(74% 0.088 54.4)

  • #89BA87

    #89BA87

    oklch(74.1% 0.089 143.7)

  • #70B5DA

    #70B5DA

    oklch(74.1% 0.088 233.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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