#D284F8#D284F8

#D284F8 is a light, vivid purple. Relative luminance 0.370; OKLCH L 73.8% C 0.178 H 313.8°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#D284F8
RGBrgb(210, 132, 248)
HSLhsl(280, 89%, 75%)
HSVhsv(280, 47%, 97%)
CMYKcmyk(15.3%, 46.8%, 0%, 2.7%)
CIE-LABlab(67.26, 49.44, -46.34)
CIE-LCHlch(67.26, 67.76, 316.85°)
OKLaboklab(73.82% 0.1234 -0.1288)
OKLCHoklch(73.82% 0.178 313.8)
XYZxyz(51.7701, 36.9827, 93.2000)
Luminance0.3698 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D284F8 #AAF884
analogous
#9884F8 #D284F8 #F884E4
triadic
#D284F8 #F8D284 #84F8D2
tetradic
#D284F8 #F89884 #AAF884 #84E4F8
square
#D284F8 #F89884 #AAF884 #84E4F8
split-complementary
#D284F8 #E4F884 #84F898
monochromatic
#A810F1 #BD4AF5 #D284F8 #E7BEFB #F4E2FD

Accessibility & contrast

On white

2.50
#D284F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.40
#D284F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D284F8
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D284F8#FFFFFF#000000##000000
##D284F81.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9FFC
Deuteranopia (green-blind)
#81A6F5
Tritanopia (blue-blind)
#CF96B2
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #d284f8;
/* rgb */ color: rgb(210, 132, 248);
/* oklch */ color: oklch(73.8% 0.178 313.8);
Tailwind
colors: {
  custom: {
    50: '#e2aafb',
    500: '#d284f8',
    950: '#000000',
  },
}
SCSS
$custom: #d284f8;
$custom-light: #e2aafb;
$custom-dark: #000000;
JSON
{
  "hex": "#d284f8",
  "rgb": {
    "r": 210,
    "g": 132,
    "b": 248
  },
  "hsl": {
    "h": 280.345,
    "s": 89.231,
    "l": 74.51
  },
  "oklch": {
    "l": 0.73818,
    "c": 0.17834,
    "h": 313.8
  },
  "luminance": 0.36981
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D284F8

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

Preview Lab → · Contrast checker → · Palette generator →

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