#D580F2

Closest named color: Liliac (#C48EFD). oklch(73.2% 0.18 317), rgb(213, 128, 242).

Aa

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

About this color

#D580F2 is a medium-light, vivid purple. In OKLCH its lightness is 73%, its chroma 0.180 and its hue 317°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Liliac (#C48EFD), ΔE 0.040 away. Black text reads best on it, at 8.19:1.

Hue familyPurples
Lightnessmedium-light (73%)
Chromavivid (0.180)
Temperaturein between
Nearest nameLiliac (#C48EFD)
Black text8.19:1
White text2.56:1

Values

HEX#D580F2
RGBrgb(213, 128, 242)
HSLhsl(285, 81%, 73%)
OKLCHoklch(73.2% 0.18 317)

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 #D580F2 2.56:1 Fails Lc -54.9 Large or bold text, headings
Black text on #D580F2 8.19:1 AAA Lc 54.2 Large or bold text, headings
#D580F2 text on white 2.56:1 Fails Lc 49.8 Large or bold text, headings
#D580F2 text on black 8.19:1 AAA Lc -52.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 400.

  1. Step 50

    50

    #FAF3FC

    oklch(97.2% 0.014 318.7)

  2. Step 100

    100

    #F3E4F9

    oklch(93.7% 0.032 316.4)

  3. Step 200

    200

    #EACDF5

    oklch(88.5% 0.062 316.7)

  4. Step 300

    300

    #DEAAF1

    oklch(80.9% 0.112 316.8)

  5. Step 400

    400 (this color)

    #D580F2

    oklch(73.2% 0.18 317)

  6. Step 500

    500

    #BF4DE2

    oklch(63.2% 0.229 317.3)

  7. Step 600

    600

    #AA22D0

    oklch(55.6% 0.25 317)

  8. Step 700

    700

    #920EB4

    oklch(49.1% 0.232 317.1)

  9. Step 800

    800

    #761492

    oklch(42.6% 0.192 316.8)

  10. Step 900

    900

    #601C74

    oklch(37.7% 0.15 317.3)

  11. Step 950

    950

    #381344

    oklch(27% 0.094 316.9)

Export this scale for Tailwind in the Tailwind colors tool

#D580F2 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)#6B9CF60.157
Deuteranopia (no green cones)#83A4EF0.141
Tritanopia (no blue cones)#D490AE0.117
Achromatopsia (no color)#A2A2A20.181

Harmonies

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

Complementary

The opposite hue (180°).

  • #D580F2

    #D580F2

    oklch(73.2% 0.18 317)

  • #6DC145

    #6DC145

    oklch(73.2% 0.179 137.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D580F2

    #D580F2

    oklch(73.2% 0.18 317)

  • #A398FF

    #A398FF

    oklch(73.2% 0.147 287.1)

  • #F673BE

    #F673BE

    oklch(73.2% 0.18 347)

Open the analogous palette in the generator

Split complementary

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

  • #D580F2

    #D580F2

    oklch(73.2% 0.18 317)

  • #B4AE00

    #B4AE00

    oklch(73.2% 0.157 107.2)

  • #00C694

    #00C694

    oklch(73.3% 0.151 166.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D580F2

    #D580F2

    oklch(73.2% 0.18 317)

  • #DE9900

    #DE9900

    oklch(73.2% 0.153 76.6)

  • #00C0C3

    #00C0C3

    oklch(73.2% 0.125 196.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D580F2

    #D580F2

    oklch(73.2% 0.18 317)

  • #FF7F35

    #FF7F35

    oklch(73.2% 0.177 47)

  • #6DC145

    #6DC145

    oklch(73.2% 0.179 137.1)

  • #00B9ED

    #00B9ED

    oklch(73.3% 0.142 227)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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