#D181F7#D181F7

#D181F7 is a light, vivid purple. Relative luminance 0.360; OKLCH L 73.2% C 0.182 H 314.0°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#D181F7
RGBrgb(209, 129, 247)
HSLhsl(281, 88%, 74%)
HSVhsv(281, 48%, 97%)
CMYKcmyk(15.4%, 47.8%, 0%, 3.1%)
CIE-LABlab(66.50, 50.52, -47.00)
CIE-LCHlch(66.50, 69.00, 317.07°)
OKLaboklab(73.21% 0.1261 -0.1307)
OKLCHoklch(73.21% 0.182 314)
XYZxyz(50.9305, 35.9725, 92.2381)
Luminance0.3597 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D181F7 #A7F781
analogous
#9681F7 #D181F7 #F781E2
triadic
#D181F7 #F7D181 #81F7D1
tetradic
#D181F7 #F79681 #A7F781 #81E2F7
square
#D181F7 #F79681 #A7F781 #81E2F7
split-complementary
#D181F7 #E2F781 #81F796
monochromatic
#A70FEE #BC47F3 #D181F7 #E6BBFB #F4E2FD

Accessibility & contrast

On white

2.56
#D181F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.19
#D181F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D181F7
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D181F7#FFFFFF#000000##000000
##D181F71.002.568.198.19
#FFFFFF2.561.0021.0021.00
#0000008.1921.001.001.00
##0000008.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#689DFB
Deuteranopia (green-blind)
#7FA4F4
Tritanopia (blue-blind)
#CE93B1
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #d181f7;
/* rgb */ color: rgb(209, 129, 247);
/* oklch */ color: oklch(73.2% 0.182 314.0);
Tailwind
colors: {
  custom: {
    50: '#e1a8fa',
    500: '#d181f7',
    950: '#000000',
  },
}
SCSS
$custom: #d181f7;
$custom-light: #e1a8fa;
$custom-dark: #000000;
JSON
{
  "hex": "#d181f7",
  "rgb": {
    "r": 209,
    "g": 129,
    "b": 247
  },
  "hsl": {
    "h": 280.678,
    "s": 88.06,
    "l": 73.725
  },
  "oklch": {
    "l": 0.73209,
    "c": 0.18165,
    "h": 314
  },
  "luminance": 0.35971
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D181F7

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

Preview Lab → · Contrast checker → · Palette generator →

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