#D284EB#D284EB

#D284EB is a light, vivid purple. Relative luminance 0.362; OKLCH L 73.2% C 0.164 H 317.6°. Best body text is #000000 at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#D284EB
RGBrgb(210, 132, 235)
HSLhsl(285, 72%, 72%)
HSVhsv(285, 44%, 92%)
CMYKcmyk(10.6%, 43.8%, 0%, 7.8%)
CIE-LABlab(66.68, 46.79, -40.11)
CIE-LCHlch(66.68, 61.63, 319.39°)
OKLaboklab(73.19% 0.1214 -0.1108)
OKLCHoklch(73.19% 0.164 317.6)
XYZxyz(49.8229, 36.2038, 82.9447)
Luminance0.3620 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D284EB #9DEB84
analogous
#9F84EB #D284EB #EB84D1
triadic
#D284EB #EBD284 #84EBD2
tetradic
#D284EB #EB9F84 #9DEB84 #84D1EB
square
#D284EB #EB9F84 #9DEB84 #84D1EB
split-complementary
#D284EB #D1EB84 #84EB9F
monochromatic
#A822D2 #BF4FE2 #D284EB #E5B9F4 #F5E5FB

Accessibility & contrast

On white

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

On black

8.24
#D284EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D284EB
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D284EB#FFFFFF#000000##000000
##D284EB1.002.558.248.24
#FFFFFF2.551.0021.0021.00
#0000008.2421.001.001.00
##0000008.2421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d284eb;
/* rgb */ color: rgb(210, 132, 235);
/* oklch */ color: oklch(73.2% 0.164 317.6);
Tailwind
colors: {
  custom: {
    50: '#e1a9f2',
    500: '#d284eb',
    950: '#000000',
  },
}
SCSS
$custom: #d284eb;
$custom-light: #e1a9f2;
$custom-dark: #000000;
JSON
{
  "hex": "#d284eb",
  "rgb": {
    "r": 210,
    "g": 132,
    "b": 235
  },
  "hsl": {
    "h": 285.437,
    "s": 72.028,
    "l": 71.961
  },
  "oklch": {
    "l": 0.73186,
    "c": 0.16436,
    "h": 317.6
  },
  "luminance": 0.36202
}

Semantic roles & 50–950 ramp

primary
#D284EB
secondary
#DFF2D8
accent
#D41141
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#151017
muted
#847F85

Preview Lab

Preview with #D284EB

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

Preview Lab → · Contrast checker → · Palette generator →

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