#D388FD#D388FD

#D388FD is a light, vivid violet. Relative luminance 0.385; OKLCH L 74.8% C 0.178 H 312.3°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#D388FD
RGBrgb(211, 136, 253)
HSLhsl(278, 97%, 76%)
HSVhsv(278, 46%, 99%)
CMYKcmyk(16.6%, 46.2%, 0%, 0.8%)
CIE-LABlab(68.42, 48.67, -47.24)
CIE-LCHlch(68.42, 67.82, 315.85°)
OKLaboklab(74.78% 0.1198 -0.1314)
OKLCHoklch(74.78% 0.178 312.3)
XYZxyz(53.3947, 38.5502, 97.5376)
Luminance0.3855 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D388FD #B2FD88
analogous
#9988FD #D388FD #FD88EC
triadic
#D388FD #FDD388 #88FDD3
tetradic
#D388FD #FD9988 #B2FD88 #88ECFD
square
#D388FD #FD9988 #B2FD88 #88ECFD
split-complementary
#D388FD #ECFD88 #88FD99
monochromatic
#A610FB #BD4CFC #D388FD #E9C4FE #F4E1FE

Accessibility & contrast

On white

2.41
#D388FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.71
#D388FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D388FD
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D388FD#FFFFFF#000000##000000
##D388FD1.002.418.718.71
#FFFFFF2.411.0021.0021.00
#0000008.7121.001.001.00
##0000008.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6EA3FF
Deuteranopia (green-blind)
#83A9FA
Tritanopia (blue-blind)
#CF9AB7
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #d388fd;
/* rgb */ color: rgb(211, 136, 253);
/* oklch */ color: oklch(74.8% 0.178 312.3);
Tailwind
colors: {
  custom: {
    50: '#e2acfe',
    500: '#d388fd',
    950: '#000000',
  },
}
SCSS
$custom: #d388fd;
$custom-light: #e2acfe;
$custom-dark: #000000;
JSON
{
  "hex": "#d388fd",
  "rgb": {
    "r": 211,
    "g": 136,
    "b": 253
  },
  "hsl": {
    "h": 278.462,
    "s": 96.694,
    "l": 76.275
  },
  "oklch": {
    "l": 0.74782,
    "c": 0.1778,
    "h": 312.3
  },
  "luminance": 0.38549
}

Semantic roles & 50–950 ramp

primary
#D388FD
secondary
#E1F7D4
accent
#E60052
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#161018
muted
#847F86

Preview Lab

Preview with #D388FD

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

Preview Lab → · Contrast checker → · Palette generator →

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