#D388EB#D388EB

#D388EB is a light, vivid purple. Relative luminance 0.375; OKLCH L 73.9% C 0.158 H 317.6°. Best body text is #000000 at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#D388EB
RGBrgb(211, 136, 235)
HSLhsl(285, 71%, 73%)
HSVhsv(285, 42%, 92%)
CMYKcmyk(10.2%, 42.1%, 0%, 7.8%)
CIE-LABlab(67.62, 44.98, -38.63)
CIE-LCHlch(67.62, 59.29, 319.34°)
OKLaboklab(73.92% 0.1169 -0.1066)
OKLCHoklch(73.92% 0.158 317.6)
XYZxyz(50.6614, 37.4569, 83.1423)
Luminance0.3745 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D388EB #A0EB88
analogous
#A288EB #D388EB #EB88D1
triadic
#D388EB #EBD388 #88EBD3
tetradic
#D388EB #EBA288 #A0EB88 #88D1EB
square
#D388EB #EBA288 #A0EB88 #88D1EB
split-complementary
#D388EB #D1EB88 #88EBA2
monochromatic
#AA24D5 #C054E2 #D388EB #E6BCF4 #F5E5FB

Accessibility & contrast

On white

2.47
#D388EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.49
#D388EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D388EB
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D388EB#FFFFFF#000000##000000
##D388EB1.002.478.498.49
#FFFFFF2.471.0021.0021.00
#0000008.4921.001.001.00
##0000008.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A0EF
Deuteranopia (green-blind)
#8CA7E8
Tritanopia (blue-blind)
#D395AE
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #d388eb;
/* rgb */ color: rgb(211, 136, 235);
/* oklch */ color: oklch(73.9% 0.158 317.6);
Tailwind
colors: {
  custom: {
    50: '#e2acf2',
    500: '#d388eb',
    950: '#000000',
  },
}
SCSS
$custom: #d388eb;
$custom-light: #e2acf2;
$custom-dark: #000000;
JSON
{
  "hex": "#d388eb",
  "rgb": {
    "r": 211,
    "g": 136,
    "b": 235
  },
  "hsl": {
    "h": 285.455,
    "s": 71.223,
    "l": 72.745
  },
  "oklch": {
    "l": 0.73916,
    "c": 0.15819,
    "h": 317.6
  },
  "luminance": 0.37455
}

Semantic roles & 50–950 ramp

primary
#D388EB
secondary
#DFF2D9
accent
#D31241
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#151017
muted
#847F85

Preview Lab

Preview with #D388EB

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

Preview Lab → · Contrast checker → · Palette generator →

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