#D982F2

Closest named color: Violet (#EE82EE). oklch(74% 0.178 318.4), rgb(217, 130, 242).

Aa

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

About this color

#D982F2 is a medium-light, vivid purple. In OKLCH its lightness is 74%, its chroma 0.178 and its hue 318°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Violet (#EE82EE), ΔE 0.037 away. Black text reads best on it, at 8.42:1.

Hue familyPurples
Lightnessmedium-light (74%)
Chromavivid (0.178)
Temperaturein between
Nearest nameViolet (#EE82EE)
Black text8.42:1
White text2.49:1

Values

HEX#D982F2
RGBrgb(217, 130, 242)
HSLhsl(287, 81%, 73%)
OKLCHoklch(74% 0.178 318.4)

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 #D982F2 2.49:1 Fails Lc -53.7 Large or bold text, headings
Black text on #D982F2 8.42:1 AAA Lc 55.4 Large or bold text, headings
#D982F2 text on white 2.49:1 Fails Lc 48.6 Large or bold text, headings
#D982F2 text on black 8.42:1 AAA Lc -53.3 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 400.

  1. Step 50

    50

    #FAF2FC

    oklch(97% 0.016 319.4)

  2. Step 100

    100

    #F3E3F8

    oklch(93.5% 0.033 318.1)

  3. Step 200

    200

    #EBCDF4

    oklch(88.5% 0.062 318.4)

  4. Step 300

    300

    #DFAAEF

    oklch(81% 0.11 318.2)

  5. Step 400

    400 (this color)

    #D982F2

    oklch(74% 0.178 318.4)

  6. Step 500

    500

    #C04DDF

    oklch(63.1% 0.227 318.4)

  7. Step 600

    600

    #AC22CD

    oklch(55.6% 0.248 318.5)

  8. Step 700

    700

    #930EB1

    oklch(49% 0.23 318.4)

  9. Step 800

    800

    #781490

    oklch(42.8% 0.191 318.4)

  10. Step 900

    900

    #611C73

    oklch(37.8% 0.149 318.4)

  11. Step 950

    950

    #391343

    oklch(27.1% 0.093 318.7)

Export this scale for Tailwind in the Tailwind colors tool

#D982F2 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)#6F9EF60.158
Deuteranopia (no green cones)#88A7EF0.142
Tritanopia (no blue cones)#D991AF0.114
Achromatopsia (no color)#A4A4A40.180

Harmonies

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

Complementary

The opposite hue (180°).

  • #D982F2

    #D982F2

    oklch(74% 0.178 318.4)

  • #6CC44C

    #6CC44C

    oklch(74% 0.178 138.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D982F2

    #D982F2

    oklch(74% 0.178 318.4)

  • #A89AFF

    #A89AFF

    oklch(73.9% 0.144 288.7)

  • #F976BE

    #F976BE

    oklch(74% 0.178 348.2)

Open the analogous palette in the generator

Split complementary

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

  • #D982F2

    #D982F2

    oklch(74% 0.178 318.4)

  • #B5B100

    #B5B100

    oklch(74% 0.16 108.1)

  • #00C899

    #00C899

    oklch(74% 0.149 168.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D982F2

    #D982F2

    oklch(74% 0.178 318.4)

  • #DF9D00

    #DF9D00

    oklch(74.1% 0.154 78.5)

  • #00C2C8

    #00C2C8

    oklch(73.9% 0.126 198.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D982F2

    #D982F2

    oklch(74% 0.178 318.4)

  • #FF8439

    #FF8439

    oklch(74% 0.172 48.5)

  • #6CC44C

    #6CC44C

    oklch(74% 0.178 138.3)

  • #00BBF2

    #00BBF2

    oklch(74% 0.145 228.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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