#D382FC#D382FC

#D382FC is a light, vivid violet. Relative luminance 0.368; OKLCH L 73.8% C 0.186 H 313.3°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#D382FC
RGBrgb(211, 130, 252)
HSLhsl(280, 95%, 75%)
HSVhsv(280, 48%, 99%)
CMYKcmyk(16.3%, 48.4%, 0%, 1.2%)
CIE-LABlab(67.16, 51.58, -48.68)
CIE-LCHlch(67.16, 70.92, 316.65°)
OKLaboklab(73.83% 0.1277 -0.1356)
OKLCHoklch(73.83% 0.186 313.3)
XYZxyz(52.4143, 36.8437, 96.4270)
Luminance0.3684 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D382FC #ABFC82
analogous
#9682FC #D382FC #FC82E8
triadic
#D382FC #FCD382 #82FCD3
tetradic
#D382FC #FC9682 #ABFC82 #82E8FC
square
#D382FC #FC9682 #ABFC82 #82E8FC
split-complementary
#D382FC #E8FC82 #82FC96
monochromatic
#A90AF9 #BE46FB #D382FC #E8BEFD #F4E1FE

Accessibility & contrast

On white

2.51
#D382FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#D382FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D382FC
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D382FC#FFFFFF#000000##000000
##D382FC1.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#679FFF
Deuteranopia (green-blind)
#7EA5F9
Tritanopia (blue-blind)
#CF95B3
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #d382fc;
/* rgb */ color: rgb(211, 130, 252);
/* oklch */ color: oklch(73.8% 0.186 313.3);
Tailwind
colors: {
  custom: {
    50: '#e3a8fe',
    500: '#d382fc',
    950: '#000000',
  },
}
SCSS
$custom: #d382fc;
$custom-light: #e3a8fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d382fc",
  "rgb": {
    "r": 211,
    "g": 130,
    "b": 252
  },
  "hsl": {
    "h": 279.836,
    "s": 95.313,
    "l": 74.902
  },
  "oklch": {
    "l": 0.73826,
    "c": 0.18626,
    "h": 313.3
  },
  "luminance": 0.36842
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D382FC

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

Preview Lab → · Contrast checker → · Palette generator →

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