#D282E4#D282E4

#D282E4 is a light, vivid purple. Relative luminance 0.353; OKLCH L 72.5% C 0.160 H 320.1°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#D282E4
RGBrgb(210, 130, 228)
HSLhsl(289, 64%, 70%)
HSVhsv(289, 43%, 89%)
CMYKcmyk(7.9%, 43%, 0%, 10.6%)
CIE-LABlab(65.96, 46.45, -37.37)
CIE-LCHlch(65.96, 59.62, 321.19°)
OKLaboklab(72.55% 0.123 -0.1029)
OKLCHoklch(72.55% 0.16 320.1)
XYZxyz(48.5628, 35.2700, 77.6334)
Luminance0.3527 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D282E4 #94E482
analogous
#A182E4 #D282E4 #E482C5
triadic
#D282E4 #E4D282 #82E4D2
tetradic
#D282E4 #E4A182 #94E482 #82C5E4
square
#D282E4 #E4A182 #94E482 #82C5E4
split-complementary
#D282E4 #C5E482 #82E4A1
monochromatic
#A62AC2 #C050D9 #D282E4 #E4B4EF #F6E6FA

Accessibility & contrast

On white

2.61
#D282E4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.05
#D282E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D282E4
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D282E4#FFFFFF#000000##000000
##D282E41.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#749BE7
Deuteranopia (green-blind)
#89A3E1
Tritanopia (blue-blind)
#D38EA8
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #d282e4;
/* rgb */ color: rgb(210, 130, 228);
/* oklch */ color: oklch(72.5% 0.160 320.1);
Tailwind
colors: {
  custom: {
    50: '#e1a8ed',
    500: '#d282e4',
    950: '#000000',
  },
}
SCSS
$custom: #d282e4;
$custom-light: #e1a8ed;
$custom-dark: #000000;
JSON
{
  "hex": "#d282e4",
  "rgb": {
    "r": 210,
    "g": 130,
    "b": 228
  },
  "hsl": {
    "h": 288.98,
    "s": 64.474,
    "l": 70.196
  },
  "oklch": {
    "l": 0.7255,
    "c": 0.16036,
    "h": 320.1
  },
  "luminance": 0.35268
}

Semantic roles & 50–950 ramp

primary
#D282E4
secondary
#D8EED3
accent
#CC193A
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#151016
muted
#847F84

Preview Lab

Preview with #D282E4

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

Preview Lab → · Contrast checker → · Palette generator →

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