#D181EB#D181EB

#D181EB is a light, vivid purple. Relative luminance 0.353; OKLCH L 72.6% C 0.169 H 317.5°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#D181EB
RGBrgb(209, 129, 235)
HSLhsl(285, 73%, 71%)
HSVhsv(285, 45%, 92%)
CMYKcmyk(11.1%, 45.1%, 0%, 7.8%)
CIE-LABlab(65.95, 48.07, -41.26)
CIE-LCHlch(65.95, 63.35, 319.36°)
OKLaboklab(72.62% 0.1244 -0.1141)
OKLCHoklch(72.62% 0.169 317.5)
XYZxyz(49.1380, 35.2555, 82.7977)
Luminance0.3525 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D181EB #9BEB81
analogous
#9C81EB #D181EB #EB81D0
triadic
#D181EB #EBD181 #81EBD1
tetradic
#D181EB #EB9C81 #9BEB81 #81D0EB
square
#D181EB #EB9C81 #9BEB81 #81D0EB
split-complementary
#D181EB #D0EB81 #81EB9C
monochromatic
#A521D1 #BE4CE3 #D181EB #E4B6F3 #F5E5FB

Accessibility & contrast

On white

2.61
#D181EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.05
#D181EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D181EB
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D181EB#FFFFFF#000000##000000
##D181EB1.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9BEF
Deuteranopia (green-blind)
#85A3E8
Tritanopia (blue-blind)
#D190AB
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #d181eb;
/* rgb */ color: rgb(209, 129, 235);
/* oklch */ color: oklch(72.6% 0.169 317.5);
Tailwind
colors: {
  custom: {
    50: '#e1a7f2',
    500: '#d181eb',
    950: '#000000',
  },
}
SCSS
$custom: #d181eb;
$custom-light: #e1a7f2;
$custom-dark: #000000;
JSON
{
  "hex": "#d181eb",
  "rgb": {
    "r": 209,
    "g": 129,
    "b": 235
  },
  "hsl": {
    "h": 285.283,
    "s": 72.603,
    "l": 71.373
  },
  "oklch": {
    "l": 0.72617,
    "c": 0.16884,
    "h": 317.5
  },
  "luminance": 0.35254
}

Semantic roles & 50–950 ramp

primary
#D181EB
secondary
#DDF2D6
accent
#D51141
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#151017
muted
#847F85

Preview Lab

Preview with #D181EB

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

Preview Lab → · Contrast checker → · Palette generator →

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