#D381FB#D381FB

#D381FB is a light, vivid purple. Relative luminance 0.365; OKLCH L 73.6% C 0.187 H 313.7°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#D381FB
RGBrgb(211, 129, 251)
HSLhsl(280, 94%, 75%)
HSVhsv(280, 49%, 98%)
CMYKcmyk(15.9%, 48.6%, 0%, 1.6%)
CIE-LABlab(66.91, 51.88, -48.53)
CIE-LCHlch(66.91, 71.04, 316.91°)
OKLaboklab(73.63% 0.1289 -0.1351)
OKLCHoklch(73.63% 0.187 313.7)
XYZxyz(52.1239, 36.5157, 95.5505)
Luminance0.3651 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D381FB #A9FB81
analogous
#9681FB #D381FB #FB81E6
triadic
#D381FB #FBD381 #81FBD3
tetradic
#D381FB #FB9681 #A9FB81 #81E6FB
square
#D381FB #FB9681 #A9FB81 #81E6FB
split-complementary
#D381FB #E6FB81 #81FB96
monochromatic
#AA0AF7 #BE46F9 #D381FB #E8BCFD #F5E1FE

Accessibility & contrast

On white

2.53
#D381FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.30
#D381FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D381FB
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D381FB#FFFFFF#000000##000000
##D381FB1.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#669EFF
Deuteranopia (green-blind)
#7EA5F8
Tritanopia (blue-blind)
#D094B3
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #d381fb;
/* rgb */ color: rgb(211, 129, 251);
/* oklch */ color: oklch(73.6% 0.187 313.7);
Tailwind
colors: {
  custom: {
    50: '#e3a8fd',
    500: '#d381fb',
    950: '#000000',
  },
}
SCSS
$custom: #d381fb;
$custom-light: #e3a8fd;
$custom-dark: #000000;
JSON
{
  "hex": "#d381fb",
  "rgb": {
    "r": 211,
    "g": 129,
    "b": 251
  },
  "hsl": {
    "h": 280.328,
    "s": 93.846,
    "l": 74.51
  },
  "oklch": {
    "l": 0.73627,
    "c": 0.18676,
    "h": 313.7
  },
  "luminance": 0.36514
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D381FB

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

Preview Lab → · Contrast checker → · Palette generator →

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