#D381F6#D381F6

#D381F6 is a light, vivid purple. Relative luminance 0.362; OKLCH L 73.4% C 0.181 H 315.0°. Best body text is #000000 at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#D381F6
RGBrgb(211, 129, 246)
HSLhsl(282, 87%, 74%)
HSVhsv(282, 48%, 96%)
CMYKcmyk(14.2%, 47.6%, 0%, 3.5%)
CIE-LABlab(66.68, 50.86, -46.16)
CIE-LCHlch(66.68, 68.68, 317.77°)
OKLaboklab(73.37% 0.1283 -0.1282)
OKLCHoklch(73.37% 0.181 315)
XYZxyz(51.3462, 36.2046, 91.4543)
Luminance0.3620 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D381F6 #A4F681
analogous
#9881F6 #D381F6 #F681DF
triadic
#D381F6 #F6D381 #81F6D3
tetradic
#D381F6 #F69881 #A4F681 #81DFF6
square
#D381F6 #F69881 #A4F681 #81DFF6
split-complementary
#D381F6 #DFF681 #81F698
monochromatic
#AA11EC #BF48F2 #D381F6 #E7BAFA #F5E2FD

Accessibility & contrast

On white

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

On black

8.24
#D381F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D381F6
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D381F6#FFFFFF#000000##000000
##D381F61.002.558.248.24
#FFFFFF2.551.0021.0021.00
#0000008.2421.001.001.00
##0000008.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#699DFA
Deuteranopia (green-blind)
#81A5F3
Tritanopia (blue-blind)
#D192B0
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #d381f6;
/* rgb */ color: rgb(211, 129, 246);
/* oklch */ color: oklch(73.4% 0.181 315.0);
Tailwind
colors: {
  custom: {
    50: '#e2a8f9',
    500: '#d381f6',
    950: '#000000',
  },
}
SCSS
$custom: #d381f6;
$custom-light: #e2a8f9;
$custom-dark: #000000;
JSON
{
  "hex": "#d381f6",
  "rgb": {
    "r": 211,
    "g": 129,
    "b": 246
  },
  "hsl": {
    "h": 282.051,
    "s": 86.667,
    "l": 73.529
  },
  "oklch": {
    "l": 0.73374,
    "c": 0.18142,
    "h": 315
  },
  "luminance": 0.36203
}

Semantic roles & 50–950 ramp

primary
#D381F6
secondary
#DFF5D6
accent
#E30246
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #D381F6

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

Preview Lab → · Contrast checker → · Palette generator →

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