#D298DF

Closest named color: Plum (#DDA0DD). oklch(75.9% 0.117 320.1), rgb(210, 152, 223).

Aa

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

About this color

#D298DF is a medium-light, moderately saturated purple. In OKLCH its lightness is 76%, its chroma 0.117 and its hue 320°. 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.29:1.

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

Values

HEX#D298DF
RGBrgb(210, 152, 223)
HSLhsl(289, 53%, 74%)
OKLCHoklch(75.9% 0.117 320.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 #D298DF 2.25:1 Fails Lc -49.2 Large or bold text, headings
Black text on #D298DF 9.29:1 AAA Lc 59.6 Large or bold text, headings
#D298DF text on white 2.25:1 Fails Lc 44.4 Non-text elements, placeholder text
#D298DF text on black 9.29:1 AAA Lc -57.7 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

    #F4E3F8

    oklch(93.6% 0.033 319.8)

  3. Step 200

    200

    #EDCCF4

    oklch(88.5% 0.065 320.3)

  4. Step 300

    300 (this color)

    #D298DF

    oklch(75.9% 0.117 320.1)

  5. Step 400

    400

    #D374E8

    oklch(70.8% 0.188 320.1)

  6. Step 500

    500

    #C545E0

    oklch(63% 0.24 320.1)

  7. Step 600

    600

    #B10FCE

    oklch(55.6% 0.261 320.1)

  8. Step 700

    700

    #9600B0

    oklch(49% 0.235 320)

  9. Step 800

    800

    #7B0690

    oklch(42.6% 0.2 320.1)

  10. Step 900

    900

    #641773

    oklch(37.8% 0.156 320.4)

  11. Step 950

    950

    #3A1043

    oklch(26.9% 0.099 320.1)

Export this scale for Tailwind in the Tailwind colors tool

#D298DF 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)#90A8E20.099
Deuteranopia (no green cones)#9DAFDD0.092
Tritanopia (no blue cones)#D3A0B20.075
Achromatopsia (no color)#ACACAC0.118

Harmonies

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

Complementary

The opposite hue (180°).

  • #D298DF

    #D298DF

    oklch(75.9% 0.117 320.1)

  • #88C37B

    #88C37B

    oklch(75.9% 0.117 140)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D298DF

    #D298DF

    oklch(75.9% 0.117 320.1)

  • #B0A4F6

    #B0A4F6

    oklch(76% 0.117 290)

  • #E991BB

    #E991BB

    oklch(75.9% 0.118 350.2)

Open the analogous palette in the generator

Split complementary

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

  • #D298DF

    #D298DF

    oklch(75.9% 0.117 320.1)

  • #B5B75A

    #B5B75A

    oklch(75.8% 0.117 110)

  • #56C9A6

    #56C9A6

    oklch(76% 0.117 170.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D298DF

    #D298DF

    oklch(75.9% 0.117 320.1)

  • #D8A853

    #D8A853

    oklch(75.9% 0.117 79.7)

  • #37C7CE

    #37C7CE

    oklch(76% 0.117 199.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D298DF

    #D298DF

    oklch(75.9% 0.117 320.1)

  • #EC9A6B

    #EC9A6B

    oklch(75.9% 0.117 50.1)

  • #88C37B

    #88C37B

    oklch(75.9% 0.117 140)

  • #55BEED

    #55BEED

    oklch(75.9% 0.117 230.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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