#DC98F2

Closest named color: Baby Purple (#CA9BF7). oklch(77.7% 0.143 317.6), rgb(220, 152, 242).

Aa

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

About this color

#DC98F2 is a medium-light, vivid purple. In OKLCH its lightness is 78%, its chroma 0.143 and its hue 318°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Baby Purple (#CA9BF7), ΔE 0.029 away. Black text reads best on it, at 9.81:1.

Hue familyPurples
Lightnessmedium-light (78%)
Chromavivid (0.143)
Temperaturein between
Nearest nameBaby Purple (#CA9BF7)
Black text9.81:1
White text2.13:1

Values

HEX#DC98F2
RGBrgb(220, 152, 242)
HSLhsl(285, 78%, 77%)
OKLCHoklch(77.7% 0.143 317.6)

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 #DC98F2 2.13:1 Fails Lc -46.5 Large or bold text, headings
Black text on #DC98F2 9.81:1 AAA Lc 62.1 Content text, not long reading
#DC98F2 text on white 2.13:1 Fails Lc 41.8 Non-text elements, placeholder text
#DC98F2 text on black 9.81:1 AAA Lc -60.4 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

    #FBF2FE

    oklch(97.2% 0.018 317.7)

  2. Step 100

    100

    #F6E2FC

    oklch(93.7% 0.041 318.4)

  3. Step 200

    200

    #EFC9FC

    oklch(88.4% 0.08 317.4)

  4. Step 300

    300 (this color)

    #DC98F2

    oklch(77.7% 0.143 317.6)

  5. Step 400

    400

    #D966FB

    oklch(70.7% 0.23 317.8)

  6. Step 500

    500

    #CD1FF8

    oklch(63.1% 0.293 317.8)

  7. Step 600

    600

    #AF00D6

    oklch(55.6% 0.27 317.7)

  8. Step 700

    700

    #9400B5

    oklch(49.1% 0.238 317.8)

  9. Step 800

    800

    #7A0096

    oklch(42.7% 0.207 317.7)

  10. Step 900

    900

    #66007E

    oklch(37.6% 0.183 317.6)

  11. Step 950

    950

    #3D064B

    oklch(27% 0.121 318)

Export this scale for Tailwind in the Tailwind colors tool

#DC98F2 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)#8BADF50.120
Deuteranopia (no green cones)#9CB4EF0.110
Tritanopia (no blue cones)#DCA3BA0.094
Achromatopsia (no color)#B1B1B10.144

Harmonies

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

Complementary

The opposite hue (180°).

  • #DC98F2

    #DC98F2

    oklch(77.7% 0.143 317.6)

  • #88CC6E

    #88CC6E

    oklch(77.8% 0.144 137.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #DC98F2

    #DC98F2

    oklch(77.7% 0.143 317.6)

  • #B2AAFF

    #B2AAFF

    oklch(77.7% 0.12 287.6)

  • #F88FC7

    #F88FC7

    oklch(77.7% 0.142 347.7)

Open the analogous palette in the generator

Split complementary

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

  • #DC98F2

    #DC98F2

    oklch(77.7% 0.143 317.6)

  • #C0BD40

    #C0BD40

    oklch(77.8% 0.143 108)

  • #3AD3A4

    #3AD3A4

    oklch(77.7% 0.143 167.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #DC98F2

    #DC98F2

    oklch(77.7% 0.143 317.6)

  • #E9A939

    #E9A939

    oklch(77.7% 0.143 77.1)

  • #00D0D4

    #00D0D4

    oklch(77.8% 0.132 197.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #DC98F2

    #DC98F2

    oklch(77.7% 0.143 317.6)

  • #FF9862

    #FF9862

    oklch(77.7% 0.142 47.5)

  • #88CC6E

    #88CC6E

    oklch(77.8% 0.144 137.6)

  • #29C7FE

    #29C7FE

    oklch(77.7% 0.144 228.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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