#D282C8#D282C8

#D282C8 is a light, vivid purple. Relative luminance 0.338; OKLCH L 71.3% C 0.133 H 331.5°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#D282C8
RGBrgb(210, 130, 200)
HSLhsl(308, 47%, 67%)
HSVhsv(308, 38%, 82%)
CMYKcmyk(0%, 38.1%, 4.8%, 17.6%)
CIE-LABlab(64.83, 41.23, -23.49)
CIE-LCHlch(64.83, 47.45, 330.33°)
OKLaboklab(71.34% 0.1168 -0.0635)
OKLCHoklch(71.34% 0.133 331.5)
XYZxyz(44.9858, 33.8392, 58.7944)
Luminance0.3384 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D282C8 #82D28C
analogous
#B482D2 #D282C8 #D282A0
triadic
#D282C8 #C8D282 #82C8D2
tetradic
#D282C8 #D2B482 #82D28C #82A0D2
square
#D282C8 #D2B482 #82D28C #82A0D2
split-complementary
#D282C8 #A0D282 #82D2B4
monochromatic
#A03A93 #C255B4 #D282C8 #E2AFDC #F2DCF0

Accessibility & contrast

On white

2.70
#D282C8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#D282C8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D282C8
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D282C8#FFFFFF#000000##000000
##D282C81.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8096CB
Deuteranopia (green-blind)
#94A1C6
Tritanopia (blue-blind)
#D8879C
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d282c8;
/* rgb */ color: rgb(210, 130, 200);
/* oklch */ color: oklch(71.3% 0.133 331.5);
Tailwind
colors: {
  custom: {
    50: '#e1a8d9',
    500: '#d282c8',
    950: '#000000',
  },
}
SCSS
$custom: #d282c8;
$custom-light: #e1a8d9;
$custom-dark: #000000;
JSON
{
  "hex": "#d282c8",
  "rgb": {
    "r": 210,
    "g": 130,
    "b": 200
  },
  "hsl": {
    "h": 307.5,
    "s": 47.059,
    "l": 66.667
  },
  "oklch": {
    "l": 0.71337,
    "c": 0.13297,
    "h": 331.5
  },
  "luminance": 0.33837
}

Semantic roles & 50–950 ramp

primary
#D282C8
secondary
#CBE5CE
accent
#BA3D2B
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#151014
muted
#837F83

Preview Lab

Preview with #D282C8

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

Preview Lab → · Contrast checker → · Palette generator →

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