#D397E1

Closest named color: Plum (#DDA0DD). oklch(75.9% 0.122 319.9), rgb(211, 151, 225).

Aa

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

About this color

#D397E1 is a medium-light, moderately saturated purple. In OKLCH its lightness is 76%, its chroma 0.122 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.28:1.

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

Values

HEX#D397E1
RGBrgb(211, 151, 225)
HSLhsl(289, 55%, 74%)
OKLCHoklch(75.9% 0.122 319.9)

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 #D397E1 2.26:1 Fails Lc -49.3 Large or bold text, headings
Black text on #D397E1 9.28:1 AAA Lc 59.5 Large or bold text, headings
#D397E1 text on white 2.26:1 Fails Lc 44.5 Non-text elements, placeholder text
#D397E1 text on black 9.28:1 AAA Lc -57.7 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

    #F5E3F9

    oklch(93.7% 0.035 320.1)

  3. Step 200

    200

    #EECBF5

    oklch(88.5% 0.068 320.6)

  4. Step 300

    300 (this color)

    #D397E1

    oklch(75.9% 0.122 319.9)

  5. Step 400

    400

    #D472EB

    oklch(70.8% 0.194 319.7)

  6. Step 500

    500

    #C741E4

    oklch(63.2% 0.248 319.8)

  7. Step 600

    600

    #B200D1

    oklch(55.7% 0.267 319.8)

  8. Step 700

    700

    #9600B1

    oklch(49.1% 0.236 319.7)

  9. Step 800

    800

    #7C0092

    oklch(42.7% 0.205 319.9)

  10. Step 900

    900

    #641375

    oklch(37.6% 0.162 319.7)

  11. Step 950

    950

    #3B0F45

    oklch(27% 0.103 319.6)

Export this scale for Tailwind in the Tailwind colors tool

#D397E1 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)#8EA8E40.103
Deuteranopia (no green cones)#9CAFDF0.096
Tritanopia (no blue cones)#D49FB20.078
Achromatopsia (no color)#ACACAC0.123

Harmonies

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

Complementary

The opposite hue (180°).

  • #D397E1

    #D397E1

    oklch(75.9% 0.122 319.9)

  • #87C479

    #87C479

    oklch(76% 0.121 139.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D397E1

    #D397E1

    oklch(75.9% 0.122 319.9)

  • #B0A3F9

    #B0A3F9

    oklch(75.9% 0.122 290.1)

  • #EB90BC

    #EB90BC

    oklch(76% 0.122 350)

Open the analogous palette in the generator

Split complementary

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

  • #D397E1

    #D397E1

    oklch(75.9% 0.122 319.9)

  • #B6B755

    #B6B755

    oklch(75.9% 0.121 109.5)

  • #50CAA5

    #50CAA5

    oklch(76% 0.122 169.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D397E1

    #D397E1

    oklch(75.9% 0.122 319.9)

  • #D9A84E

    #D9A84E

    oklch(76% 0.121 80.3)

  • #2AC8CF

    #2AC8CF

    oklch(76% 0.122 199.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D397E1

    #D397E1

    oklch(75.9% 0.122 319.9)

  • #EF9968

    #EF9968

    oklch(76% 0.122 49.8)

  • #87C479

    #87C479

    oklch(76% 0.121 139.8)

  • #4FBFEF

    #4FBFEF

    oklch(76% 0.122 229.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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