#D282F2#D282F2

#D282F2 is a light, vivid purple. Relative luminance 0.361; OKLCH L 73.2% C 0.175 H 315.7°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#D282F2
RGBrgb(210, 130, 242)
HSLhsl(283, 81%, 73%)
HSVhsv(283, 46%, 95%)
CMYKcmyk(13.2%, 46.3%, 0%, 5.1%)
CIE-LABlab(66.58, 49.25, -44.12)
CIE-LCHlch(66.58, 66.12, 318.14°)
OKLaboklab(73.22% 0.1253 -0.1224)
OKLCHoklch(73.22% 0.175 315.7)
XYZxyz(50.5855, 36.0791, 88.2864)
Luminance0.3608 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D282F2 #A2F282
analogous
#9A82F2 #D282F2 #F282DA
triadic
#D282F2 #F2D282 #82F2D2
tetradic
#D282F2 #F29A82 #A2F282 #82DAF2
square
#D282F2 #F29A82 #A2F282 #82DAF2
split-complementary
#D282F2 #DAF282 #82F29A
monochromatic
#A818E2 #BE4BEC #D282F2 #E6B9F8 #F5E3FC

Accessibility & contrast

On white

2.56
#D282F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.22
#D282F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D282F2
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D282F2#FFFFFF#000000##000000
##D282F21.002.568.228.22
#FFFFFF2.561.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9DF6
Deuteranopia (green-blind)
#83A4EF
Tritanopia (blue-blind)
#D092AF
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #d282f2;
/* rgb */ color: rgb(210, 130, 242);
/* oklch */ color: oklch(73.2% 0.175 315.7);
Tailwind
colors: {
  custom: {
    50: '#e2a8f7',
    500: '#d282f2',
    950: '#000000',
  },
}
SCSS
$custom: #d282f2;
$custom-light: #e2a8f7;
$custom-dark: #000000;
JSON
{
  "hex": "#d282f2",
  "rgb": {
    "r": 210,
    "g": 130,
    "b": 242
  },
  "hsl": {
    "h": 282.857,
    "s": 81.159,
    "l": 72.941
  },
  "oklch": {
    "l": 0.73218,
    "c": 0.17511,
    "h": 315.7
  },
  "luminance": 0.36078
}

Semantic roles & 50–950 ramp

primary
#D282F2
secondary
#DFF4D7
accent
#DE0845
background
#FEFAFF
surface
#FCF4FE
border
#D5CED6
text
#161017
muted
#847F85

Preview Lab

Preview with #D282F2

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

Preview Lab → · Contrast checker → · Palette generator →

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