#D185EC#D185EC

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

Color values

HEX#D185EC
RGBrgb(209, 133, 236)
HSLhsl(284, 73%, 72%)
HSVhsv(284, 44%, 93%)
CMYKcmyk(11.4%, 43.6%, 0%, 7.5%)
CIE-LABlab(66.82, 46.18, -40.46)
CIE-LCHlch(66.82, 61.39, 318.78°)
OKLaboklab(73.28% 0.119 -0.1118)
OKLCHoklch(73.28% 0.163 316.8)
XYZxyz(49.8201, 36.3879, 83.7398)
Luminance0.3639 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D185EC #A0EC85
analogous
#9E85EC #D185EC #EC85D3
triadic
#D185EC #ECD185 #85ECD1
tetradic
#D185EC #EC9E85 #A0EC85 #85D3EC
square
#D185EC #EC9E85 #A0EC85 #85D3EC
split-complementary
#D185EC #D3EC85 #85EC9E
monochromatic
#A621D5 #BD50E4 #D185EC #E5BAF4 #F5E5FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D185EC#FFFFFF#000000##000000
##D185EC1.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)
#739EF0
Deuteranopia (green-blind)
#88A5E9
Tritanopia (blue-blind)
#D093AD
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #d185ec;
/* rgb */ color: rgb(209, 133, 236);
/* oklch */ color: oklch(73.3% 0.163 316.8);
Tailwind
colors: {
  custom: {
    50: '#e1aaf2',
    500: '#d185ec',
    950: '#000000',
  },
}
SCSS
$custom: #d185ec;
$custom-light: #e1aaf2;
$custom-dark: #000000;
JSON
{
  "hex": "#d185ec",
  "rgb": {
    "r": 209,
    "g": 133,
    "b": 236
  },
  "hsl": {
    "h": 284.272,
    "s": 73.05,
    "l": 72.353
  },
  "oklch": {
    "l": 0.7328,
    "c": 0.16329,
    "h": 316.8
  },
  "luminance": 0.36386
}

Semantic roles & 50–950 ramp

primary
#D185EC
secondary
#DFF3D8
accent
#D51044
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #D185EC

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

Preview Lab → · Contrast checker → · Palette generator →

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