#D381FA#D381FA

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

Color values

HEX#D381FA
RGBrgb(211, 129, 250)
HSLhsl(281, 92%, 74%)
HSVhsv(281, 48%, 98%)
CMYKcmyk(15.6%, 48.4%, 0%, 2%)
CIE-LABlab(66.86, 51.68, -48.05)
CIE-LCHlch(66.86, 70.57, 317.08°)
OKLaboklab(73.58% 0.1288 -0.1337)
OKLCHoklch(73.58% 0.186 313.9)
XYZxyz(51.9667, 36.4528, 94.7225)
Luminance0.3645 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D381FA #A8FA81
analogous
#9781FA #D381FA #FA81E5
triadic
#D381FA #FAD381 #81FAD3
tetradic
#D381FA #FA9781 #A8FA81 #81E5FA
square
#D381FA #FA9781 #A8FA81 #81E5FA
split-complementary
#D381FA #E5FA81 #81FA97
monochromatic
#AA0BF5 #BE46F8 #D381FA #E8BCFC #F5E2FE

Accessibility & contrast

On white

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

On black

8.29
#D381FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D381FA
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D381FA#FFFFFF#000000##000000
##D381FA1.002.538.298.29
#FFFFFF2.531.0021.0021.00
#0000008.2921.001.001.00
##0000008.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#679EFE
Deuteranopia (green-blind)
#7EA5F7
Tritanopia (blue-blind)
#D094B2
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #d381fa;
/* rgb */ color: rgb(211, 129, 250);
/* oklch */ color: oklch(73.6% 0.186 313.9);
Tailwind
colors: {
  custom: {
    50: '#e3a8fc',
    500: '#d381fa',
    950: '#000000',
  },
}
SCSS
$custom: #d381fa;
$custom-light: #e3a8fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d381fa",
  "rgb": {
    "r": 211,
    "g": 129,
    "b": 250
  },
  "hsl": {
    "h": 280.661,
    "s": 92.366,
    "l": 74.314
  },
  "oklch": {
    "l": 0.73576,
    "c": 0.1857,
    "h": 313.9
  },
  "luminance": 0.36452
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D381FA

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

Preview Lab → · Contrast checker → · Palette generator →

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