#D284EA#D284EA

#D284EA is a light, vivid purple. Relative luminance 0.361; OKLCH L 73.1% C 0.163 H 317.9°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#D284EA
RGBrgb(210, 132, 234)
HSLhsl(286, 71%, 72%)
HSVhsv(286, 44%, 92%)
CMYKcmyk(10.3%, 43.6%, 0%, 8.2%)
CIE-LABlab(66.63, 46.59, -39.63)
CIE-LCHlch(66.63, 61.17, 319.61°)
OKLaboklab(73.14% 0.1212 -0.1094)
OKLCHoklch(73.14% 0.163 317.9)
XYZxyz(49.6788, 36.1462, 82.1859)
Luminance0.3614 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D284EA #9CEA84
analogous
#9F84EA #D284EA #EA84CF
triadic
#D284EA #EAD284 #84EAD2
tetradic
#D284EA #EA9F84 #9CEA84 #84CFEA
square
#D284EA #EA9F84 #9CEA84 #84CFEA
split-complementary
#D284EA #CFEA84 #84EA9F
monochromatic
#A724D0 #BF50E1 #D284EA #E5B8F3 #F5E5FB

Accessibility & contrast

On white

2.55
#D284EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.23
#D284EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D284EA
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D284EA#FFFFFF#000000##000000
##D284EA1.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#739DEE
Deuteranopia (green-blind)
#88A5E7
Tritanopia (blue-blind)
#D292AC
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #d284ea;
/* rgb */ color: rgb(210, 132, 234);
/* oklch */ color: oklch(73.1% 0.163 317.9);
Tailwind
colors: {
  custom: {
    50: '#e1a9f1',
    500: '#d284ea',
    950: '#000000',
  },
}
SCSS
$custom: #d284ea;
$custom-light: #e1a9f1;
$custom-dark: #000000;
JSON
{
  "hex": "#d284ea",
  "rgb": {
    "r": 210,
    "g": 132,
    "b": 234
  },
  "hsl": {
    "h": 285.882,
    "s": 70.833,
    "l": 71.765
  },
  "oklch": {
    "l": 0.73139,
    "c": 0.1633,
    "h": 317.9
  },
  "luminance": 0.36145
}

Semantic roles & 50–950 ramp

primary
#D284EA
secondary
#DEF2D8
accent
#D31340
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#151017
muted
#847F85

Preview Lab

Preview with #D284EA

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

Preview Lab → · Contrast checker → · Palette generator →

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