#D284FD#D284FD

#D284FD is a light, vivid violet. Relative luminance 0.373; OKLCH L 74.1% C 0.184 H 312.4°. Best body text is #000000 at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#D284FD
RGBrgb(210, 132, 253)
HSLhsl(279, 97%, 75%)
HSVhsv(279, 48%, 99%)
CMYKcmyk(17%, 47.8%, 0%, 0.8%)
CIE-LABlab(67.50, 50.48, -48.70)
CIE-LCHlch(67.50, 70.14, 316.03°)
OKLaboklab(74.07% 0.124 -0.1356)
OKLCHoklch(74.07% 0.184 312.4)
XYZxyz(52.5562, 37.2972, 97.3399)
Luminance0.3730 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D284FD #AFFD84
analogous
#9584FD #D284FD #FD84EB
triadic
#D284FD #FDD284 #84FDD2
tetradic
#D284FD #FD9584 #AFFD84 #84EBFD
square
#D284FD #FD9584 #AFFD84 #84EBFD
split-complementary
#D284FD #EBFD84 #84FD95
monochromatic
#A60CFB #BC48FC #D284FD #E8C0FE #F4E1FF

Accessibility & contrast

On white

2.48
#D284FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.46
#D284FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D284FD
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D284FD#FFFFFF#000000##000000
##D284FD1.002.488.468.46
#FFFFFF2.481.0021.0021.00
#0000008.4621.001.001.00
##0000008.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#68A0FF
Deuteranopia (green-blind)
#7FA6FA
Tritanopia (blue-blind)
#CE97B5
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #d284fd;
/* rgb */ color: rgb(210, 132, 253);
/* oklch */ color: oklch(74.1% 0.184 312.4);
Tailwind
colors: {
  custom: {
    50: '#e2aafe',
    500: '#d284fd',
    950: '#000000',
  },
}
SCSS
$custom: #d284fd;
$custom-light: #e2aafe;
$custom-dark: #000000;
JSON
{
  "hex": "#d284fd",
  "rgb": {
    "r": 210,
    "g": 132,
    "b": 253
  },
  "hsl": {
    "h": 278.678,
    "s": 96.8,
    "l": 75.49
  },
  "oklch": {
    "l": 0.74069,
    "c": 0.18378,
    "h": 312.4
  },
  "luminance": 0.37296
}

Semantic roles & 50–950 ramp

primary
#D284FD
secondary
#E1F7D4
accent
#E60052
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#161018
muted
#847F86

Preview Lab

Preview with #D284FD

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

Preview Lab → · Contrast checker → · Palette generator →

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