#D98FF4

Closest named color: Baby Purple (#CA9BF7). oklch(76.1% 0.159 316.6), rgb(217, 143, 244).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (76%)
Chromavivid (0.159)
Temperaturein between
Nearest nameBaby Purple (#CA9BF7)
Black text9.18:1
White text2.28:1

Values

HEX#D98FF4
RGBrgb(217, 143, 244)
HSLhsl(284, 82%, 76%)
OKLCHoklch(76.1% 0.159 316.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 #D98FF4 2.28:1 Fails Lc -49.7 Large or bold text, headings
Black text on #D98FF4 9.18:1 AAA Lc 59.1 Large or bold text, headings
#D98FF4 text on white 2.28:1 Fails Lc 44.9 Non-text elements, placeholder text
#D98FF4 text on black 9.18:1 AAA Lc -57.2 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

    #FBF1FF

    oklch(97% 0.021 316.5)

  2. Step 100

    100

    #F7E1FF

    oklch(93.6% 0.046 317.1)

  3. Step 200

    200

    #F0C8FF

    oklch(88.4% 0.085 316.7)

  4. Step 300

    300 (this color)

    #D98FF4

    oklch(76.1% 0.159 316.6)

  5. Step 400

    400

    #D865FF

    oklch(70.7% 0.234 316.6)

  6. Step 500

    500

    #CD0CFF

    oklch(63.1% 0.305 316.5)

  7. Step 600

    600

    #AE00D9

    oklch(55.7% 0.272 316.6)

  8. Step 700

    700

    #9300B8

    oklch(49.2% 0.24 316.6)

  9. Step 800

    800

    #790098

    oklch(42.7% 0.209 316.6)

  10. Step 900

    900

    #660080

    oklch(37.8% 0.184 316.8)

  11. Step 950

    950

    #3E0050

    oklch(27% 0.132 316.3)

Export this scale for Tailwind in the Tailwind colors tool

#D98FF4 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)#7EA7F80.135
Deuteranopia (no green cones)#91AEF10.123
Tritanopia (no blue cones)#D89CB60.105
Achromatopsia (no color)#ABABAB0.160

Harmonies

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

Complementary

The opposite hue (180°).

  • #D98FF4

    #D98FF4

    oklch(76.1% 0.159 316.6)

  • #7FC85D

    #7FC85D

    oklch(76.1% 0.159 136.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D98FF4

    #D98FF4

    oklch(76.1% 0.159 316.6)

  • #ABA4FF

    #ABA4FF

    oklch(76% 0.129 286.4)

  • #F884C5

    #F884C5

    oklch(76% 0.159 346.8)

Open the analogous palette in the generator

Split complementary

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

  • #D98FF4

    #D98FF4

    oklch(76.1% 0.159 316.6)

  • #BEB714

    #BEB714

    oklch(76.1% 0.159 106.8)

  • #00D09B

    #00D09B

    oklch(76.1% 0.157 166.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D98FF4

    #D98FF4

    oklch(76.1% 0.159 316.6)

  • #E9A102

    #E9A102

    oklch(76% 0.159 76.6)

  • #00CACD

    #00CACD

    oklch(76.1% 0.13 196.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D98FF4

    #D98FF4

    oklch(76.1% 0.159 316.6)

  • #FF8F56

    #FF8F56

    oklch(76% 0.153 46.4)

  • #7FC85D

    #7FC85D

    oklch(76.1% 0.159 136.7)

  • #00C3F8

    #00C3F8

    oklch(76.1% 0.146 226.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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