#D297DA

Closest named color: Plum (#DDA0DD). oklch(75.5% 0.114 322.5), rgb(210, 151, 218).

Aa

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

About this color

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

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

Values

HEX#D297DA
RGBrgb(210, 151, 218)
HSLhsl(293, 48%, 72%)
OKLCHoklch(75.5% 0.114 322.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 #D297DA 2.28:1 Fails Lc -49.9 Large or bold text, headings
Black text on #D297DA 9.17:1 AAA Lc 59.0 Large or bold text, headings
#D297DA text on white 2.28:1 Fails Lc 45.0 Large or bold text, headings
#D297DA text on black 9.17:1 AAA Lc -57.1 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

    #F9F3F9

    oklch(97% 0.01 325.7)

  2. Step 100

    100

    #F1E6F2

    oklch(93.7% 0.02 323.2)

  3. Step 200

    200

    #E6D1E9

    oklch(88.5% 0.04 322)

  4. Step 300

    300

    #D7B2DC

    oklch(80.9% 0.071 322.3)

  5. Step 400

    400 (this color)

    #D297DA

    oklch(75.5% 0.114 322.5)

  6. Step 500

    500

    #B268BC

    oklch(63% 0.145 322.7)

  7. Step 600

    600

    #9D4EA8

    oklch(55.6% 0.157 322.6)

  8. Step 700

    700

    #863E90

    oklch(49% 0.146 322.6)

  9. Step 800

    800

    #6D3475

    oklch(42.7% 0.121 322.6)

  10. Step 900

    900

    #592E5F

    oklch(37.8% 0.095 322.6)

  11. Step 950

    950

    #341B37

    oklch(26.9% 0.06 323.1)

Export this scale for Tailwind in the Tailwind colors tool

#D297DA 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)#90A7DD0.099
Deuteranopia (no green cones)#9EAED80.092
Tritanopia (no blue cones)#D49EAF0.071
Achromatopsia (no color)#ABABAB0.114

Harmonies

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

Complementary

The opposite hue (180°).

  • #D297DA

    #D297DA

    oklch(75.5% 0.114 322.5)

  • #84C27F

    #84C27F

    oklch(75.5% 0.114 142.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D297DA

    #D297DA

    oklch(75.5% 0.114 322.5)

  • #B2A2F2

    #B2A2F2

    oklch(75.6% 0.114 292.6)

  • #E791B7

    #E791B7

    oklch(75.6% 0.113 352.1)

Open the analogous palette in the generator

Split complementary

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

  • #D297DA

    #D297DA

    oklch(75.5% 0.114 322.5)

  • #B1B75E

    #B1B75E

    oklch(75.6% 0.113 112.2)

  • #55C7A8

    #55C7A8

    oklch(75.5% 0.114 172.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D297DA

    #D297DA

    oklch(75.5% 0.114 322.5)

  • #D3A955

    #D3A955

    oklch(75.6% 0.114 82.8)

  • #3DC5CF

    #3DC5CF

    oklch(75.6% 0.114 202.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D297DA

    #D297DA

    oklch(75.5% 0.114 322.5)

  • #E89B6A

    #E89B6A

    oklch(75.6% 0.113 52.7)

  • #84C27F

    #84C27F

    oklch(75.5% 0.114 142.6)

  • #5BBCEC

    #5BBCEC

    oklch(75.6% 0.114 232.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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