#D285EF#D285EF

#D285EF is a light, vivid purple. Relative luminance 0.367; OKLCH L 73.5% C 0.167 H 316.3°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#D285EF
RGBrgb(210, 133, 239)
HSLhsl(284, 77%, 73%)
HSVhsv(284, 44%, 94%)
CMYKcmyk(12.1%, 44.4%, 0%, 6.3%)
CIE-LABlab(67.06, 47.07, -41.72)
CIE-LCHlch(67.06, 62.90, 318.45°)
OKLaboklab(73.53% 0.1206 -0.1155)
OKLCHoklch(73.53% 0.167 316.3)
XYZxyz(50.5435, 36.7101, 86.0679)
Luminance0.3671 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D285EF #A2EF85
analogous
#9D85EF #D285EF #EF85D7
triadic
#D285EF #EFD285 #85EFD2
tetradic
#D285EF #EF9D85 #A2EF85 #85D7EF
square
#D285EF #EF9D85 #A2EF85 #85D7EF
split-complementary
#D285EF #D7EF85 #85EF9D
monochromatic
#A81DDD #BE4FE8 #D285EF #E6BBF6 #F5E4FB

Accessibility & contrast

On white

2.52
#D285EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.34
#D285EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D285EF
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D285EF#FFFFFF#000000##000000
##D285EF1.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#729EF3
Deuteranopia (green-blind)
#87A6EC
Tritanopia (blue-blind)
#D194AF
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #d285ef;
/* rgb */ color: rgb(210, 133, 239);
/* oklch */ color: oklch(73.5% 0.167 316.3);
Tailwind
colors: {
  custom: {
    50: '#e1aaf4',
    500: '#d285ef',
    950: '#000000',
  },
}
SCSS
$custom: #d285ef;
$custom-light: #e1aaf4;
$custom-dark: #000000;
JSON
{
  "hex": "#d285ef",
  "rgb": {
    "r": 210,
    "g": 133,
    "b": 239
  },
  "hsl": {
    "h": 283.585,
    "s": 76.812,
    "l": 72.941
  },
  "oklch": {
    "l": 0.73531,
    "c": 0.16699,
    "h": 316.3
  },
  "luminance": 0.36709
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D285EF

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

Preview Lab → · Contrast checker → · Palette generator →

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