#D398E2

Closest named color: Plum (#DDA0DD). oklch(76.1% 0.121 319.3), rgb(211, 152, 226).

Aa

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

About this color

#D398E2 is a medium-light, moderately saturated purple. In OKLCH its lightness is 76%, its chroma 0.121 and its hue 319°. 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.35:1.

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

Values

HEX#D398E2
RGBrgb(211, 152, 226)
HSLhsl(288, 56%, 74%)
OKLCHoklch(76.1% 0.121 319.3)

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 #D398E2 2.24:1 Fails Lc -48.9 Large or bold text, headings
Black text on #D398E2 9.35:1 AAA Lc 59.9 Large or bold text, headings
#D398E2 text on white 2.24:1 Fails Lc 44.1 Non-text elements, placeholder text
#D398E2 text on black 9.35:1 AAA Lc -58.0 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

    #FAF2FC

    oklch(97% 0.016 319.4)

  2. Step 100

    100

    #F5E3F9

    oklch(93.7% 0.035 320.1)

  3. Step 200

    200

    #EDCCF6

    oklch(88.6% 0.067 318.9)

  4. Step 300

    300 (this color)

    #D398E2

    oklch(76.1% 0.121 319.3)

  5. Step 400

    400

    #D372EB

    oklch(70.7% 0.194 319.4)

  6. Step 500

    500

    #C642E4

    oklch(63.1% 0.247 319.5)

  7. Step 600

    600

    #B100D2

    oklch(55.6% 0.268 319.3)

  8. Step 700

    700

    #9600B2

    oklch(49.2% 0.237 319.4)

  9. Step 800

    800

    #7B0093

    oklch(42.6% 0.206 319.1)

  10. Step 900

    900

    #641476

    oklch(37.8% 0.162 319.2)

  11. Step 950

    950

    #3B0F45

    oklch(27% 0.103 319.6)

Export this scale for Tailwind in the Tailwind colors tool

#D398E2 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)#8FA9E50.102
Deuteranopia (no green cones)#9DAFE00.093
Tritanopia (no blue cones)#D4A0B30.078
Achromatopsia (no color)#ADADAD0.122

Harmonies

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

Complementary

The opposite hue (180°).

  • #D398E2

    #D398E2

    oklch(76.1% 0.121 319.3)

  • #88C479

    #88C479

    oklch(76.1% 0.121 139.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D398E2

    #D398E2

    oklch(76.1% 0.121 319.3)

  • #B0A4F9

    #B0A4F9

    oklch(76.1% 0.121 289.7)

  • #EB91BD

    #EB91BD

    oklch(76.2% 0.121 349.6)

Open the analogous palette in the generator

Split complementary

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

  • #D398E2

    #D398E2

    oklch(76.1% 0.121 319.3)

  • #B7B856

    #B7B856

    oklch(76.2% 0.121 109.5)

  • #53CAA5

    #53CAA5

    oklch(76.1% 0.12 169.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D398E2

    #D398E2

    oklch(76.1% 0.121 319.3)

  • #DAA84F

    #DAA84F

    oklch(76.1% 0.121 79.6)

  • #2EC8CF

    #2EC8CF

    oklch(76.1% 0.121 199.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D398E2

    #D398E2

    oklch(76.1% 0.121 319.3)

  • #EF9A6A

    #EF9A6A

    oklch(76.2% 0.12 49.7)

  • #88C479

    #88C479

    oklch(76.1% 0.121 139.5)

  • #50C0EF

    #50C0EF

    oklch(76.3% 0.121 229.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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