#D181F6#D181F6

#D181F6 is a light, vivid purple. Relative luminance 0.359; OKLCH L 73.2% C 0.181 H 314.2°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#D181F6
RGBrgb(209, 129, 246)
HSLhsl(281, 87%, 74%)
HSVhsv(281, 48%, 96%)
CMYKcmyk(15%, 47.6%, 0%, 3.5%)
CIE-LABlab(66.45, 50.31, -46.53)
CIE-LCHlch(66.45, 68.53, 317.24°)
OKLaboklab(73.16% 0.126 -0.1293)
OKLCHoklch(73.16% 0.181 314.2)
XYZxyz(50.7766, 35.9109, 91.4276)
Luminance0.3591 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D181F6 #A6F681
analogous
#9681F6 #D181F6 #F681E0
triadic
#D181F6 #F6D181 #81F6D1
tetradic
#D181F6 #F69681 #A6F681 #81E0F6
square
#D181F6 #F69681 #A6F681 #81E0F6
split-complementary
#D181F6 #E0F681 #81F696
monochromatic
#A711EC #BC48F2 #D181F6 #E6BAFA #F5E2FD

Accessibility & contrast

On white

2.57
#D181F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.18
#D181F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D181F6
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D181F6#FFFFFF#000000##000000
##D181F61.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#689DFA
Deuteranopia (green-blind)
#7FA4F3
Tritanopia (blue-blind)
#CE93B0
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #d181f6;
/* rgb */ color: rgb(209, 129, 246);
/* oklch */ color: oklch(73.2% 0.181 314.2);
Tailwind
colors: {
  custom: {
    50: '#e1a8f9',
    500: '#d181f6',
    950: '#000000',
  },
}
SCSS
$custom: #d181f6;
$custom-light: #e1a8f9;
$custom-dark: #000000;
JSON
{
  "hex": "#d181f6",
  "rgb": {
    "r": 209,
    "g": 129,
    "b": 246
  },
  "hsl": {
    "h": 281.026,
    "s": 86.667,
    "l": 73.529
  },
  "oklch": {
    "l": 0.73158,
    "c": 0.18057,
    "h": 314.2
  },
  "luminance": 0.3591
}

Semantic roles & 50–950 ramp

primary
#D181F6
secondary
#E0F5D6
accent
#E30249
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #D181F6

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

Preview Lab → · Contrast checker → · Palette generator →

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