#C98AEC

Closest named color: Liliac (#C48EFD). oklch(73.2% 0.151 312.7), rgb(201, 138, 236).

Aa

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

About this color

#C98AEC is a medium-light, vivid purple. In OKLCH its lightness is 73%, its chroma 0.151 and its hue 313°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Liliac (#C48EFD), ΔE 0.026 away. Black text reads best on it, at 8.33:1.

Hue familyPurples
Lightnessmedium-light (73%)
Chromavivid (0.151)
Temperaturein between
Nearest nameLiliac (#C48EFD)
Black text8.33:1
White text2.52:1

Values

HEX#C98AEC
RGBrgb(201, 138, 236)
HSLhsl(279, 72%, 73%)
OKLCHoklch(73.2% 0.151 312.7)

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 #C98AEC 2.52:1 Fails Lc -54.3 Large or bold text, headings
Black text on #C98AEC 8.33:1 AAA Lc 54.7 Large or bold text, headings
#C98AEC text on white 2.52:1 Fails Lc 49.3 Large or bold text, headings
#C98AEC text on black 8.33:1 AAA Lc -52.7 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

    #F8F3FC

    oklch(97.1% 0.013 310.5)

  2. Step 100

    100

    #F0E5F7

    oklch(93.6% 0.027 312.6)

  3. Step 200

    200

    #E5D0F3

    oklch(88.6% 0.052 311.9)

  4. Step 300

    300

    #D6AFED

    oklch(80.9% 0.095 312.7)

  5. Step 400

    400 (this color)

    #C98AEC

    oklch(73.2% 0.151 312.7)

  6. Step 500

    500

    #B15EDB

    oklch(63.1% 0.193 312.8)

  7. Step 600

    600

    #9C3FC9

    oklch(55.6% 0.211 312.5)

  8. Step 700

    700

    #862FAD

    oklch(49.1% 0.196 313.1)

  9. Step 800

    800

    #6C298C

    oklch(42.6% 0.162 312.6)

  10. Step 900

    900

    #582770

    oklch(37.6% 0.127 312.9)

  11. Step 950

    950

    #341842

    oklch(27% 0.081 313)

Export this scale for Tailwind in the Tailwind colors tool

#C98AEC 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)#77A0F00.121
Deuteranopia (no green cones)#87A5E90.111
Tritanopia (no blue cones)#C698B00.105
Achromatopsia (no color)#A3A3A30.152

Harmonies

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

Complementary

The opposite hue (180°).

  • #C98AEC

    #C98AEC

    oklch(73.2% 0.151 312.7)

  • #82BC51

    #82BC51

    oklch(73.2% 0.152 132.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C98AEC

    #C98AEC

    oklch(73.2% 0.151 312.7)

  • #9C9BFF

    #9C9BFF

    oklch(73.2% 0.143 282.7)

  • #E87FC2

    #E87FC2

    oklch(73.2% 0.151 342.6)

Open the analogous palette in the generator

Split complementary

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

  • #C98AEC

    #C98AEC

    oklch(73.2% 0.151 312.7)

  • #BBAB0E

    #BBAB0E

    oklch(73.2% 0.151 102.6)

  • #24C58C

    #24C58C

    oklch(73.2% 0.151 162.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C98AEC

    #C98AEC

    oklch(73.2% 0.151 312.7)

  • #E19717

    #E19717

    oklch(73.3% 0.151 73)

  • #00C1BE

    #00C1BE

    oklch(73.3% 0.126 192.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C98AEC

    #C98AEC

    oklch(73.2% 0.151 312.7)

  • #F68556

    #F68556

    oklch(73.3% 0.151 42.6)

  • #82BC51

    #82BC51

    oklch(73.2% 0.152 132.8)

  • #00BAE6

    #00BAE6

    oklch(73.2% 0.136 222.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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