#D397E4

Closest named color: Baby Purple (#CA9BF7). oklch(76.1% 0.125 318.6), rgb(211, 151, 228).

Aa

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

About this color

#D397E4 is a medium-light, moderately saturated purple. In OKLCH its lightness is 76%, its chroma 0.125 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.030 away. Black text reads best on it, at 9.31:1.

Hue familyPurples
Lightnessmedium-light (76%)
Chromamoderately saturated (0.125)
Temperaturein between
Nearest nameBaby Purple (#CA9BF7)
Black text9.31:1
White text2.25:1

Values

HEX#D397E4
RGBrgb(211, 151, 228)
HSLhsl(287, 59%, 74%)
OKLCHoklch(76.1% 0.125 318.6)

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 #D397E4 2.25:1 Fails Lc -49.1 Large or bold text, headings
Black text on #D397E4 9.31:1 AAA Lc 59.7 Large or bold text, headings
#D397E4 text on white 2.25:1 Fails Lc 44.3 Non-text elements, placeholder text
#D397E4 text on black 9.31:1 AAA Lc -57.8 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

    #FAF2FD

    oklch(97% 0.017 316.9)

  2. Step 100

    100

    #F5E3FA

    oklch(93.7% 0.036 318.9)

  3. Step 200

    200

    #EDCBF7

    oklch(88.4% 0.07 318.5)

  4. Step 300

    300 (this color)

    #D397E4

    oklch(76.1% 0.125 318.6)

  5. Step 400

    400

    #D371EF

    oklch(70.7% 0.199 318.3)

  6. Step 500

    500

    #C63EE9

    oklch(63.1% 0.255 318.4)

  7. Step 600

    600

    #B000D4

    oklch(55.6% 0.269 318.5)

  8. Step 700

    700

    #9500B3

    oklch(49.1% 0.237 318.7)

  9. Step 800

    800

    #7B0094

    oklch(42.7% 0.206 318.8)

  10. Step 900

    900

    #641178

    oklch(37.7% 0.166 318.5)

  11. Step 950

    950

    #3B0E46

    oklch(27% 0.105 319)

Export this scale for Tailwind in the Tailwind colors tool

#D397E4 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)#8DA9E70.105
Deuteranopia (no green cones)#9BAFE20.097
Tritanopia (no blue cones)#D4A0B30.082
Achromatopsia (no color)#ADADAD0.126

Harmonies

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

Complementary

The opposite hue (180°).

  • #D397E4

    #D397E4

    oklch(76.1% 0.125 318.6)

  • #88C475

    #88C475

    oklch(76% 0.125 138.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D397E4

    #D397E4

    oklch(76.1% 0.125 318.6)

  • #AEA4FC

    #AEA4FC

    oklch(76.1% 0.125 288.3)

  • #EC8FBE

    #EC8FBE

    oklch(76% 0.126 348.8)

Open the analogous palette in the generator

Split complementary

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

  • #D397E4

    #D397E4

    oklch(76.1% 0.125 318.6)

  • #B8B751

    #B8B751

    oklch(76% 0.125 108.5)

  • #4ECBA3

    #4ECBA3

    oklch(76.2% 0.126 168.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D397E4

    #D397E4

    oklch(76.1% 0.125 318.6)

  • #DCA74B

    #DCA74B

    oklch(76.1% 0.125 78.6)

  • #1FC9CF

    #1FC9CF

    oklch(76.1% 0.125 198.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D397E4

    #D397E4

    oklch(76.1% 0.125 318.6)

  • #F19868

    #F19868

    oklch(76.1% 0.125 48.5)

  • #88C475

    #88C475

    oklch(76% 0.125 138.4)

  • #48C0F0

    #48C0F0

    oklch(76.1% 0.125 228.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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