#D398F3

Closest named color: Baby Purple (#CA9BF7). oklch(76.9% 0.14 313.1), rgb(211, 152, 243).

Aa

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

About this color

#D398F3 is a medium-light, vivid purple. In OKLCH its lightness is 77%, its chroma 0.140 and its hue 313°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Baby Purple (#CA9BF7), ΔE 0.015 away. Black text reads best on it, at 9.55:1.

Hue familyPurples
Lightnessmedium-light (77%)
Chromavivid (0.140)
Temperaturein between
Nearest nameBaby Purple (#CA9BF7)
Black text9.55:1
White text2.19:1

Values

HEX#D398F3
RGBrgb(211, 152, 243)
HSLhsl(279, 79%, 77%)
OKLCHoklch(76.9% 0.14 313.1)

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 #D398F3 2.19:1 Fails Lc -47.9 Large or bold text, headings
Black text on #D398F3 9.55:1 AAA Lc 60.8 Content text, not long reading
#D398F3 text on white 2.19:1 Fails Lc 43.1 Non-text elements, placeholder text
#D398F3 text on black 9.55:1 AAA Lc -59.1 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

    #FAF2FF

    oklch(97.1% 0.019 312.8)

  2. Step 100

    100

    #F4E2FE

    oklch(93.6% 0.042 313.7)

  3. Step 200

    200

    #EBCBFE

    oklch(88.5% 0.077 312.8)

  4. Step 300

    300 (this color)

    #D398F3

    oklch(76.9% 0.14 313.1)

  5. Step 400

    400

    #CF6EFF

    oklch(70.7% 0.218 313.1)

  6. Step 500

    500

    #C330FF

    oklch(63.1% 0.284 313.1)

  7. Step 600

    600

    #A900E2

    oklch(55.6% 0.277 313)

  8. Step 700

    700

    #8F00BF

    oklch(49.1% 0.244 313.2)

  9. Step 800

    800

    #76009E

    oklch(42.7% 0.212 313.3)

  10. Step 900

    900

    #620185

    oklch(37.6% 0.187 312.9)

  11. Step 950

    950

    #3A0A4E

    oklch(27.1% 0.118 313.2)

Export this scale for Tailwind in the Tailwind colors tool

#D398F3 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)#88ACF60.111
Deuteranopia (no green cones)#96B0F00.101
Tritanopia (no blue cones)#D0A4BA0.097
Achromatopsia (no color)#AFAFAF0.141

Harmonies

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

Complementary

The opposite hue (180°).

  • #D398F3

    #D398F3

    oklch(76.9% 0.14 313.1)

  • #90C766

    #90C766

    oklch(77% 0.14 133.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D398F3

    #D398F3

    oklch(76.9% 0.14 313.1)

  • #A9A9FF

    #A9A9FF

    oklch(76.8% 0.122 283.1)

  • #F18ECB

    #F18ECB

    oklch(76.9% 0.14 343.2)

Open the analogous palette in the generator

Split complementary

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

  • #D398F3

    #D398F3

    oklch(76.9% 0.14 313.1)

  • #C4B73C

    #C4B73C

    oklch(76.8% 0.14 103.2)

  • #49CF9A

    #49CF9A

    oklch(76.8% 0.14 163.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D398F3

    #D398F3

    oklch(76.9% 0.14 313.1)

  • #E9A43E

    #E9A43E

    oklch(76.8% 0.14 73)

  • #00CECB

    #00CECB

    oklch(77% 0.132 192.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D398F3

    #D398F3

    oklch(76.9% 0.14 313.1)

  • #FD9468

    #FD9468

    oklch(76.8% 0.14 43.1)

  • #90C766

    #90C766

    oklch(77% 0.14 133.1)

  • #18C6F4

    #18C6F4

    oklch(76.8% 0.14 223)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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