#DC98ED

Closest named color: Baby Purple (#CA9BF7). oklch(77.5% 0.138 319.4), rgb(220, 152, 237).

Aa

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

About this color

#DC98ED is a medium-light, moderately saturated purple. In OKLCH its lightness is 78%, its chroma 0.138 and its hue 319°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Baby Purple (#CA9BF7), ΔE 0.031 away. Black text reads best on it, at 9.75:1.

Hue familyPurples
Lightnessmedium-light (78%)
Chromamoderately saturated (0.138)
Temperaturein between
Nearest nameBaby Purple (#CA9BF7)
Black text9.75:1
White text2.15:1

Values

HEX#DC98ED
RGBrgb(220, 152, 237)
HSLhsl(288, 70%, 76%)
OKLCHoklch(77.5% 0.138 319.4)

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 #DC98ED 2.15:1 Fails Lc -46.8 Large or bold text, headings
Black text on #DC98ED 9.75:1 AAA Lc 61.8 Content text, not long reading
#DC98ED text on white 2.15:1 Fails Lc 42.1 Non-text elements, placeholder text
#DC98ED text on black 9.75:1 AAA Lc -60.1 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

    #FBF2FD

    oklch(97.1% 0.017 320.1)

  2. Step 100

    100

    #F6E2FB

    oklch(93.6% 0.04 319.5)

  3. Step 200

    200

    #F0C9F9

    oklch(88.4% 0.077 319.9)

  4. Step 300

    300 (this color)

    #DC98ED

    oklch(77.5% 0.138 319.4)

  5. Step 400

    400

    #D968F5

    oklch(70.6% 0.221 319.3)

  6. Step 500

    500

    #CD28F0

    oklch(63% 0.282 319.4)

  7. Step 600

    600

    #B100D2

    oklch(55.6% 0.268 319.3)

  8. Step 700

    700

    #9600B1

    oklch(49.1% 0.236 319.7)

  9. Step 800

    800

    #7C0093

    oklch(42.8% 0.206 319.6)

  10. Step 900

    900

    #68007C

    oklch(37.8% 0.182 319.4)

  11. Step 950

    950

    #3D0849

    oklch(27% 0.116 319.1)

Export this scale for Tailwind in the Tailwind colors tool

#DC98ED 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)#8DACF00.118
Deuteranopia (no green cones)#9EB3EA0.108
Tritanopia (no blue cones)#DDA2B80.088
Achromatopsia (no color)#B1B1B10.139

Harmonies

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

Complementary

The opposite hue (180°).

  • #DC98ED

    #DC98ED

    oklch(77.5% 0.138 319.4)

  • #86CB74

    #86CB74

    oklch(77.5% 0.138 139.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #DC98ED

    #DC98ED

    oklch(77.5% 0.138 319.4)

  • #B4A8FF

    #B4A8FF

    oklch(77.5% 0.123 289.5)

  • #F790C3

    #F790C3

    oklch(77.6% 0.137 349.7)

Open the analogous palette in the generator

Split complementary

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

  • #DC98ED

    #DC98ED

    oklch(77.5% 0.138 319.4)

  • #BCBD48

    #BCBD48

    oklch(77.5% 0.138 109.7)

  • #3ED2A7

    #3ED2A7

    oklch(77.6% 0.138 169.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #DC98ED

    #DC98ED

    oklch(77.5% 0.138 319.4)

  • #E4AB3F

    #E4AB3F

    oklch(77.6% 0.138 79.8)

  • #00CFD6

    #00CFD6

    oklch(77.6% 0.132 199.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #DC98ED

    #DC98ED

    oklch(77.5% 0.138 319.4)

  • #FC9A62

    #FC9A62

    oklch(77.6% 0.138 49.5)

  • #86CB74

    #86CB74

    oklch(77.5% 0.138 139.3)

  • #3BC5FC

    #3BC5FC

    oklch(77.4% 0.138 229.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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