#D381FD#D381FD

#D381FD is a light, vivid violet. Relative luminance 0.366; OKLCH L 73.7% C 0.189 H 313.1°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#D381FD
RGBrgb(211, 129, 253)
HSLhsl(280, 97%, 75%)
HSVhsv(280, 49%, 99%)
CMYKcmyk(16.6%, 49%, 0%, 0.8%)
CIE-LABlab(67.01, 52.30, -49.47)
CIE-LCHlch(67.01, 71.99, 316.59°)
OKLaboklab(73.73% 0.1292 -0.1378)
OKLCHoklch(73.73% 0.189 313.1)
XYZxyz(52.4409, 36.6425, 97.2197)
Luminance0.3664 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D381FD #ABFD81
analogous
#9581FD #D381FD #FD81E9
triadic
#D381FD #FDD381 #81FDD3
tetradic
#D381FD #FD9581 #ABFD81 #81E9FD
square
#D381FD #FD9581 #ABFD81 #81E9FD
split-complementary
#D381FD #E9FD81 #81FD95
monochromatic
#A909FB #BE45FC #D381FD #E8BDFE #F4E1FF

Accessibility & contrast

On white

2.52
#D381FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.33
#D381FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D381FD
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D381FD#FFFFFF#000000##000000
##D381FD1.002.528.338.33
#FFFFFF2.521.0021.0021.00
#0000008.3321.001.001.00
##0000008.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#659FFF
Deuteranopia (green-blind)
#7DA5FA
Tritanopia (blue-blind)
#CF94B3
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #d381fd;
/* rgb */ color: rgb(211, 129, 253);
/* oklch */ color: oklch(73.7% 0.189 313.1);
Tailwind
colors: {
  custom: {
    50: '#e3a8fe',
    500: '#d381fd',
    950: '#000000',
  },
}
SCSS
$custom: #d381fd;
$custom-light: #e3a8fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d381fd",
  "rgb": {
    "r": 211,
    "g": 129,
    "b": 253
  },
  "hsl": {
    "h": 279.677,
    "s": 96.875,
    "l": 74.902
  },
  "oklch": {
    "l": 0.73729,
    "c": 0.1889,
    "h": 313.1
  },
  "luminance": 0.36641
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D381FD

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

Preview Lab → · Contrast checker → · Palette generator →

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