#D284FA#D284FA

#D284FA is a light, vivid violet. Relative luminance 0.371; OKLCH L 73.9% C 0.181 H 313.2°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#D284FA
RGBrgb(210, 132, 250)
HSLhsl(280, 92%, 75%)
HSVhsv(280, 47%, 98%)
CMYKcmyk(16%, 47.2%, 0%, 2%)
CIE-LABlab(67.36, 49.85, -47.28)
CIE-LCHlch(67.36, 68.71, 316.51°)
OKLaboklab(73.92% 0.1236 -0.1315)
OKLCHoklch(73.92% 0.181 313.2)
XYZxyz(52.0820, 37.1075, 94.8428)
Luminance0.3711 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D284FA #ACFA84
analogous
#9784FA #D284FA #FA84E7
triadic
#D284FA #FAD284 #84FAD2
tetradic
#D284FA #FA9784 #ACFA84 #84E7FA
square
#D284FA #FA9784 #ACFA84 #84E7FA
split-complementary
#D284FA #E7FA84 #84FA97
monochromatic
#A70EF5 #BC49F8 #D284FA #E8BFFC #F4E2FE

Accessibility & contrast

On white

2.49
#D284FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.42
#D284FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D284FA
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D284FA#FFFFFF#000000##000000
##D284FA1.002.498.428.42
#FFFFFF2.491.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6AA0FE
Deuteranopia (green-blind)
#80A6F7
Tritanopia (blue-blind)
#CE96B3
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #d284fa;
/* rgb */ color: rgb(210, 132, 250);
/* oklch */ color: oklch(73.9% 0.181 313.2);
Tailwind
colors: {
  custom: {
    50: '#e2aafc',
    500: '#d284fa',
    950: '#000000',
  },
}
SCSS
$custom: #d284fa;
$custom-light: #e2aafc;
$custom-dark: #000000;
JSON
{
  "hex": "#d284fa",
  "rgb": {
    "r": 210,
    "g": 132,
    "b": 250
  },
  "hsl": {
    "h": 279.661,
    "s": 92.188,
    "l": 74.902
  },
  "oklch": {
    "l": 0.73918,
    "c": 0.18051,
    "h": 313.2
  },
  "luminance": 0.37106
}

Semantic roles & 50–950 ramp

primary
#D284FA
secondary
#E0F6D5
accent
#E6004E
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #D284FA

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

Preview Lab → · Contrast checker → · Palette generator →

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