#D950E2#D950E2

#D950E2 is a light, highly saturated purple. Relative luminance 0.260; OKLCH L 66.9% C 0.237 H 325.2°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#D950E2
RGBrgb(217, 80, 226)
HSLhsl(296, 72%, 60%)
HSVhsv(296, 65%, 89%)
CMYKcmyk(4%, 64.6%, 0%, 11.4%)
CIE-LABlab(58.02, 71.25, -48.67)
CIE-LCHlch(58.02, 86.29, 325.66°)
OKLaboklab(66.87% 0.1947 -0.1351)
OKLCHoklch(66.87% 0.237 325.2)
XYZxyz(45.2104, 25.9828, 74.5706)
Luminance0.2598 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D950E2 #59E250
analogous
#9050E2 #D950E2 #E250A2
triadic
#D950E2 #E2D950 #50E2D9
tetradic
#D950E2 #E29050 #59E250 #50A2E2
square
#D950E2 #E29050 #59E250 #50A2E2
split-complementary
#D950E2 #A2E250 #50E290
monochromatic
#951A9E #C723D2 #D950E2 #E484EB #F0B9F3

Accessibility & contrast

On white

3.39
#D950E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#D950E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D950E2
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D950E2#FFFFFF#000000##000000
##D950E21.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3481E6
Deuteranopia (green-blind)
#6C91DE
Tritanopia (blue-blind)
#DE6693
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #d950e2;
/* rgb */ color: rgb(217, 80, 226);
/* oklch */ color: oklch(66.9% 0.237 325.2);
Tailwind
colors: {
  custom: {
    50: '#e88bec',
    500: '#d950e2',
    950: '#000000',
  },
}
SCSS
$custom: #d950e2;
$custom-light: #e88bec;
$custom-dark: #000000;
JSON
{
  "hex": "#d950e2",
  "rgb": {
    "r": 217,
    "g": 80,
    "b": 226
  },
  "hsl": {
    "h": 296.301,
    "s": 71.569,
    "l": 60
  },
  "oklch": {
    "l": 0.66871,
    "c": 0.23694,
    "h": 325.2
  },
  "luminance": 0.2598
}

Semantic roles & 50–950 ramp

primary
#D950E2
secondary
#AEE3AB
accent
#EE3945
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #D950E2

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

Preview Lab → · Contrast checker → · Palette generator →

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