#DF97F2

Closest named color: Baby Purple (#CA9BF7). oklch(77.9% 0.146 319.1), rgb(223, 151, 242).

Aa

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

About this color

#DF97F2 is a medium-light, vivid purple. In OKLCH its lightness is 78%, its chroma 0.146 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.034 away. Black text reads best on it, at 9.84:1.

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

Values

HEX#DF97F2
RGBrgb(223, 151, 242)
HSLhsl(287, 78%, 77%)
OKLCHoklch(77.9% 0.146 319.1)

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 #DF97F2 2.13:1 Fails Lc -46.3 Large or bold text, headings
Black text on #DF97F2 9.84:1 AAA Lc 62.3 Content text, not long reading
#DF97F2 text on white 2.13:1 Fails Lc 41.7 Non-text elements, placeholder text
#DF97F2 text on black 9.84:1 AAA Lc -60.6 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

    #F7E1FC

    oklch(93.5% 0.043 320)

  3. Step 200

    200

    #F1C9FC

    oklch(88.6% 0.081 318.9)

  4. Step 300

    300 (this color)

    #DF97F2

    oklch(77.9% 0.146 319.1)

  5. Step 400

    400

    #DC63FA

    oklch(70.6% 0.234 319.2)

  6. Step 500

    500

    #D10FF7

    oklch(63.1% 0.299 319.3)

  7. Step 600

    600

    #B100D3

    oklch(55.7% 0.268 319)

  8. Step 700

    700

    #9500B2

    oklch(49% 0.236 319)

  9. Step 800

    800

    #7B0093

    oklch(42.6% 0.206 319.1)

  10. Step 900

    900

    #67007C

    oklch(37.6% 0.182 318.9)

  11. Step 950

    950

    #3E044B

    oklch(27% 0.123 319)

Export this scale for Tailwind in the Tailwind colors tool

#DF97F2 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.125
Deuteranopia (no green cones)#9DB4EF0.114
Tritanopia (no blue cones)#E0A2B90.095
Achromatopsia (no color)#B1B1B10.148

Harmonies

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

Complementary

The opposite hue (180°).

  • #DF97F2

    #DF97F2

    oklch(77.9% 0.146 319.1)

  • #84CD70

    #84CD70

    oklch(77.8% 0.146 139.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #DF97F2

    #DF97F2

    oklch(77.9% 0.146 319.1)

  • #B5AAFF

    #B5AAFF

    oklch(77.9% 0.12 289.2)

  • #FB8EC6

    #FB8EC6

    oklch(77.9% 0.146 348.9)

Open the analogous palette in the generator

Split complementary

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

  • #DF97F2

    #DF97F2

    oklch(77.9% 0.146 319.1)

  • #BFBE3D

    #BFBE3D

    oklch(77.9% 0.147 108.9)

  • #2DD4A7

    #2DD4A7

    oklch(77.8% 0.146 169.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #DF97F2

    #DF97F2

    oklch(77.9% 0.146 319.1)

  • #E9AA32

    #E9AA32

    oklch(77.8% 0.147 78.7)

  • #00D0D7

    #00D0D7

    oklch(77.9% 0.132 199.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #DF97F2

    #DF97F2

    oklch(77.9% 0.146 319.1)

  • #FF9960

    #FF9960

    oklch(77.8% 0.142 48.8)

  • #84CD70

    #84CD70

    oklch(77.8% 0.146 139.2)

  • #32C7FF

    #32C7FF

    oklch(77.9% 0.142 229.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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