#D388EA#D388EA

#D388EA is a light, vivid purple. Relative luminance 0.374; OKLCH L 73.9% C 0.157 H 318.0°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#D388EA
RGBrgb(211, 136, 234)
HSLhsl(286, 70%, 73%)
HSVhsv(286, 42%, 92%)
CMYKcmyk(9.8%, 41.9%, 0%, 8.2%)
CIE-LABlab(67.58, 44.78, -38.15)
CIE-LCHlch(67.58, 58.82, 319.57°)
OKLaboklab(73.87% 0.1167 -0.1052)
OKLCHoklch(73.87% 0.157 318)
XYZxyz(50.5174, 37.3992, 82.3836)
Luminance0.3740 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D388EA #9FEA88
analogous
#A288EA #D388EA #EA88D0
triadic
#D388EA #EAD388 #88EAD3
tetradic
#D388EA #EAA288 #9FEA88 #88D0EA
square
#D388EA #EAA288 #9FEA88 #88D0EA
split-complementary
#D388EA #D0EA88 #88EAA2
monochromatic
#AA25D2 #C054E1 #D388EA #E6BCF3 #F5E5FA

Accessibility & contrast

On white

2.48
#D388EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.48
#D388EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D388EA
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D388EA#FFFFFF#000000##000000
##D388EA1.002.488.488.48
#FFFFFF2.481.0021.0021.00
#0000008.4821.001.001.00
##0000008.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A0EE
Deuteranopia (green-blind)
#8CA7E7
Tritanopia (blue-blind)
#D395AE
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #d388ea;
/* rgb */ color: rgb(211, 136, 234);
/* oklch */ color: oklch(73.9% 0.157 318.0);
Tailwind
colors: {
  custom: {
    50: '#e2acf1',
    500: '#d388ea',
    950: '#000000',
  },
}
SCSS
$custom: #d388ea;
$custom-light: #e2acf1;
$custom-dark: #000000;
JSON
{
  "hex": "#d388ea",
  "rgb": {
    "r": 211,
    "g": 136,
    "b": 234
  },
  "hsl": {
    "h": 285.918,
    "s": 70,
    "l": 72.549
  },
  "oklch": {
    "l": 0.7387,
    "c": 0.15712,
    "h": 318
  },
  "luminance": 0.37398
}

Semantic roles & 50–950 ramp

primary
#D388EA
secondary
#DFF2D9
accent
#D21440
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#151016
muted
#847F84

Preview Lab

Preview with #D388EA

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

Preview Lab → · Contrast checker → · Palette generator →

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