#D380FC#D380FC

#D380FC is a light, vivid purple. Relative luminance 0.363; OKLCH L 73.5% C 0.189 H 313.5°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#D380FC
RGBrgb(211, 128, 252)
HSLhsl(280, 95%, 75%)
HSVhsv(280, 49%, 99%)
CMYKcmyk(16.3%, 49.2%, 0%, 1.2%)
CIE-LABlab(66.76, 52.60, -49.31)
CIE-LCHlch(66.76, 72.10, 316.85°)
OKLaboklab(73.53% 0.1304 -0.1374)
OKLCHoklch(73.53% 0.189 313.5)
XYZxyz(52.1509, 36.3168, 96.3392)
Luminance0.3632 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D380FC #A9FC80
analogous
#9580FC #D380FC #FC80E7
triadic
#D380FC #FCD380 #80FCD3
tetradic
#D380FC #FC9580 #A9FC80 #80E7FC
square
#D380FC #FC9580 #A9FC80 #80E7FC
split-complementary
#D380FC #E7FC80 #80FC95
monochromatic
#AA08F9 #BE44FB #D380FC #E8BCFD #F5E1FE

Accessibility & contrast

On white

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

On black

8.26
#D380FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D380FC
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D380FC#FFFFFF#000000##000000
##D380FC1.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#649EFF
Deuteranopia (green-blind)
#7CA5F9
Tritanopia (blue-blind)
#CF93B3
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #d380fc;
/* rgb */ color: rgb(211, 128, 252);
/* oklch */ color: oklch(73.5% 0.189 313.5);
Tailwind
colors: {
  custom: {
    50: '#e3a7fe',
    500: '#d380fc',
    950: '#000000',
  },
}
SCSS
$custom: #d380fc;
$custom-light: #e3a7fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d380fc",
  "rgb": {
    "r": 211,
    "g": 128,
    "b": 252
  },
  "hsl": {
    "h": 280.161,
    "s": 95.385,
    "l": 74.51
  },
  "oklch": {
    "l": 0.7353,
    "c": 0.18941,
    "h": 313.5
  },
  "luminance": 0.36316
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D380FC

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

Preview Lab → · Contrast checker → · Palette generator →

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