#C798CF

Closest named color: Pale Purple (#B790D4). oklch(74.2% 0.093 321.5), rgb(199, 152, 207).

Aa

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

About this color

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

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

Values

HEX#C798CF
RGBrgb(199, 152, 207)
HSLhsl(291, 36%, 70%)
OKLCHoklch(74.2% 0.093 321.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 #C798CF 2.38:1 Fails Lc -51.8 Large or bold text, headings
Black text on #C798CF 8.82:1 AAA Lc 57.1 Large or bold text, headings
#C798CF text on white 2.38:1 Fails Lc 46.9 Large or bold text, headings
#C798CF text on black 8.82:1 AAA Lc -55.2 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

    #E3D3E6

    oklch(88.5% 0.031 320.9)

  4. Step 300

    300

    #D3B5D8

    oklch(81% 0.058 321.5)

  5. Step 400

    400 (this color)

    #C798CF

    oklch(74.2% 0.093 321.5)

  6. Step 500

    500

    #AA70B5

    oklch(63.1% 0.119 321)

  7. Step 600

    600

    #9557A0

    oklch(55.5% 0.129 321.4)

  8. Step 700

    700

    #7F4789

    oklch(49.1% 0.12 321.4)

  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

    #311E35

    oklch(27% 0.049 320.5)

Export this scale for Tailwind in the Tailwind colors tool

#C798CF 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)#93A5D10.079
Deuteranopia (no green cones)#9DAACD0.074
Tritanopia (no blue cones)#C99EAB0.060
Achromatopsia (no color)#A8A8A80.094

Harmonies

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

Complementary

The opposite hue (180°).

  • #C798CF

    #C798CF

    oklch(74.2% 0.093 321.5)

  • #8ABB83

    #8ABB83

    oklch(74.3% 0.094 141.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C798CF

    #C798CF

    oklch(74.2% 0.093 321.5)

  • #ACA1E2

    #ACA1E2

    oklch(74.2% 0.093 291.7)

  • #D993B2

    #D993B2

    oklch(74.2% 0.093 351.4)

Open the analogous palette in the generator

Split complementary

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

  • #C798CF

    #C798CF

    oklch(74.2% 0.093 321.5)

  • #ADB16B

    #ADB16B

    oklch(74.1% 0.092 111.3)

  • #69BFA4

    #69BFA4

    oklch(74.3% 0.093 171.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C798CF

    #C798CF

    oklch(74.2% 0.093 321.5)

  • #C9A665

    #C9A665

    oklch(74.2% 0.093 82)

  • #5ABDC4

    #5ABDC4

    oklch(74.2% 0.093 201.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C798CF

    #C798CF

    oklch(74.2% 0.093 321.5)

  • #DB9B74

    #DB9B74

    oklch(74.3% 0.093 52.2)

  • #8ABB83

    #8ABB83

    oklch(74.3% 0.094 141.5)

  • #6AB6DC

    #6AB6DC

    oklch(74.2% 0.093 231.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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