#D381F9#D381F9

#D381F9 is a light, vivid purple. Relative luminance 0.364; OKLCH L 73.5% C 0.185 H 314.2°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#D381F9
RGBrgb(211, 129, 249)
HSLhsl(281, 91%, 74%)
HSVhsv(281, 48%, 98%)
CMYKcmyk(15.3%, 48.2%, 0%, 2.4%)
CIE-LABlab(66.82, 51.47, -47.58)
CIE-LCHlch(66.82, 70.09, 317.25°)
OKLaboklab(73.52% 0.1287 -0.1324)
OKLCHoklch(73.52% 0.185 314.2)
XYZxyz(51.8103, 36.3903, 93.8989)
Luminance0.3639 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D381F9 #A7F981
analogous
#9781F9 #D381F9 #F981E3
triadic
#D381F9 #F9D381 #81F9D3
tetradic
#D381F9 #F99781 #A7F981 #81E3F9
square
#D381F9 #F99781 #A7F981 #81E3F9
split-complementary
#D381F9 #E3F981 #81F997
monochromatic
#AA0CF3 #BF47F6 #D381F9 #E7BBFC #F5E2FE

Accessibility & contrast

On white

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

On black

8.28
#D381F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D381F9
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D381F9#FFFFFF#000000##000000
##D381F91.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#679EFD
Deuteranopia (green-blind)
#7FA5F6
Tritanopia (blue-blind)
#D093B2
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #d381f9;
/* rgb */ color: rgb(211, 129, 249);
/* oklch */ color: oklch(73.5% 0.185 314.2);
Tailwind
colors: {
  custom: {
    50: '#e3a8fc',
    500: '#d381f9',
    950: '#000000',
  },
}
SCSS
$custom: #d381f9;
$custom-light: #e3a8fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d381f9",
  "rgb": {
    "r": 211,
    "g": 129,
    "b": 249
  },
  "hsl": {
    "h": 281,
    "s": 90.909,
    "l": 74.118
  },
  "oklch": {
    "l": 0.73525,
    "c": 0.18462,
    "h": 314.2
  },
  "luminance": 0.36389
}

Semantic roles & 50–950 ramp

primary
#D381F9
secondary
#E0F6D5
accent
#E60049
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #D381F9

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

Preview Lab → · Contrast checker → · Palette generator →

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