#D397DF

Closest named color: Plum (#DDA0DD). oklch(75.9% 0.119 320.7), rgb(211, 151, 223).

Aa

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

About this color

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

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

Values

HEX#D397DF
RGBrgb(211, 151, 223)
HSLhsl(290, 53%, 73%)
OKLCHoklch(75.9% 0.119 320.7)

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 #D397DF 2.26:1 Fails Lc -49.4 Large or bold text, headings
Black text on #D397DF 9.26:1 AAA Lc 59.4 Large or bold text, headings
#D397DF text on white 2.26:1 Fails Lc 44.6 Non-text elements, placeholder text
#D397DF text on black 9.26:1 AAA Lc -57.5 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 300.

  1. Step 50

    50

    #FBF2FC

    oklch(97.1% 0.016 322.7)

  2. Step 100

    100

    #F5E3F8

    oklch(93.6% 0.034 321.4)

  3. Step 200

    200

    #EECBF4

    oklch(88.4% 0.067 321.3)

  4. Step 300

    300 (this color)

    #D397DF

    oklch(75.9% 0.119 320.7)

  5. Step 400

    400

    #D472E8

    oklch(70.6% 0.191 320.6)

  6. Step 500

    500

    #C742E1

    oklch(63.1% 0.245 320.6)

  7. Step 600

    600

    #B301CE

    oklch(55.6% 0.265 320.9)

  8. Step 700

    700

    #9700AF

    oklch(49.1% 0.235 320.6)

  9. Step 800

    800

    #7D0090

    oklch(42.7% 0.204 321)

  10. Step 900

    900

    #651473

    oklch(37.7% 0.16 321.1)

  11. Step 950

    950

    #3B0F44

    oklch(27% 0.102 320.3)

Export this scale for Tailwind in the Tailwind colors tool

#D397DF 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.102
Deuteranopia (no green cones)#9DAEDD0.094
Tritanopia (no blue cones)#D59FB10.076
Achromatopsia (no color)#ACACAC0.120

Harmonies

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

Complementary

The opposite hue (180°).

  • #D397DF

    #D397DF

    oklch(75.9% 0.119 320.7)

  • #86C37B

    #86C37B

    oklch(75.8% 0.118 140.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D397DF

    #D397DF

    oklch(75.9% 0.119 320.7)

  • #B1A3F7

    #B1A3F7

    oklch(75.9% 0.119 290.9)

  • #EA90BA

    #EA90BA

    oklch(75.8% 0.12 350.9)

Open the analogous palette in the generator

Split complementary

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

  • #D397DF

    #D397DF

    oklch(75.9% 0.119 320.7)

  • #B4B858

    #B4B858

    oklch(75.9% 0.12 111.1)

  • #51C9A6

    #51C9A6

    oklch(75.8% 0.12 170.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D397DF

    #D397DF

    oklch(75.9% 0.119 320.7)

  • #D8A850

    #D8A850

    oklch(75.9% 0.119 80.4)

  • #30C7CF

    #30C7CF

    oklch(75.9% 0.12 200.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D397DF

    #D397DF

    oklch(75.9% 0.119 320.7)

  • #ED9A68

    #ED9A68

    oklch(75.9% 0.119 51.2)

  • #86C37B

    #86C37B

    oklch(75.8% 0.118 140.7)

  • #53BEEE

    #53BEEE

    oklch(75.8% 0.119 230.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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