#D381FC#D381FC

#D381FC is a light, vivid purple. Relative luminance 0.366; OKLCH L 73.7% C 0.188 H 313.4°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#D381FC
RGBrgb(211, 129, 252)
HSLhsl(280, 95%, 75%)
HSVhsv(280, 49%, 99%)
CMYKcmyk(16.3%, 48.8%, 0%, 1.2%)
CIE-LABlab(66.96, 52.09, -49.00)
CIE-LCHlch(66.96, 71.51, 316.75°)
OKLaboklab(73.68% 0.1291 -0.1365)
OKLCHoklch(73.68% 0.188 313.4)
XYZxyz(52.2820, 36.5789, 96.3829)
Luminance0.3658 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D381FC #AAFC81
analogous
#9681FC #D381FC #FC81E8
triadic
#D381FC #FCD381 #81FCD3
tetradic
#D381FC #FC9681 #AAFC81 #81E8FC
square
#D381FC #FC9681 #AAFC81 #81E8FC
split-complementary
#D381FC #E8FC81 #81FC96
monochromatic
#A909F9 #BE45FB #D381FC #E8BDFD #F5E1FE

Accessibility & contrast

On white

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

On black

8.32
#D381FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D381FC
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D381FC#FFFFFF#000000##000000
##D381FC1.002.538.328.32
#FFFFFF2.531.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d381fc;
/* rgb */ color: rgb(211, 129, 252);
/* oklch */ color: oklch(73.7% 0.188 313.4);
Tailwind
colors: {
  custom: {
    50: '#e3a8fe',
    500: '#d381fc',
    950: '#000000',
  },
}
SCSS
$custom: #d381fc;
$custom-light: #e3a8fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d381fc",
  "rgb": {
    "r": 211,
    "g": 129,
    "b": 252
  },
  "hsl": {
    "h": 280,
    "s": 95.349,
    "l": 74.706
  },
  "oklch": {
    "l": 0.73678,
    "c": 0.18784,
    "h": 313.4
  },
  "luminance": 0.36578
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D381FC

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

Preview Lab → · Contrast checker → · Palette generator →

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