#D282ED#D282ED

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

Color values

HEX#D282ED
RGBrgb(210, 130, 237)
HSLhsl(285, 75%, 72%)
HSVhsv(285, 45%, 93%)
CMYKcmyk(11.4%, 45.1%, 0%, 7.1%)
CIE-LABlab(66.35, 48.24, -41.72)
CIE-LCHlch(66.35, 63.78, 319.14°)
OKLaboklab(72.97% 0.1245 -0.1154)
OKLCHoklch(72.97% 0.17 317.2)
XYZxyz(49.8448, 35.7828, 84.3854)
Luminance0.3578 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D282ED #9DED82
analogous
#9D82ED #D282ED #ED82D2
triadic
#D282ED #EDD282 #82EDD2
tetradic
#D282ED #ED9D82 #9DED82 #82D2ED
square
#D282ED #ED9D82 #9DED82 #82D2ED
split-complementary
#D282ED #D2ED82 #82ED9D
monochromatic
#A81FD6 #BF4DE5 #D282ED #E5B7F5 #F5E4FB

Accessibility & contrast

On white

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

On black

8.16
#D282ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D282ED
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D282ED#FFFFFF#000000##000000
##D282ED1.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9CF1
Deuteranopia (green-blind)
#85A4EA
Tritanopia (blue-blind)
#D191AC
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #d282ed;
/* rgb */ color: rgb(210, 130, 237);
/* oklch */ color: oklch(73.0% 0.170 317.2);
Tailwind
colors: {
  custom: {
    50: '#e1a8f3',
    500: '#d282ed',
    950: '#000000',
  },
}
SCSS
$custom: #d282ed;
$custom-light: #e1a8f3;
$custom-dark: #000000;
JSON
{
  "hex": "#d282ed",
  "rgb": {
    "r": 210,
    "g": 130,
    "b": 237
  },
  "hsl": {
    "h": 284.86,
    "s": 74.825,
    "l": 71.961
  },
  "oklch": {
    "l": 0.72975,
    "c": 0.16978,
    "h": 317.2
  },
  "luminance": 0.35781
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D282ED

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

Preview Lab → · Contrast checker → · Palette generator →

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