#D181FA#D181FA

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

Color values

HEX#D181FA
RGBrgb(209, 129, 250)
HSLhsl(280, 92%, 74%)
HSVhsv(280, 48%, 98%)
CMYKcmyk(16.4%, 48.4%, 0%, 2%)
CIE-LABlab(66.64, 51.14, -48.42)
CIE-LCHlch(66.64, 70.43, 316.56°)
OKLaboklab(73.36% 0.1265 -0.1348)
OKLCHoklch(73.36% 0.185 313.2)
XYZxyz(51.3972, 36.1592, 94.6958)
Luminance0.3616 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D181FA #AAFA81
analogous
#9581FA #D181FA #FA81E7
triadic
#D181FA #FAD181 #81FAD1
tetradic
#D181FA #FA9581 #AAFA81 #81E7FA
square
#D181FA #FA9581 #AAFA81 #81E7FA
split-complementary
#D181FA #E7FA81 #81FA95
monochromatic
#A60BF5 #BC46F8 #D181FA #E6BCFC #F4E2FE

Accessibility & contrast

On white

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

On black

8.23
#D181FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D181FA
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D181FA#FFFFFF#000000##000000
##D181FA1.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#669EFE
Deuteranopia (green-blind)
#7DA4F7
Tritanopia (blue-blind)
#CD94B2
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #d181fa;
/* rgb */ color: rgb(209, 129, 250);
/* oklch */ color: oklch(73.4% 0.185 313.2);
Tailwind
colors: {
  custom: {
    50: '#e1a8fc',
    500: '#d181fa',
    950: '#000000',
  },
}
SCSS
$custom: #d181fa;
$custom-light: #e1a8fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d181fa",
  "rgb": {
    "r": 209,
    "g": 129,
    "b": 250
  },
  "hsl": {
    "h": 279.669,
    "s": 92.366,
    "l": 74.314
  },
  "oklch": {
    "l": 0.73361,
    "c": 0.18488,
    "h": 313.2
  },
  "luminance": 0.36158
}

Semantic roles & 50–950 ramp

primary
#D181FA
secondary
#E0F6D5
accent
#E6004E
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #D181FA

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

Preview Lab → · Contrast checker → · Palette generator →

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