#D297DF

Closest named color: Plum (#DDA0DD). oklch(75.7% 0.119 320.2), rgb(210, 151, 223).

Aa

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

About this color

#D297DF is a medium-light, moderately saturated purple. In OKLCH its lightness is 76%, its chroma 0.119 and its hue 320°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Plum (#DDA0DD), ΔE 0.031 away. Black text reads best on it, at 9.23:1.

Hue familyPurples
Lightnessmedium-light (76%)
Chromamoderately saturated (0.119)
Temperaturein between
Nearest namePlum (#DDA0DD)
Black text9.23:1
White text2.27:1

Values

HEX#D297DF
RGBrgb(210, 151, 223)
HSLhsl(289, 53%, 73%)
OKLCHoklch(75.7% 0.119 320.2)

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 #D297DF 2.27:1 Fails Lc -49.6 Large or bold text, headings
Black text on #D297DF 9.23:1 AAA Lc 59.2 Large or bold text, headings
#D297DF text on white 2.27:1 Fails Lc 44.7 Non-text elements, placeholder text
#D297DF text on black 9.23:1 AAA Lc -57.4 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

    #F9F3FA

    oklch(97.1% 0.011 321.3)

  2. Step 100

    100

    #F1E5F3

    oklch(93.5% 0.023 321.4)

  3. Step 200

    200

    #E6D1EA

    oklch(88.5% 0.041 320.8)

  4. Step 300

    300

    #D7B2DF

    oklch(81% 0.074 320.3)

  5. Step 400

    400 (this color)

    #D297DF

    oklch(75.7% 0.119 320.2)

  6. Step 500

    500

    #B167C2

    oklch(63% 0.153 319.9)

  7. Step 600

    600

    #9C4CAE

    oklch(55.5% 0.166 320)

  8. Step 700

    700

    #863D95

    oklch(49.2% 0.153 320.5)

  9. Step 800

    800

    #6D3379

    oklch(42.8% 0.127 320.5)

  10. Step 900

    900

    #582D62

    oklch(37.6% 0.1 319.8)

  11. Step 950

    950

    #341B39

    oklch(27% 0.063 320.8)

Export this scale for Tailwind in the Tailwind colors tool

#D297DF 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)#8FA8E20.101
Deuteranopia (no green cones)#9DAEDD0.093
Tritanopia (no blue cones)#D39FB10.076
Achromatopsia (no color)#ACACAC0.120

Harmonies

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

Complementary

The opposite hue (180°).

  • #D297DF

    #D297DF

    oklch(75.7% 0.119 320.2)

  • #86C37A

    #86C37A

    oklch(75.7% 0.119 140.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D297DF

    #D297DF

    oklch(75.7% 0.119 320.2)

  • #AFA3F6

    #AFA3F6

    oklch(75.7% 0.118 289.9)

  • #E990BB

    #E990BB

    oklch(75.7% 0.119 349.9)

Open the analogous palette in the generator

Split complementary

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

  • #D297DF

    #D297DF

    oklch(75.7% 0.119 320.2)

  • #B5B758

    #B5B758

    oklch(75.8% 0.119 110)

  • #52C9A5

    #52C9A5

    oklch(75.8% 0.12 170)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D297DF

    #D297DF

    oklch(75.7% 0.119 320.2)

  • #D8A850

    #D8A850

    oklch(75.9% 0.119 80.4)

  • #31C7CE

    #31C7CE

    oklch(75.8% 0.119 199.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D297DF

    #D297DF

    oklch(75.7% 0.119 320.2)

  • #ED9969

    #ED9969

    oklch(75.8% 0.119 49.9)

  • #86C37A

    #86C37A

    oklch(75.7% 0.119 140.4)

  • #52BEED

    #52BEED

    oklch(75.8% 0.119 229.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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