#D381F7#D381F7

#D381F7 is a light, vivid purple. Relative luminance 0.363; OKLCH L 73.4% C 0.182 H 314.7°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#D381F7
RGBrgb(211, 129, 247)
HSLhsl(282, 88%, 74%)
HSVhsv(282, 48%, 97%)
CMYKcmyk(14.6%, 47.8%, 0%, 3.1%)
CIE-LABlab(66.72, 51.06, -46.63)
CIE-LCHlch(66.72, 69.15, 317.59°)
OKLaboklab(73.42% 0.1285 -0.1296)
OKLCHoklch(73.42% 0.182 314.7)
XYZxyz(51.5001, 36.2662, 92.2648)
Luminance0.3626 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D381F7 #A5F781
analogous
#9881F7 #D381F7 #F781E0
triadic
#D381F7 #F7D381 #81F7D3
tetradic
#D381F7 #F79881 #A5F781 #81E0F7
square
#D381F7 #F79881 #A5F781 #81E0F7
split-complementary
#D381F7 #E0F781 #81F798
monochromatic
#AA0FEE #BF47F3 #D381F7 #E7BBFB #F5E2FD

Accessibility & contrast

On white

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

On black

8.25
#D381F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D381F7
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D381F7#FFFFFF#000000##000000
##D381F71.002.548.258.25
#FFFFFF2.541.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#689DFB
Deuteranopia (green-blind)
#80A5F4
Tritanopia (blue-blind)
#D193B1
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #d381f7;
/* rgb */ color: rgb(211, 129, 247);
/* oklch */ color: oklch(73.4% 0.182 314.7);
Tailwind
colors: {
  custom: {
    50: '#e3a8fa',
    500: '#d381f7',
    950: '#000000',
  },
}
SCSS
$custom: #d381f7;
$custom-light: #e3a8fa;
$custom-dark: #000000;
JSON
{
  "hex": "#d381f7",
  "rgb": {
    "r": 211,
    "g": 129,
    "b": 247
  },
  "hsl": {
    "h": 281.695,
    "s": 88.06,
    "l": 73.725
  },
  "oklch": {
    "l": 0.73424,
    "c": 0.18248,
    "h": 314.7
  },
  "luminance": 0.36265
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D381F7

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

Preview Lab → · Contrast checker → · Palette generator →

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