#D380EF#D380EF

#D380EF is a light, vivid purple. Relative luminance 0.355; OKLCH L 72.9% C 0.176 H 317.1°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#D380EF
RGBrgb(211, 128, 239)
HSLhsl(285, 78%, 72%)
HSVhsv(285, 46%, 94%)
CMYKcmyk(11.7%, 46.4%, 0%, 6.3%)
CIE-LABlab(66.15, 49.96, -43.13)
CIE-LCHlch(66.15, 66.00, 319.19°)
OKLaboklab(72.88% 0.1287 -0.1195)
OKLCHoklch(72.88% 0.176 317.1)
XYZxyz(50.1609, 35.5208, 85.8585)
Luminance0.3552 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D380EF #9CEF80
analogous
#9C80EF #D380EF #EF80D3
triadic
#D380EF #EFD380 #80EFD3
tetradic
#D380EF #EF9C80 #9CEF80 #80D3EF
square
#D380EF #EF9C80 #9CEF80 #80D3EF
split-complementary
#D380EF #D3EF80 #80EF9C
monochromatic
#A91BD9 #C04AE8 #D380EF #E6B6F6 #F6E4FC

Accessibility & contrast

On white

2.59
#D380EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.10
#D380EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D380EF
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D380EF#FFFFFF#000000##000000
##D380EF1.002.598.108.10
#FFFFFF2.591.0021.0021.00
#0000008.1021.001.001.00
##0000008.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9BF3
Deuteranopia (green-blind)
#83A3EC
Tritanopia (blue-blind)
#D290AC
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #d380ef;
/* rgb */ color: rgb(211, 128, 239);
/* oklch */ color: oklch(72.9% 0.176 317.1);
Tailwind
colors: {
  custom: {
    50: '#e2a7f4',
    500: '#d380ef',
    950: '#000000',
  },
}
SCSS
$custom: #d380ef;
$custom-light: #e2a7f4;
$custom-dark: #000000;
JSON
{
  "hex": "#d380ef",
  "rgb": {
    "r": 211,
    "g": 128,
    "b": 239
  },
  "hsl": {
    "h": 284.865,
    "s": 77.622,
    "l": 71.961
  },
  "oklch": {
    "l": 0.72879,
    "c": 0.17563,
    "h": 317.1
  },
  "luminance": 0.35519
}

Semantic roles & 50–950 ramp

primary
#D380EF
secondary
#DFF3D7
accent
#DA0C40
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#161017
muted
#847F85

Preview Lab

Preview with #D380EF

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

Preview Lab → · Contrast checker → · Palette generator →

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