#D282FE#D282FE

#D282FE is a light, vivid violet. Relative luminance 0.368; OKLCH L 73.8% C 0.188 H 312.4°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#D282FE
RGBrgb(210, 130, 254)
HSLhsl(279, 98%, 75%)
HSVhsv(279, 49%, 100%)
CMYKcmyk(17.3%, 48.8%, 0%, 0.4%)
CIE-LABlab(67.14, 51.73, -49.81)
CIE-LCHlch(67.14, 71.81, 316.08°)
OKLaboklab(73.82% 0.1268 -0.1389)
OKLCHoklch(73.82% 0.188 312.4)
XYZxyz(52.4473, 36.8238, 98.0916)
Luminance0.3682 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D282FE #AEFE82
analogous
#9482FE #D282FE #FE82EC
triadic
#D282FE #FED282 #82FED2
tetradic
#D282FE #FE9482 #AEFE82 #82ECFE
square
#D282FE #FE9482 #AEFE82 #82ECFE
split-complementary
#D282FE #ECFE82 #82FE94
monochromatic
#A609FD #BC45FE #D282FE #E8BFFE #F4E1FF

Accessibility & contrast

On white

2.51
#D282FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.36
#D282FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D282FE
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D282FE#FFFFFF#000000##000000
##D282FE1.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#659FFF
Deuteranopia (green-blind)
#7CA5FB
Tritanopia (blue-blind)
#CE96B4
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #d282fe;
/* rgb */ color: rgb(210, 130, 254);
/* oklch */ color: oklch(73.8% 0.188 312.4);
Tailwind
colors: {
  custom: {
    50: '#e2a8ff',
    500: '#d282fe',
    950: '#000000',
  },
}
SCSS
$custom: #d282fe;
$custom-light: #e2a8ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d282fe",
  "rgb": {
    "r": 210,
    "g": 130,
    "b": 254
  },
  "hsl": {
    "h": 278.71,
    "s": 98.413,
    "l": 75.294
  },
  "oklch": {
    "l": 0.73822,
    "c": 0.18803,
    "h": 312.4
  },
  "luminance": 0.36823
}

Semantic roles & 50–950 ramp

primary
#D282FE
secondary
#E0F7D4
accent
#E60051
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#161018
muted
#847F86

Preview Lab

Preview with #D282FE

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

Preview Lab → · Contrast checker → · Palette generator →

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