#D282F8#D282F8

#D282F8 is a light, vivid purple. Relative luminance 0.364; OKLCH L 73.5% C 0.182 H 314.0°. Best body text is #000000 at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#D282F8
RGBrgb(210, 130, 248)
HSLhsl(281, 89%, 74%)
HSVhsv(281, 48%, 97%)
CMYKcmyk(15.3%, 47.6%, 0%, 2.7%)
CIE-LABlab(66.86, 50.48, -46.97)
CIE-LCHlch(66.86, 68.95, 317.06°)
OKLaboklab(73.52% 0.1261 -0.1306)
OKLCHoklch(73.52% 0.182 314)
XYZxyz(51.5015, 36.4455, 93.1104)
Luminance0.3644 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D282F8 #A8F882
analogous
#9782F8 #D282F8 #F882E3
triadic
#D282F8 #F8D282 #82F8D2
tetradic
#D282F8 #F89782 #A8F882 #82E3F8
square
#D282F8 #F89782 #A8F882 #82E3F8
split-complementary
#D282F8 #E3F882 #82F897
monochromatic
#A80EF2 #BD48F5 #D282F8 #E7BCFB #F5E2FD

Accessibility & contrast

On white

2.53
#D282F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.29
#D282F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D282F8
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D282F8#FFFFFF#000000##000000
##D282F81.002.538.298.29
#FFFFFF2.531.0021.0021.00
#0000008.2921.001.001.00
##0000008.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#699EFC
Deuteranopia (green-blind)
#80A5F5
Tritanopia (blue-blind)
#CF94B2
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #d282f8;
/* rgb */ color: rgb(210, 130, 248);
/* oklch */ color: oklch(73.5% 0.182 314.0);
Tailwind
colors: {
  custom: {
    50: '#e2a8fb',
    500: '#d282f8',
    950: '#000000',
  },
}
SCSS
$custom: #d282f8;
$custom-light: #e2a8fb;
$custom-dark: #000000;
JSON
{
  "hex": "#d282f8",
  "rgb": {
    "r": 210,
    "g": 130,
    "b": 248
  },
  "hsl": {
    "h": 280.678,
    "s": 89.394,
    "l": 74.118
  },
  "oklch": {
    "l": 0.73516,
    "c": 0.18154,
    "h": 314
  },
  "luminance": 0.36444
}

Semantic roles & 50–950 ramp

primary
#D282F8
secondary
#E0F5D6
accent
#E6004A
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #D282F8

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

Preview Lab → · Contrast checker → · Palette generator →

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