#D397E6

Closest named color: Baby Purple (#CA9BF7). oklch(76.1% 0.127 317.8), rgb(211, 151, 230).

Aa

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

About this color

#D397E6 is a medium-light, moderately saturated purple. In OKLCH its lightness is 76%, its chroma 0.127 and its hue 318°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Baby Purple (#CA9BF7), ΔE 0.027 away. Black text reads best on it, at 9.33:1.

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

Values

HEX#D397E6
RGBrgb(211, 151, 230)
HSLhsl(286, 61%, 75%)
OKLCHoklch(76.1% 0.127 317.8)

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 #D397E6 2.24:1 Fails Lc -49.0 Large or bold text, headings
Black text on #D397E6 9.33:1 AAA Lc 59.8 Large or bold text, headings
#D397E6 text on white 2.24:1 Fails Lc 44.2 Non-text elements, placeholder text
#D397E6 text on black 9.33:1 AAA Lc -57.9 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

    #F4E3FA

    oklch(93.6% 0.036 317.3)

  3. Step 200

    200

    #EDCBF8

    oklch(88.5% 0.071 317.8)

  4. Step 300

    300 (this color)

    #D397E6

    oklch(76.1% 0.127 317.8)

  5. Step 400

    400

    #D370F1

    oklch(70.7% 0.203 317.8)

  6. Step 500

    500

    #C63CEC

    oklch(63.1% 0.26 317.8)

  7. Step 600

    600

    #AF00D6

    oklch(55.6% 0.27 317.7)

  8. Step 700

    700

    #9400B5

    oklch(49.1% 0.238 317.8)

  9. Step 800

    800

    #7A0096

    oklch(42.7% 0.207 317.7)

  10. Step 900

    900

    #640F7A

    oklch(37.7% 0.17 317.7)

  11. Step 950

    950

    #3B0D47

    oklch(27% 0.108 318.4)

Export this scale for Tailwind in the Tailwind colors tool

#D397E6 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)#8CA9E90.106
Deuteranopia (no green cones)#9AAFE40.098
Tritanopia (no blue cones)#D3A0B40.083
Achromatopsia (no color)#ADADAD0.128

Harmonies

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

Complementary

The opposite hue (180°).

  • #D397E6

    #D397E6

    oklch(76.1% 0.127 317.8)

  • #89C573

    #89C573

    oklch(76.3% 0.128 137.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D397E6

    #D397E6

    oklch(76.1% 0.127 317.8)

  • #ADA4FE

    #ADA4FE

    oklch(76.1% 0.128 287.5)

  • #EC8FC0

    #EC8FC0

    oklch(76.1% 0.127 347.7)

Open the analogous palette in the generator

Split complementary

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

  • #D397E6

    #D397E6

    oklch(76.1% 0.127 317.8)

  • #BAB74E

    #BAB74E

    oklch(76.1% 0.127 107.5)

  • #4DCBA2

    #4DCBA2

    oklch(76.1% 0.127 168.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D397E6

    #D397E6

    oklch(76.1% 0.127 317.8)

  • #DEA749

    #DEA749

    oklch(76.3% 0.127 78)

  • #15CACE

    #15CACE

    oklch(76.2% 0.127 197.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D397E6

    #D397E6

    oklch(76.1% 0.127 317.8)

  • #F39767

    #F39767

    oklch(76.1% 0.128 47.7)

  • #89C573

    #89C573

    oklch(76.3% 0.128 137.7)

  • #44C1F1

    #44C1F1

    oklch(76.2% 0.127 227.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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