#D381FF#D381FF

#D381FF is a light, vivid violet. Relative luminance 0.368; OKLCH L 73.8% C 0.191 H 312.6°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#D381FF
RGBrgb(211, 129, 255)
HSLhsl(279, 100%, 75%)
HSVhsv(279, 49%, 100%)
CMYKcmyk(17.3%, 49.4%, 0%, 0%)
CIE-LABlab(67.10, 52.71, -50.41)
CIE-LCHlch(67.10, 72.94, 316.28°)
OKLaboklab(73.83% 0.1294 -0.1406)
OKLCHoklch(73.83% 0.191 312.6)
XYZxyz(52.7611, 36.7706, 98.9064)
Luminance0.3677 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D381FF #ADFF81
analogous
#9481FF #D381FF #FF81EC
triadic
#D381FF #FFD381 #81FFD3
tetradic
#D381FF #FF9481 #ADFF81 #81ECFF
square
#D381FF #FF9481 #ADFF81 #81ECFF
split-complementary
#D381FF #ECFF81 #81FF94
monochromatic
#A807FF #BE44FF #D381FF #E8BEFF #F4E0FF

Accessibility & contrast

On white

2.51
#D381FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.35
#D381FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D381FF
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D381FF#FFFFFF#000000##000000
##D381FF1.002.518.358.35
#FFFFFF2.511.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#639FFF
Deuteranopia (green-blind)
#7CA5FC
Tritanopia (blue-blind)
#CF95B4
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #d381ff;
/* rgb */ color: rgb(211, 129, 255);
/* oklch */ color: oklch(73.8% 0.191 312.6);
Tailwind
colors: {
  custom: {
    50: '#e3a8ff',
    500: '#d381ff',
    950: '#000000',
  },
}
SCSS
$custom: #d381ff;
$custom-light: #e3a8ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d381ff",
  "rgb": {
    "r": 211,
    "g": 129,
    "b": 255
  },
  "hsl": {
    "h": 279.048,
    "s": 100,
    "l": 75.294
  },
  "oklch": {
    "l": 0.73832,
    "c": 0.19106,
    "h": 312.6
  },
  "luminance": 0.36769
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D381FF

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

Preview Lab → · Contrast checker → · Palette generator →

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