#D185EF#D185EF

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

Color values

HEX#D185EF
RGBrgb(209, 133, 239)
HSLhsl(283, 77%, 73%)
HSVhsv(283, 44%, 94%)
CMYKcmyk(12.6%, 44.4%, 0%, 6.3%)
CIE-LABlab(66.95, 46.79, -41.90)
CIE-LCHlch(66.95, 62.81, 318.16°)
OKLaboklab(73.42% 0.1195 -0.116)
OKLCHoklch(73.42% 0.167 315.8)
XYZxyz(50.2597, 36.5637, 86.0546)
Luminance0.3656 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D185EF #A3EF85
analogous
#9C85EF #D185EF #EF85D8
triadic
#D185EF #EFD185 #85EFD1
tetradic
#D185EF #EF9C85 #A3EF85 #85D8EF
square
#D185EF #EF9C85 #A3EF85 #85D8EF
split-complementary
#D185EF #D8EF85 #85EF9C
monochromatic
#A61DDD #BD4FE8 #D185EF #E5BBF6 #F5E4FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D185EF#FFFFFF#000000##000000
##D185EF1.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)
#729EF3
Deuteranopia (green-blind)
#86A5EC
Tritanopia (blue-blind)
#D094AF
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #d185ef;
/* rgb */ color: rgb(209, 133, 239);
/* oklch */ color: oklch(73.4% 0.167 315.8);
Tailwind
colors: {
  custom: {
    50: '#e1aaf4',
    500: '#d185ef',
    950: '#000000',
  },
}
SCSS
$custom: #d185ef;
$custom-light: #e1aaf4;
$custom-dark: #000000;
JSON
{
  "hex": "#d185ef",
  "rgb": {
    "r": 209,
    "g": 133,
    "b": 239
  },
  "hsl": {
    "h": 283.019,
    "s": 76.812,
    "l": 72.941
  },
  "oklch": {
    "l": 0.73423,
    "c": 0.16653,
    "h": 315.8
  },
  "luminance": 0.36562
}

Semantic roles & 50–950 ramp

primary
#D185EF
secondary
#E0F3D8
accent
#D90C46
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#151017
muted
#847F85

Preview Lab

Preview with #D185EF

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

Preview Lab → · Contrast checker → · Palette generator →

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