#D282FC#D282FC

#D282FC is a light, vivid violet. Relative luminance 0.367; OKLCH L 73.7% C 0.186 H 312.9°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#D282FC
RGBrgb(210, 130, 252)
HSLhsl(279, 95%, 75%)
HSVhsv(279, 48%, 99%)
CMYKcmyk(16.7%, 48.4%, 0%, 1.2%)
CIE-LABlab(67.05, 51.31, -48.87)
CIE-LCHlch(67.05, 70.85, 316.40°)
OKLaboklab(73.72% 0.1266 -0.1361)
OKLCHoklch(73.72% 0.186 312.9)
XYZxyz(52.1287, 36.6964, 96.4136)
Luminance0.3669 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D282FC #ACFC82
analogous
#9582FC #D282FC #FC82E9
triadic
#D282FC #FCD282 #82FCD2
tetradic
#D282FC #FC9582 #ACFC82 #82E9FC
square
#D282FC #FC9582 #ACFC82 #82E9FC
split-complementary
#D282FC #E9FC82 #82FC95
monochromatic
#A70AF9 #BC46FB #D282FC #E8BEFD #F4E1FE

Accessibility & contrast

On white

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

On black

8.34
#D282FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D282FC
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D282FC#FFFFFF#000000##000000
##D282FC1.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d282fc;
/* rgb */ color: rgb(210, 130, 252);
/* oklch */ color: oklch(73.7% 0.186 312.9);
Tailwind
colors: {
  custom: {
    50: '#e2a8fe',
    500: '#d282fc',
    950: '#000000',
  },
}
SCSS
$custom: #d282fc;
$custom-light: #e2a8fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d282fc",
  "rgb": {
    "r": 210,
    "g": 130,
    "b": 252
  },
  "hsl": {
    "h": 279.344,
    "s": 95.313,
    "l": 74.902
  },
  "oklch": {
    "l": 0.73719,
    "c": 0.18586,
    "h": 312.9
  },
  "luminance": 0.36695
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D282FC

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

Preview Lab → · Contrast checker → · Palette generator →

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