#D282EF#D282EF

#D282EF is a light, vivid purple. Relative luminance 0.359; OKLCH L 73.1% C 0.172 H 316.6°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#D282EF
RGBrgb(210, 130, 239)
HSLhsl(284, 77%, 72%)
HSVhsv(284, 46%, 94%)
CMYKcmyk(12.1%, 45.6%, 0%, 6.3%)
CIE-LABlab(66.44, 48.64, -42.68)
CIE-LCHlch(66.44, 64.71, 318.73°)
OKLaboklab(73.07% 0.1248 -0.1182)
OKLCHoklch(73.07% 0.172 316.6)
XYZxyz(50.1387, 35.9004, 85.9329)
Luminance0.3590 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D282EF #9FEF82
analogous
#9C82EF #D282EF #EF82D5
triadic
#D282EF #EFD282 #82EFD2
tetradic
#D282EF #EF9C82 #9FEF82 #82D5EF
square
#D282EF #EF9C82 #9FEF82 #82D5EF
split-complementary
#D282EF #D5EF82 #82EF9C
monochromatic
#A81CDB #BE4CE8 #D282EF #E6B8F6 #F5E4FC

Accessibility & contrast

On white

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

On black

8.18
#D282EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D282EF
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D282EF#FFFFFF#000000##000000
##D282EF1.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9DF3
Deuteranopia (green-blind)
#84A4EC
Tritanopia (blue-blind)
#D191AD
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #d282ef;
/* rgb */ color: rgb(210, 130, 239);
/* oklch */ color: oklch(73.1% 0.172 316.6);
Tailwind
colors: {
  custom: {
    50: '#e2a8f4',
    500: '#d282ef',
    950: '#000000',
  },
}
SCSS
$custom: #d282ef;
$custom-light: #e2a8f4;
$custom-dark: #000000;
JSON
{
  "hex": "#d282ef",
  "rgb": {
    "r": 210,
    "g": 130,
    "b": 239
  },
  "hsl": {
    "h": 284.037,
    "s": 77.305,
    "l": 72.353
  },
  "oklch": {
    "l": 0.73071,
    "c": 0.1719,
    "h": 316.6
  },
  "luminance": 0.35899
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D282EF

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

Preview Lab → · Contrast checker → · Palette generator →

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