#D284DC#D284DC

#D284DC is a light, vivid purple. Relative luminance 0.354; OKLCH L 72.5% C 0.149 H 322.8°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#D284DC
RGBrgb(210, 132, 220)
HSLhsl(293, 56%, 69%)
HSVhsv(293, 40%, 86%)
CMYKcmyk(4.5%, 40%, 0%, 13.7%)
CIE-LABlab(66.04, 43.86, -32.80)
CIE-LCHlch(66.04, 54.77, 323.20°)
OKLaboklab(72.5% 0.1185 -0.0899)
OKLCHoklch(72.5% 0.149 322.8)
XYZxyz(47.7465, 35.3733, 72.0089)
Luminance0.3537 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D284DC #8EDC84
analogous
#A684DC #D284DC #DC84BA
triadic
#D284DC #DCD284 #84DCD2
tetradic
#D284DC #DCA684 #8EDC84 #84BADC
square
#D284DC #DCA684 #8EDC84 #84BADC
split-complementary
#D284DC #BADC84 #84DCA6
monochromatic
#A433B3 #C154CE #D284DC #E3B4EA #F5E3F7

Accessibility & contrast

On white

2.60
#D284DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.07
#D284DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D284DC
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D284DC#FFFFFF#000000##000000
##D284DC1.002.608.078.07
#FFFFFF2.601.0021.0021.00
#0000008.0721.001.001.00
##0000008.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A9BDF
Deuteranopia (green-blind)
#8EA4D9
Tritanopia (blue-blind)
#D58EA6
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #d284dc;
/* rgb */ color: rgb(210, 132, 220);
/* oklch */ color: oklch(72.5% 0.149 322.8);
Tailwind
colors: {
  custom: {
    50: '#e1a9e7',
    500: '#d284dc',
    950: '#000000',
  },
}
SCSS
$custom: #d284dc;
$custom-light: #e1a9e7;
$custom-dark: #000000;
JSON
{
  "hex": "#d284dc",
  "rgb": {
    "r": 210,
    "g": 132,
    "b": 220
  },
  "hsl": {
    "h": 293.182,
    "s": 55.696,
    "l": 69.02
  },
  "oklch": {
    "l": 0.725,
    "c": 0.14876,
    "h": 322.8
  },
  "luminance": 0.35371
}

Semantic roles & 50–950 ramp

primary
#D284DC
secondary
#D4EBD1
accent
#C32235
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #D284DC

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

Preview Lab → · Contrast checker → · Palette generator →

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