#C798DE

Closest named color: Pale Purple (#B790D4). oklch(74.8% 0.11 314.3), rgb(199, 152, 222).

Aa

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

About this color

#C798DE is a medium-light, moderately saturated purple. In OKLCH its lightness is 75%, its chroma 0.110 and its hue 314°. 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.97:1.

Hue familyPurples
Lightnessmedium-light (75%)
Chromamoderately saturated (0.110)
Temperaturein between
Nearest namePale Purple (#B790D4)
Black text8.97:1
White text2.33:1

Values

HEX#C798DE
RGBrgb(199, 152, 222)
HSLhsl(280, 51%, 73%)
OKLCHoklch(74.8% 0.11 314.3)

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 #C798DE 2.33:1 Fails Lc -51.0 Large or bold text, headings
Black text on #C798DE 8.97:1 AAA Lc 57.9 Large or bold text, headings
#C798DE text on white 2.33:1 Fails Lc 46.1 Large or bold text, headings
#C798DE text on black 8.97:1 AAA Lc -56.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

    #F8F4FA

    oklch(97.2% 0.009 314.8)

  2. Step 100

    100

    #EFE6F3

    oklch(93.6% 0.02 315.7)

  3. Step 200

    200

    #E3D2EB

    oklch(88.5% 0.038 315.1)

  4. Step 300

    300

    #D1B4E0

    oklch(80.9% 0.068 314.1)

  5. Step 400

    400 (this color)

    #C798DE

    oklch(74.8% 0.11 314.3)

  6. Step 500

    500

    #A86DC4

    oklch(63.1% 0.14 314.2)

  7. Step 600

    600

    #9353B1

    oklch(55.6% 0.153 313.9)

  8. Step 700

    700

    #7E4398

    oklch(49.2% 0.143 314.4)

  9. Step 800

    800

    #66387B

    oklch(42.7% 0.117 314.2)

  10. Step 900

    900

    #533163

    oklch(37.7% 0.091 314.1)

  11. Step 950

    950

    #311D3A

    oklch(27% 0.058 314.7)

Export this scale for Tailwind in the Tailwind colors tool

#C798DE 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)#8DA7E10.086
Deuteranopia (no green cones)#98ABDC0.080
Tritanopia (no blue cones)#C6A1B10.077
Achromatopsia (no color)#A9A9A90.111

Harmonies

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

Complementary

The opposite hue (180°).

  • #C798DE

    #C798DE

    oklch(74.8% 0.11 314.3)

  • #90BD74

    #90BD74

    oklch(74.8% 0.111 134.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C798DE

    #C798DE

    oklch(74.8% 0.11 314.3)

  • #A5A4F1

    #A5A4F1

    oklch(74.9% 0.11 284)

  • #DF91BE

    #DF91BE

    oklch(74.9% 0.11 344.5)

Open the analogous palette in the generator

Split complementary

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

  • #C798DE

    #C798DE

    oklch(74.8% 0.11 314.3)

  • #B8B159

    #B8B159

    oklch(74.8% 0.111 104.7)

  • #62C39B

    #62C39B

    oklch(74.7% 0.11 164.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C798DE

    #C798DE

    oklch(74.8% 0.11 314.3)

  • #D7A359

    #D7A359

    oklch(74.9% 0.11 74.4)

  • #42C3C2

    #42C3C2

    oklch(74.8% 0.11 194.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C798DE

    #C798DE

    oklch(74.8% 0.11 314.3)

  • #E89672

    #E89672

    oklch(74.8% 0.111 44.3)

  • #90BD74

    #90BD74

    oklch(74.8% 0.111 134.2)

  • #52BCE1

    #52BCE1

    oklch(74.8% 0.11 224.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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