#D954E1#D954E1

#D954E1 is a light, highly saturated purple. Relative luminance 0.265; OKLCH L 67.2% C 0.231 H 325.4°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#D954E1
RGBrgb(217, 84, 225)
HSLhsl(297, 70%, 61%)
HSVhsv(297, 63%, 88%)
CMYKcmyk(3.6%, 62.7%, 0%, 11.8%)
CIE-LABlab(58.54, 69.49, -47.29)
CIE-LCHlch(58.54, 84.06, 325.77°)
OKLaboklab(67.23% 0.1902 -0.1311)
OKLCHoklch(67.23% 0.231 325.4)
XYZxyz(45.3752, 26.5314, 73.9506)
Luminance0.2653 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D954E1 #5CE154
analogous
#9254E1 #D954E1 #E154A2
triadic
#D954E1 #E1D954 #54E1D9
tetradic
#D954E1 #E19254 #5CE154 #54A2E1
square
#D954E1 #E19254 #5CE154 #54A2E1
split-complementary
#D954E1 #A2E154 #54E192
monochromatic
#971C9F #C925D3 #D954E1 #E588EA #F0BCF3

Accessibility & contrast

On white

3.33
#D954E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#D954E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D954E1
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D954E1#FFFFFF#000000##000000
##D954E11.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C82E5
Deuteranopia (green-blind)
#6F93DD
Tritanopia (blue-blind)
#DE6893
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #d954e1;
/* rgb */ color: rgb(217, 84, 225);
/* oklch */ color: oklch(67.2% 0.231 325.4);
Tailwind
colors: {
  custom: {
    50: '#e88deb',
    500: '#d954e1',
    950: '#000000',
  },
}
SCSS
$custom: #d954e1;
$custom-light: #e88deb;
$custom-dark: #000000;
JSON
{
  "hex": "#d954e1",
  "rgb": {
    "r": 217,
    "g": 84,
    "b": 225
  },
  "hsl": {
    "h": 296.596,
    "s": 70.149,
    "l": 60.588
  },
  "oklch": {
    "l": 0.67229,
    "c": 0.23103,
    "h": 325.4
  },
  "luminance": 0.26529
}

Semantic roles & 50–950 ramp

primary
#D954E1
secondary
#B1E3AE
accent
#D2131E
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #D954E1

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#D954E1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva