#D181FD#D181FD

#D181FD is a light, vivid violet. Relative luminance 0.363; OKLCH L 73.5% C 0.188 H 312.4°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#D181FD
RGBrgb(209, 129, 253)
HSLhsl(279, 97%, 75%)
HSVhsv(279, 49%, 99%)
CMYKcmyk(17.4%, 49%, 0%, 0.8%)
CIE-LABlab(66.79, 51.77, -49.84)
CIE-LCHlch(66.79, 71.86, 316.09°)
OKLaboklab(73.52% 0.1268 -0.1389)
OKLCHoklch(73.52% 0.188 312.4)
XYZxyz(51.8713, 36.3488, 97.1930)
Luminance0.3635 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D181FD #ADFD81
analogous
#9381FD #D181FD #FD81EB
triadic
#D181FD #FDD181 #81FDD1
tetradic
#D181FD #FD9381 #ADFD81 #81EBFD
square
#D181FD #FD9381 #ADFD81 #81EBFD
split-complementary
#D181FD #EBFD81 #81FD93
monochromatic
#A509FB #BB45FC #D181FD #E7BDFE #F4E1FF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D181FD#FFFFFF#000000##000000
##D181FD1.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)
#649EFF
Deuteranopia (green-blind)
#7BA4FA
Tritanopia (blue-blind)
#CD95B3
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #d181fd;
/* rgb */ color: rgb(209, 129, 253);
/* oklch */ color: oklch(73.5% 0.188 312.4);
Tailwind
colors: {
  custom: {
    50: '#e1a8fe',
    500: '#d181fd',
    950: '#000000',
  },
}
SCSS
$custom: #d181fd;
$custom-light: #e1a8fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d181fd",
  "rgb": {
    "r": 209,
    "g": 129,
    "b": 253
  },
  "hsl": {
    "h": 278.71,
    "s": 96.875,
    "l": 74.902
  },
  "oklch": {
    "l": 0.73515,
    "c": 0.18813,
    "h": 312.4
  },
  "luminance": 0.36348
}

Semantic roles & 50–950 ramp

primary
#D181FD
secondary
#E0F7D4
accent
#E60051
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#161018
muted
#847F86

Preview Lab

Preview with #D181FD

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

Preview Lab → · Contrast checker → · Palette generator →

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