#DC98FF

Closest named color: Lilac (#CEA2FD). oklch(78.3% 0.158 313.5), rgb(220, 152, 255).

Aa

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

About this color

#DC98FF is a light, vivid purple. In OKLCH its lightness is 78%, its chroma 0.158 and its hue 313°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lilac (#CEA2FD), ΔE 0.031 away. Black text reads best on it, at 9.97:1.

Hue familyPurples
Lightnesslight (78%)
Chromavivid (0.158)
Temperaturein between
Nearest nameLilac (#CEA2FD)
Black text9.97:1
White text2.10:1

Values

HEX#DC98FF
RGBrgb(220, 152, 255)
HSLhsl(280, 100%, 80%)
OKLCHoklch(78.3% 0.158 313.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 #DC98FF 2.10:1 Fails Lc -45.6 Large or bold text, headings
Black text on #DC98FF 9.97:1 AAA Lc 62.9 Content text, not long reading
#DC98FF text on white 2.10:1 Fails Lc 41.0 Non-text elements, placeholder text
#DC98FF text on black 9.97:1 AAA Lc -61.2 Content text, not long reading

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 300.

  1. Step 50

    50

    #FAF2FF

    oklch(97.1% 0.019 312.8)

  2. Step 100

    100

    #F4E2FF

    oklch(93.6% 0.043 312.8)

  3. Step 200

    200

    #ECCAFF

    oklch(88.5% 0.08 313.4)

  4. Step 300

    300 (this color)

    #DC98FF

    oklch(78.3% 0.158 313.5)

  5. Step 400

    400

    #D06DFF

    oklch(70.7% 0.22 313.5)

  6. Step 500

    500

    #C42DFF

    oklch(63.1% 0.287 313.5)

  7. Step 600

    600

    #AA00E1

    oklch(55.7% 0.276 313.5)

  8. Step 700

    700

    #8F00BE

    oklch(49.1% 0.244 313.5)

  9. Step 800

    800

    #76009E

    oklch(42.7% 0.212 313.3)

  10. Step 900

    900

    #630085

    oklch(37.7% 0.187 313.4)

  11. Step 950

    950

    #3C0152

    oklch(27% 0.132 313.5)

Export this scale for Tailwind in the Tailwind colors tool

#DC98FF 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)#85AFFF0.128
Deuteranopia (no green cones)#96B4FC0.115
Tritanopia (no blue cones)#D9A6C00.107
Achromatopsia (no color)#B3B3B30.158

Harmonies

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

Complementary

The opposite hue (180°).

  • #DC98FF

    #DC98FF

    oklch(78.3% 0.158 313.5)

  • #8ECE5F

    #8ECE5F

    oklch(78.4% 0.158 133.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #DC98FF

    #DC98FF

    oklch(78.3% 0.158 313.5)

  • #AFAFFF

    #AFAFFF

    oklch(78.4% 0.113 283.5)

  • #FD8CD2

    #FD8CD2

    oklch(78.3% 0.159 343.5)

Open the analogous palette in the generator

Split complementary

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

  • #DC98FF

    #DC98FF

    oklch(78.3% 0.158 313.5)

  • #CBBC22

    #CBBC22

    oklch(78.4% 0.157 103.3)

  • #2FD79C

    #2FD79C

    oklch(78.3% 0.157 163.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #DC98FF

    #DC98FF

    oklch(78.3% 0.158 313.5)

  • #F4A624

    #F4A624

    oklch(78.3% 0.158 73.3)

  • #00D3D1

    #00D3D1

    oklch(78.4% 0.134 193.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #DC98FF

    #DC98FF

    oklch(78.3% 0.158 313.5)

  • #FF9B70

    #FF9B70

    oklch(78.4% 0.133 43.7)

  • #8ECE5F

    #8ECE5F

    oklch(78.4% 0.158 133.7)

  • #00CBFD

    #00CBFD

    oklch(78.2% 0.147 223.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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