#D282EC#D282EC

#D282EC is a light, vivid purple. Relative luminance 0.357; OKLCH L 72.9% C 0.169 H 317.5°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#D282EC
RGBrgb(210, 130, 236)
HSLhsl(285, 74%, 72%)
HSVhsv(285, 45%, 93%)
CMYKcmyk(11%, 44.9%, 0%, 7.5%)
CIE-LABlab(66.31, 48.04, -41.24)
CIE-LCHlch(66.31, 63.31, 319.35°)
OKLaboklab(72.93% 0.1243 -0.1141)
OKLCHoklch(72.93% 0.169 317.5)
XYZxyz(49.6992, 35.7246, 83.6181)
Luminance0.3572 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D282EC #9CEC82
analogous
#9D82EC #D282EC #EC82D1
triadic
#D282EC #ECD282 #82ECD2
tetradic
#D282EC #EC9D82 #9CEC82 #82D1EC
square
#D282EC #EC9D82 #9CEC82 #82D1EC
split-complementary
#D282EC #D1EC82 #82EC9D
monochromatic
#A720D3 #BF4DE4 #D282EC #E5B7F4 #F5E4FB

Accessibility & contrast

On white

2.58
#D282EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.14
#D282EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D282EC
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D282EC#FFFFFF#000000##000000
##D282EC1.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#709CF0
Deuteranopia (green-blind)
#86A4E9
Tritanopia (blue-blind)
#D291AC
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #d282ec;
/* rgb */ color: rgb(210, 130, 236);
/* oklch */ color: oklch(72.9% 0.169 317.5);
Tailwind
colors: {
  custom: {
    50: '#e1a8f2',
    500: '#d282ec',
    950: '#000000',
  },
}
SCSS
$custom: #d282ec;
$custom-light: #e1a8f2;
$custom-dark: #000000;
JSON
{
  "hex": "#d282ec",
  "rgb": {
    "r": 210,
    "g": 130,
    "b": 236
  },
  "hsl": {
    "h": 285.283,
    "s": 73.611,
    "l": 71.765
  },
  "oklch": {
    "l": 0.72927,
    "c": 0.16872,
    "h": 317.5
  },
  "luminance": 0.35723
}

Semantic roles & 50–950 ramp

primary
#D282EC
secondary
#DEF2D7
accent
#D61040
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#161017
muted
#847F85

Preview Lab

Preview with #D282EC

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

Preview Lab → · Contrast checker → · Palette generator →

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