#D282EE#D282EE

#D282EE is a light, vivid purple. Relative luminance 0.358; OKLCH L 73.0% C 0.171 H 316.9°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#D282EE
RGBrgb(210, 130, 238)
HSLhsl(284, 76%, 72%)
HSVhsv(284, 45%, 93%)
CMYKcmyk(11.8%, 45.4%, 0%, 6.7%)
CIE-LABlab(66.40, 48.44, -42.20)
CIE-LCHlch(66.40, 64.24, 318.94°)
OKLaboklab(73.02% 0.1247 -0.1168)
OKLCHoklch(73.02% 0.171 316.9)
XYZxyz(49.9913, 35.8414, 85.1570)
Luminance0.3584 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D282EE #9EEE82
analogous
#9C82EE #D282EE #EE82D4
triadic
#D282EE #EED282 #82EED2
tetradic
#D282EE #EE9C82 #9EEE82 #82D4EE
square
#D282EE #EE9C82 #9EEE82 #82D4EE
split-complementary
#D282EE #D4EE82 #82EE9C
monochromatic
#A81DD8 #BF4CE7 #D282EE #E5B8F5 #F5E4FB

Accessibility & contrast

On white

2.57
#D282EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.17
#D282EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D282EE
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D282EE#FFFFFF#000000##000000
##D282EE1.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9CF2
Deuteranopia (green-blind)
#85A4EB
Tritanopia (blue-blind)
#D191AD
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #d282ee;
/* rgb */ color: rgb(210, 130, 238);
/* oklch */ color: oklch(73.0% 0.171 316.9);
Tailwind
colors: {
  custom: {
    50: '#e2a8f4',
    500: '#d282ee',
    950: '#000000',
  },
}
SCSS
$custom: #d282ee;
$custom-light: #e2a8f4;
$custom-dark: #000000;
JSON
{
  "hex": "#d282ee",
  "rgb": {
    "r": 210,
    "g": 130,
    "b": 238
  },
  "hsl": {
    "h": 284.444,
    "s": 76.056,
    "l": 72.157
  },
  "oklch": {
    "l": 0.73023,
    "c": 0.17084,
    "h": 316.9
  },
  "luminance": 0.3584
}

Semantic roles & 50–950 ramp

primary
#D282EE
secondary
#DFF3D8
accent
#D80D42
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#161017
muted
#847F85

Preview Lab

Preview with #D282EE

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

Preview Lab → · Contrast checker → · Palette generator →

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