#D285EC#D285EC

#D285EC is a light, vivid purple. Relative luminance 0.365; OKLCH L 73.4% C 0.164 H 317.2°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#D285EC
RGBrgb(210, 133, 236)
HSLhsl(285, 73%, 72%)
HSVhsv(285, 44%, 93%)
CMYKcmyk(11%, 43.6%, 0%, 7.5%)
CIE-LABlab(66.93, 46.47, -40.27)
CIE-LCHlch(66.93, 61.49, 319.08°)
OKLaboklab(73.39% 0.1201 -0.1113)
OKLCHoklch(73.39% 0.164 317.2)
XYZxyz(50.1040, 36.5343, 83.7531)
Luminance0.3653 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D285EC #9FEC85
analogous
#9E85EC #D285EC #EC85D3
triadic
#D285EC #ECD285 #85ECD2
tetradic
#D285EC #EC9E85 #9FEC85 #85D3EC
square
#D285EC #EC9E85 #9FEC85 #85D3EC
split-complementary
#D285EC #D3EC85 #85EC9E
monochromatic
#A821D5 #BE50E4 #D285EC #E6BAF4 #F5E5FB

Accessibility & contrast

On white

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

On black

8.31
#D285EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D285EC
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D285EC#FFFFFF#000000##000000
##D285EC1.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#749EF0
Deuteranopia (green-blind)
#88A5E9
Tritanopia (blue-blind)
#D293AD
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #d285ec;
/* rgb */ color: rgb(210, 133, 236);
/* oklch */ color: oklch(73.4% 0.164 317.2);
Tailwind
colors: {
  custom: {
    50: '#e1aaf2',
    500: '#d285ec',
    950: '#000000',
  },
}
SCSS
$custom: #d285ec;
$custom-light: #e1aaf2;
$custom-dark: #000000;
JSON
{
  "hex": "#d285ec",
  "rgb": {
    "r": 210,
    "g": 133,
    "b": 236
  },
  "hsl": {
    "h": 284.854,
    "s": 73.05,
    "l": 72.353
  },
  "oklch": {
    "l": 0.73388,
    "c": 0.16377,
    "h": 317.2
  },
  "luminance": 0.36533
}

Semantic roles & 50–950 ramp

primary
#D285EC
secondary
#DFF3D8
accent
#D51042
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#151017
muted
#847F85

Preview Lab

Preview with #D285EC

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

Preview Lab → · Contrast checker → · Palette generator →

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