#D284EF#D284EF

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

Color values

HEX#D284EF
RGBrgb(210, 132, 239)
HSLhsl(284, 77%, 73%)
HSVhsv(284, 45%, 94%)
CMYKcmyk(12.1%, 44.8%, 0%, 6.3%)
CIE-LABlab(66.85, 47.60, -42.04)
CIE-LCHlch(66.85, 63.50, 318.55°)
OKLaboklab(73.38% 0.122 -0.1164)
OKLCHoklch(73.38% 0.169 316.4)
XYZxyz(50.4073, 36.4376, 86.0225)
Luminance0.3644 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D284EF #A1EF84
analogous
#9C84EF #D284EF #EF84D7
triadic
#D284EF #EFD284 #84EFD2
tetradic
#D284EF #EF9C84 #A1EF84 #84D7EF
square
#D284EF #EF9C84 #A1EF84 #84D7EF
split-complementary
#D284EF #D7EF84 #84EF9C
monochromatic
#A81DDC #BE4EE8 #D284EF #E6BAF6 #F5E4FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D284EF#FFFFFF#000000##000000
##D284EF1.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)
#719EF3
Deuteranopia (green-blind)
#86A5EC
Tritanopia (blue-blind)
#D193AE
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #d284ef;
/* rgb */ color: rgb(210, 132, 239);
/* oklch */ color: oklch(73.4% 0.169 316.4);
Tailwind
colors: {
  custom: {
    50: '#e1a9f4',
    500: '#d284ef',
    950: '#000000',
  },
}
SCSS
$custom: #d284ef;
$custom-light: #e1a9f4;
$custom-dark: #000000;
JSON
{
  "hex": "#d284ef",
  "rgb": {
    "r": 210,
    "g": 132,
    "b": 239
  },
  "hsl": {
    "h": 283.738,
    "s": 76.978,
    "l": 72.745
  },
  "oklch": {
    "l": 0.73377,
    "c": 0.16863,
    "h": 316.4
  },
  "luminance": 0.36436
}

Semantic roles & 50–950 ramp

primary
#D284EF
secondary
#DFF3D8
accent
#D90C44
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#161017
muted
#847F85

Preview Lab

Preview with #D284EF

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

Preview Lab → · Contrast checker → · Palette generator →

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