#D282FB#D282FB

#D282FB is a light, vivid violet. Relative luminance 0.366; OKLCH L 73.7% C 0.185 H 313.2°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#D282FB
RGBrgb(210, 130, 251)
HSLhsl(280, 94%, 75%)
HSVhsv(280, 48%, 98%)
CMYKcmyk(16.3%, 48.2%, 0%, 1.6%)
CIE-LABlab(67.00, 51.10, -48.39)
CIE-LCHlch(67.00, 70.38, 316.56°)
OKLaboklab(73.67% 0.1264 -0.1347)
OKLCHoklch(73.67% 0.185 313.2)
XYZxyz(51.9706, 36.6332, 95.5813)
Luminance0.3663 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D282FB #ABFB82
analogous
#9582FB #D282FB #FB82E8
triadic
#D282FB #FBD282 #82FBD2
tetradic
#D282FB #FB9582 #ABFB82 #82E8FB
square
#D282FB #FB9582 #ABFB82 #82E8FB
split-complementary
#D282FB #E8FB82 #82FB95
monochromatic
#A70BF7 #BD47F9 #D282FB #E7BDFD #F4E1FE

Accessibility & contrast

On white

2.52
#D282FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.33
#D282FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D282FB
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D282FB#FFFFFF#000000##000000
##D282FB1.002.528.338.33
#FFFFFF2.521.0021.0021.00
#0000008.3321.001.001.00
##0000008.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#679FFF
Deuteranopia (green-blind)
#7EA5F8
Tritanopia (blue-blind)
#CE95B3
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #d282fb;
/* rgb */ color: rgb(210, 130, 251);
/* oklch */ color: oklch(73.7% 0.185 313.2);
Tailwind
colors: {
  custom: {
    50: '#e2a8fd',
    500: '#d282fb',
    950: '#000000',
  },
}
SCSS
$custom: #d282fb;
$custom-light: #e2a8fd;
$custom-dark: #000000;
JSON
{
  "hex": "#d282fb",
  "rgb": {
    "r": 210,
    "g": 130,
    "b": 251
  },
  "hsl": {
    "h": 279.669,
    "s": 93.798,
    "l": 74.706
  },
  "oklch": {
    "l": 0.73668,
    "c": 0.18478,
    "h": 313.2
  },
  "luminance": 0.36632
}

Semantic roles & 50–950 ramp

primary
#D282FB
secondary
#E0F6D5
accent
#E6004E
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#161018
muted
#847F86

Preview Lab

Preview with #D282FB

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

Preview Lab → · Contrast checker → · Palette generator →

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