#D282DC#D282DC

#D282DC is a light, vivid purple. Relative luminance 0.348; OKLCH L 72.2% C 0.152 H 322.9°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#D282DC
RGBrgb(210, 130, 220)
HSLhsl(293, 56%, 69%)
HSVhsv(293, 41%, 86%)
CMYKcmyk(4.5%, 40.9%, 0%, 13.7%)
CIE-LABlab(65.62, 44.91, -33.45)
CIE-LCHlch(65.62, 56.00, 323.32°)
OKLaboklab(72.19% 0.1214 -0.0917)
OKLCHoklch(72.19% 0.152 322.9)
XYZxyz(47.4779, 34.8361, 71.9194)
Luminance0.3483 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D282DC #8CDC82
analogous
#A582DC #D282DC #DC82B9
triadic
#D282DC #DCD282 #82DCD2
tetradic
#D282DC #DCA582 #8CDC82 #82B9DC
square
#D282DC #DCA582 #8CDC82 #82B9DC
split-complementary
#D282DC #B9DC82 #82DCA5
monochromatic
#A432B2 #C152CF #D282DC #E3B2E9 #F4E2F7

Accessibility & contrast

On white

2.64
#D282DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.97
#D282DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D282DC
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D282DC#FFFFFF#000000##000000
##D282DC1.002.647.977.97
#FFFFFF2.641.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7899DF
Deuteranopia (green-blind)
#8DA3D9
Tritanopia (blue-blind)
#D58CA5
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #d282dc;
/* rgb */ color: rgb(210, 130, 220);
/* oklch */ color: oklch(72.2% 0.152 322.9);
Tailwind
colors: {
  custom: {
    50: '#e1a8e7',
    500: '#d282dc',
    950: '#000000',
  },
}
SCSS
$custom: #d282dc;
$custom-light: #e1a8e7;
$custom-dark: #000000;
JSON
{
  "hex": "#d282dc",
  "rgb": {
    "r": 210,
    "g": 130,
    "b": 220
  },
  "hsl": {
    "h": 293.333,
    "s": 56.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.72187,
    "c": 0.15218,
    "h": 322.9
  },
  "luminance": 0.34834
}

Semantic roles & 50–950 ramp

primary
#D282DC
secondary
#D2EACF
accent
#C42234
background
#FEFAFE
surface
#FCF4FC
border
#D5CED5
text
#151016
muted
#847F84

Preview Lab

Preview with #D282DC

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

Preview Lab → · Contrast checker → · Palette generator →

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