#D181FB#D181FB

#D181FB is a light, vivid violet. Relative luminance 0.362; OKLCH L 73.4% C 0.186 H 312.9°. Best body text is #000000 at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#D181FB
RGBrgb(209, 129, 251)
HSLhsl(279, 94%, 75%)
HSVhsv(279, 49%, 98%)
CMYKcmyk(16.7%, 48.6%, 0%, 1.6%)
CIE-LABlab(66.69, 51.35, -48.89)
CIE-LCHlch(66.69, 70.90, 316.40°)
OKLaboklab(73.41% 0.1266 -0.1362)
OKLCHoklch(73.41% 0.186 312.9)
XYZxyz(51.5544, 36.2220, 95.5238)
Luminance0.3622 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D181FB #ABFB81
analogous
#9481FB #D181FB #FB81E8
triadic
#D181FB #FBD181 #81FBD1
tetradic
#D181FB #FB9481 #ABFB81 #81E8FB
square
#D181FB #FB9481 #ABFB81 #81E8FB
split-complementary
#D181FB #E8FB81 #81FB94
monochromatic
#A60AF7 #BB46F9 #D181FB #E7BCFD #F4E1FE

Accessibility & contrast

On white

2.55
#D181FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.24
#D181FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D181FB
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D181FB#FFFFFF#000000##000000
##D181FB1.002.558.248.24
#FFFFFF2.551.0021.0021.00
#0000008.2421.001.001.00
##0000008.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#659EFF
Deuteranopia (green-blind)
#7CA4F8
Tritanopia (blue-blind)
#CD94B2
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #d181fb;
/* rgb */ color: rgb(209, 129, 251);
/* oklch */ color: oklch(73.4% 0.186 312.9);
Tailwind
colors: {
  custom: {
    50: '#e1a8fd',
    500: '#d181fb',
    950: '#000000',
  },
}
SCSS
$custom: #d181fb;
$custom-light: #e1a8fd;
$custom-dark: #000000;
JSON
{
  "hex": "#d181fb",
  "rgb": {
    "r": 209,
    "g": 129,
    "b": 251
  },
  "hsl": {
    "h": 279.344,
    "s": 93.846,
    "l": 74.51
  },
  "oklch": {
    "l": 0.73412,
    "c": 0.18597,
    "h": 312.9
  },
  "luminance": 0.36221
}

Semantic roles & 50–950 ramp

primary
#D181FB
secondary
#E0F6D5
accent
#E6004F
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#161018
muted
#847F86

Preview Lab

Preview with #D181FB

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

Preview Lab → · Contrast checker → · Palette generator →

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