#D51FE5

Closest named color: Purple Pink (#D725DE). oklch(63% 0.282 324.3), rgb(213, 31, 229).

Aa

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

About this color

#D51FE5 is a medium-light, vivid purple. In OKLCH its lightness is 63%, its chroma 0.282 and its hue 324°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purple Pink (#D725DE), ΔE 0.013 away. Black text reads best on it, at 5.15:1.

Hue familyPurples
Lightnessmedium-light (63%)
Chromavivid (0.282)
Temperaturein between
Nearest namePurple Pink (#D725DE)
Black text5.15:1
White text4.07:1

Values

HEX#D51FE5
RGBrgb(213, 31, 229)
HSLhsl(295, 79%, 51%)
OKLCHoklch(63% 0.282 324.3)

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 #D51FE5 4.07:1 AA large text Lc -71.5 Content text, not long reading
Black text on #D51FE5 5.15:1 AA Lc 38.1 Non-text elements, placeholder text
#D51FE5 text on white 4.07:1 AA large text Lc 66.0 Content text, not long reading
#D51FE5 text on black 5.15:1 AA Lc -35.7 Non-text elements, placeholder text

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 500.

  1. Step 50

    50

    #FCF1FD

    oklch(97% 0.02 323.2)

  2. Step 100

    100

    #F8E1F9

    oklch(93.5% 0.04 324.6)

  3. Step 200

    200

    #F3C8F6

    oklch(88.4% 0.077 324.1)

  4. Step 300

    300

    #EDA1F2

    oklch(81% 0.137 324.6)

  5. Step 400

    400

    #E165EC

    oklch(70.7% 0.221 324.3)

  6. Step 500

    500 (this color)

    #D51FE5

    oklch(63% 0.282 324.3)

  7. Step 600

    600

    #B700C5

    oklch(55.6% 0.261 324.4)

  8. Step 700

    700

    #9B00A7

    oklch(49.2% 0.231 324.4)

  9. Step 800

    800

    #80008A

    oklch(42.8% 0.201 324.5)

  10. Step 900

    900

    #6B0074

    oklch(37.7% 0.177 324.3)

  11. Step 950

    950

    #400645

    oklch(27% 0.116 324.5)

Export this scale for Tailwind in the Tailwind colors tool

#D51FE5 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)#0071EA0.283
Deuteranopia (no green cones)#4F85E10.254
Tritanopia (no blue cones)#D94E890.163
Achromatopsia (no color)#7E7E7E0.284

Harmonies

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

Complementary

The opposite hue (180°).

  • #D51FE5

    #D51FE5

    oklch(63% 0.282 324.3)

  • #00A624

    #00A624

    oklch(63% 0.203 144.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D51FE5

    #D51FE5

    oklch(63% 0.282 324.3)

  • #9562FF

    #9562FF

    oklch(63% 0.222 294)

  • #F30093

    #F30093

    oklch(63% 0.259 354.3)

Open the analogous palette in the generator

Split complementary

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

  • #D51FE5

    #D51FE5

    oklch(63% 0.282 324.3)

  • #889200

    #889200

    oklch(63% 0.142 114.5)

  • #00A084

    #00A084

    oklch(63% 0.119 174.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D51FE5

    #D51FE5

    oklch(63% 0.282 324.3)

  • #AE8100

    #AE8100

    oklch(63% 0.129 83.9)

  • #009CA7

    #009CA7

    oklch(63.1% 0.108 203.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D51FE5

    #D51FE5

    oklch(63% 0.282 324.3)

  • #CF6900

    #CF6900

    oklch(62.9% 0.157 54.2)

  • #00A624

    #00A624

    oklch(63% 0.203 144.2)

  • #0095CD

    #0095CD

    oklch(63.1% 0.132 234.2)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #D51FE5.

Similar named colors

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

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