#D382FE#D382FE

#D382FE is a light, vivid violet. Relative luminance 0.370; OKLCH L 73.9% C 0.188 H 312.8°. Best body text is #000000 at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#D382FE
RGBrgb(211, 130, 254)
HSLhsl(279, 98%, 75%)
HSVhsv(279, 49%, 100%)
CMYKcmyk(16.9%, 48.8%, 0%, 0.4%)
CIE-LABlab(67.26, 51.99, -49.63)
CIE-LCHlch(67.26, 71.87, 316.33°)
OKLaboklab(73.93% 0.128 -0.1383)
OKLCHoklch(73.93% 0.188 312.8)
XYZxyz(52.7329, 36.9711, 98.1050)
Luminance0.3697 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D382FE #ADFE82
analogous
#9582FE #D382FE #FE82EB
triadic
#D382FE #FED382 #82FED3
tetradic
#D382FE #FE9582 #ADFE82 #82EBFE
square
#D382FE #FE9582 #ADFE82 #82EBFE
split-complementary
#D382FE #EBFE82 #82FE95
monochromatic
#A809FD #BE45FE #D382FE #E8BFFE #F4E1FF

Accessibility & contrast

On white

2.50
#D382FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.39
#D382FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D382FE
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D382FE#FFFFFF#000000##000000
##D382FE1.002.508.398.39
#FFFFFF2.501.0021.0021.00
#0000008.3921.001.001.00
##0000008.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#659FFF
Deuteranopia (green-blind)
#7DA6FB
Tritanopia (blue-blind)
#CF96B4
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #d382fe;
/* rgb */ color: rgb(211, 130, 254);
/* oklch */ color: oklch(73.9% 0.188 312.8);
Tailwind
colors: {
  custom: {
    50: '#e3a8ff',
    500: '#d382fe',
    950: '#000000',
  },
}
SCSS
$custom: #d382fe;
$custom-light: #e3a8ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d382fe",
  "rgb": {
    "r": 211,
    "g": 130,
    "b": 254
  },
  "hsl": {
    "h": 279.194,
    "s": 98.413,
    "l": 75.294
  },
  "oklch": {
    "l": 0.73928,
    "c": 0.18842,
    "h": 312.8
  },
  "luminance": 0.3697
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D382FE

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

Preview Lab → · Contrast checker → · Palette generator →

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