#D282EA#D282EA

#D282EA is a light, vivid purple. Relative luminance 0.356; OKLCH L 72.8% C 0.167 H 318.1°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#D282EA
RGBrgb(210, 130, 234)
HSLhsl(286, 71%, 71%)
HSVhsv(286, 44%, 92%)
CMYKcmyk(10.3%, 44.4%, 0%, 8.2%)
CIE-LABlab(66.22, 47.64, -40.27)
CIE-LCHlch(66.22, 62.38, 319.79°)
OKLaboklab(72.83% 0.124 -0.1113)
OKLCHoklch(72.83% 0.167 318.1)
XYZxyz(49.4102, 35.6090, 82.0964)
Luminance0.3561 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D282EA #9AEA82
analogous
#9E82EA #D282EA #EA82CE
triadic
#D282EA #EAD282 #82EAD2
tetradic
#D282EA #EA9E82 #9AEA82 #82CEEA
square
#D282EA #EA9E82 #9AEA82 #82CEEA
split-complementary
#D282EA #CEEA82 #82EA9E
monochromatic
#A723CF #BF4EE1 #D282EA #E5B6F3 #F6E5FB

Accessibility & contrast

On white

2.59
#D282EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.12
#D282EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D282EA
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D282EA#FFFFFF#000000##000000
##D282EA1.002.598.128.12
#FFFFFF2.591.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#719CEE
Deuteranopia (green-blind)
#87A4E7
Tritanopia (blue-blind)
#D290AB
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #d282ea;
/* rgb */ color: rgb(210, 130, 234);
/* oklch */ color: oklch(72.8% 0.167 318.1);
Tailwind
colors: {
  custom: {
    50: '#e1a8f1',
    500: '#d282ea',
    950: '#000000',
  },
}
SCSS
$custom: #d282ea;
$custom-light: #e1a8f1;
$custom-dark: #000000;
JSON
{
  "hex": "#d282ea",
  "rgb": {
    "r": 210,
    "g": 130,
    "b": 234
  },
  "hsl": {
    "h": 286.154,
    "s": 71.233,
    "l": 71.373
  },
  "oklch": {
    "l": 0.72831,
    "c": 0.16662,
    "h": 318.1
  },
  "luminance": 0.35607
}

Semantic roles & 50–950 ramp

primary
#D282EA
secondary
#DDF1D6
accent
#D3123F
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#151017
muted
#847F85

Preview Lab

Preview with #D282EA

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

Preview Lab → · Contrast checker → · Palette generator →

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