#D285EB#D285EB

#D285EB is a light, vivid purple. Relative luminance 0.365; OKLCH L 73.3% C 0.163 H 317.5°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#D285EB
RGBrgb(210, 133, 235)
HSLhsl(285, 72%, 72%)
HSVhsv(285, 43%, 92%)
CMYKcmyk(10.6%, 43.4%, 0%, 7.8%)
CIE-LABlab(66.88, 46.27, -39.79)
CIE-LCHlch(66.88, 61.02, 319.30°)
OKLaboklab(73.34% 0.12 -0.1099)
OKLCHoklch(73.34% 0.163 317.5)
XYZxyz(49.9591, 36.4764, 82.9901)
Luminance0.3648 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D285EB #9EEB85
analogous
#9F85EB #D285EB #EB85D1
triadic
#D285EB #EBD285 #85EBD2
tetradic
#D285EB #EB9F85 #9EEB85 #85D1EB
square
#D285EB #EB9F85 #9EEB85 #85D1EB
split-complementary
#D285EB #D1EB85 #85EB9F
monochromatic
#A823D3 #BF50E2 #D285EB #E5BAF4 #F5E5FB

Accessibility & contrast

On white

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

On black

8.30
#D285EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D285EB
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D285EB#FFFFFF#000000##000000
##D285EB1.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#749EEF
Deuteranopia (green-blind)
#89A5E8
Tritanopia (blue-blind)
#D293AD
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #d285eb;
/* rgb */ color: rgb(210, 133, 235);
/* oklch */ color: oklch(73.3% 0.163 317.5);
Tailwind
colors: {
  custom: {
    50: '#e1aaf2',
    500: '#d285eb',
    950: '#000000',
  },
}
SCSS
$custom: #d285eb;
$custom-light: #e1aaf2;
$custom-dark: #000000;
JSON
{
  "hex": "#d285eb",
  "rgb": {
    "r": 210,
    "g": 133,
    "b": 235
  },
  "hsl": {
    "h": 285.294,
    "s": 71.831,
    "l": 72.157
  },
  "oklch": {
    "l": 0.73341,
    "c": 0.16271,
    "h": 317.5
  },
  "luminance": 0.36475
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D285EB

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

Preview Lab → · Contrast checker → · Palette generator →

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