#D181FC#D181FC

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

Color values

HEX#D181FC
RGBrgb(209, 129, 252)
HSLhsl(279, 95%, 75%)
HSVhsv(279, 49%, 99%)
CMYKcmyk(17.1%, 48.8%, 0%, 1.2%)
CIE-LABlab(66.74, 51.56, -49.37)
CIE-LCHlch(66.74, 71.38, 316.24°)
OKLaboklab(73.46% 0.1267 -0.1376)
OKLCHoklch(73.46% 0.187 312.6)
XYZxyz(51.7124, 36.2853, 96.3562)
Luminance0.3628 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D181FC #ACFC81
analogous
#9381FC #D181FC #FC81EA
triadic
#D181FC #FCD181 #81FCD1
tetradic
#D181FC #FC9381 #ACFC81 #81EAFC
square
#D181FC #FC9381 #ACFC81 #81EAFC
split-complementary
#D181FC #EAFC81 #81FC93
monochromatic
#A509F9 #BB45FB #D181FC #E7BDFD #F4E1FE

Accessibility & contrast

On white

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

On black

8.26
#D181FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D181FC
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D181FC#FFFFFF#000000##000000
##D181FC1.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#649EFF
Deuteranopia (green-blind)
#7CA4F9
Tritanopia (blue-blind)
#CD94B3
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #d181fc;
/* rgb */ color: rgb(209, 129, 252);
/* oklch */ color: oklch(73.5% 0.187 312.6);
Tailwind
colors: {
  custom: {
    50: '#e1a8fe',
    500: '#d181fc',
    950: '#000000',
  },
}
SCSS
$custom: #d181fc;
$custom-light: #e1a8fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d181fc",
  "rgb": {
    "r": 209,
    "g": 129,
    "b": 252
  },
  "hsl": {
    "h": 279.024,
    "s": 95.349,
    "l": 74.706
  },
  "oklch": {
    "l": 0.73463,
    "c": 0.18705,
    "h": 312.6
  },
  "luminance": 0.36284
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D181FC

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

Preview Lab → · Contrast checker → · Palette generator →

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