#D392EC#D392EC

#D392EC is a light, vivid purple. Relative luminance 0.405; OKLCH L 75.6% C 0.142 H 316.2°. Best body text is #000000 at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#D392EC
RGBrgb(211, 146, 236)
HSLhsl(283, 70%, 75%)
HSVhsv(283, 38%, 93%)
CMYKcmyk(10.6%, 38.1%, 0%, 7.5%)
CIE-LABlab(69.80, 39.85, -35.79)
CIE-LCHlch(69.80, 53.56, 318.07°)
OKLaboklab(75.57% 0.1028 -0.0985)
OKLCHoklch(75.57% 0.142 316.2)
XYZxyz(52.2809, 40.4641, 84.3969)
Luminance0.4046 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D392EC #ABEC92
analogous
#A692EC #D392EC #EC92D8
triadic
#D392EC #ECD392 #92ECD3
tetradic
#D392EC #ECA692 #ABEC92 #92D8EC
square
#D392EC #ECA692 #ABEC92 #92D8EC
split-complementary
#D392EC #D8EC92 #92ECA6
monochromatic
#A92ADA #BE5EE3 #D392EC #E8C6F5 #F4E5FA

Accessibility & contrast

On white

2.31
#D392EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.09
#D392EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D392EC
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D392EC#FFFFFF#000000##000000
##D392EC1.002.319.099.09
#FFFFFF2.311.0021.0021.00
#0000009.0921.001.001.00
##0000009.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#84A6EF
Deuteranopia (green-blind)
#94ADE9
Tritanopia (blue-blind)
#D29EB4
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #d392ec;
/* rgb */ color: rgb(211, 146, 236);
/* oklch */ color: oklch(75.6% 0.142 316.2);
Tailwind
colors: {
  custom: {
    50: '#e2b3f2',
    500: '#d392ec',
    950: '#000000',
  },
}
SCSS
$custom: #d392ec;
$custom-light: #e2b3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#d392ec",
  "rgb": {
    "r": 211,
    "g": 146,
    "b": 236
  },
  "hsl": {
    "h": 283.333,
    "s": 70.313,
    "l": 74.902
  },
  "oklch": {
    "l": 0.75569,
    "c": 0.1424,
    "h": 316.2
  },
  "luminance": 0.40463
}

Semantic roles & 50–950 ramp

primary
#D392EC
secondary
#E0F2D9
accent
#D21348
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #D392EC

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

Preview Lab → · Contrast checker → · Palette generator →

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