#D285EA#D285EA

#D285EA is a light, vivid purple. Relative luminance 0.364; OKLCH L 73.3% C 0.162 H 317.8°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#D285EA
RGBrgb(210, 133, 234)
HSLhsl(286, 71%, 72%)
HSVhsv(286, 43%, 92%)
CMYKcmyk(10.3%, 43.2%, 0%, 8.2%)
CIE-LABlab(66.84, 46.07, -39.31)
CIE-LCHlch(66.84, 60.56, 319.53°)
OKLaboklab(73.29% 0.1198 -0.1085)
OKLCHoklch(73.29% 0.162 317.8)
XYZxyz(49.8151, 36.4187, 82.2314)
Luminance0.3642 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D285EA #9DEA85
analogous
#A085EA #D285EA #EA85CF
triadic
#D285EA #EAD285 #85EAD2
tetradic
#D285EA #EAA085 #9DEA85 #85CFEA
square
#D285EA #EAA085 #9DEA85 #85CFEA
split-complementary
#D285EA #CFEA85 #85EAA0
monochromatic
#A824D1 #BF51E1 #D285EA #E5B9F3 #F5E5FB

Accessibility & contrast

On white

2.54
#D285EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.28
#D285EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D285EA
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D285EA#FFFFFF#000000##000000
##D285EA1.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#759EEE
Deuteranopia (green-blind)
#89A5E7
Tritanopia (blue-blind)
#D292AD
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #d285ea;
/* rgb */ color: rgb(210, 133, 234);
/* oklch */ color: oklch(73.3% 0.162 317.8);
Tailwind
colors: {
  custom: {
    50: '#e1aaf1',
    500: '#d285ea',
    950: '#000000',
  },
}
SCSS
$custom: #d285ea;
$custom-light: #e1aaf1;
$custom-dark: #000000;
JSON
{
  "hex": "#d285ea",
  "rgb": {
    "r": 210,
    "g": 133,
    "b": 234
  },
  "hsl": {
    "h": 285.743,
    "s": 70.629,
    "l": 71.961
  },
  "oklch": {
    "l": 0.73294,
    "c": 0.16164,
    "h": 317.8
  },
  "luminance": 0.36417
}

Semantic roles & 50–950 ramp

primary
#D285EA
secondary
#DFF2D9
accent
#D31340
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#151017
muted
#847F85

Preview Lab

Preview with #D285EA

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

Preview Lab → · Contrast checker → · Palette generator →

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