#D185EB#D185EB

#D185EB is a light, vivid purple. Relative luminance 0.363; OKLCH L 73.2% C 0.162 H 317.1°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#D185EB
RGBrgb(209, 133, 235)
HSLhsl(285, 72%, 72%)
HSVhsv(285, 43%, 92%)
CMYKcmyk(11.1%, 43.4%, 0%, 7.8%)
CIE-LABlab(66.77, 45.98, -39.97)
CIE-LCHlch(66.77, 60.93, 319.00°)
OKLaboklab(73.23% 0.1188 -0.1104)
OKLCHoklch(73.23% 0.162 317.1)
XYZxyz(49.6753, 36.3300, 82.9768)
Luminance0.3633 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D185EB #9FEB85
analogous
#9E85EB #D185EB #EB85D2
triadic
#D185EB #EBD185 #85EBD1
tetradic
#D185EB #EB9E85 #9FEB85 #85D2EB
square
#D185EB #EB9E85 #9FEB85 #85D2EB
split-complementary
#D185EB #D2EB85 #85EB9E
monochromatic
#A623D3 #BD50E2 #D185EB #E5BAF4 #F5E5FB

Accessibility & contrast

On white

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

On black

8.27
#D185EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D185EB
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D185EB#FFFFFF#000000##000000
##D185EB1.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#749EEF
Deuteranopia (green-blind)
#88A5E8
Tritanopia (blue-blind)
#D093AD
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #d185eb;
/* rgb */ color: rgb(209, 133, 235);
/* oklch */ color: oklch(73.2% 0.162 317.1);
Tailwind
colors: {
  custom: {
    50: '#e1aaf2',
    500: '#d185eb',
    950: '#000000',
  },
}
SCSS
$custom: #d185eb;
$custom-light: #e1aaf2;
$custom-dark: #000000;
JSON
{
  "hex": "#d185eb",
  "rgb": {
    "r": 209,
    "g": 133,
    "b": 235
  },
  "hsl": {
    "h": 284.706,
    "s": 71.831,
    "l": 72.157
  },
  "oklch": {
    "l": 0.73233,
    "c": 0.16222,
    "h": 317.1
  },
  "luminance": 0.36329
}

Semantic roles & 50–950 ramp

primary
#D185EB
secondary
#DFF2D9
accent
#D41243
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #D185EB

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

Preview Lab → · Contrast checker → · Palette generator →

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