#D388FC#D388FC

#D388FC is a light, vivid violet. Relative luminance 0.385; OKLCH L 74.7% C 0.177 H 312.6°. Best body text is #000000 at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#D388FC
RGBrgb(211, 136, 252)
HSLhsl(279, 95%, 76%)
HSVhsv(279, 46%, 99%)
CMYKcmyk(16.3%, 46%, 0%, 1.2%)
CIE-LABlab(68.38, 48.46, -46.77)
CIE-LCHlch(68.38, 67.34, 316.02°)
OKLaboklab(74.73% 0.1196 -0.13)
OKLCHoklch(74.73% 0.177 312.6)
XYZxyz(53.2358, 38.4866, 96.7008)
Luminance0.3849 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D388FC #B1FC88
analogous
#9988FC #D388FC #FC88EB
triadic
#D388FC #FCD388 #88FCD3
tetradic
#D388FC #FC9988 #B1FC88 #88EBFC
square
#D388FC #FC9988 #B1FC88 #88EBFC
split-complementary
#D388FC #EBFC88 #88FC99
monochromatic
#A711F9 #BD4CFA #D388FC #E9C4FE #F4E1FE

Accessibility & contrast

On white

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

On black

8.70
#D388FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D388FC
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D388FC#FFFFFF#000000##000000
##D388FC1.002.418.708.70
#FFFFFF2.411.0021.0021.00
#0000008.7021.001.001.00
##0000008.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6FA3FF
Deuteranopia (green-blind)
#84A9F9
Tritanopia (blue-blind)
#CF9AB6
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #d388fc;
/* rgb */ color: rgb(211, 136, 252);
/* oklch */ color: oklch(74.7% 0.177 312.6);
Tailwind
colors: {
  custom: {
    50: '#e2acfe',
    500: '#d388fc',
    950: '#000000',
  },
}
SCSS
$custom: #d388fc;
$custom-light: #e2acfe;
$custom-dark: #000000;
JSON
{
  "hex": "#d388fc",
  "rgb": {
    "r": 211,
    "g": 136,
    "b": 252
  },
  "hsl": {
    "h": 278.793,
    "s": 95.082,
    "l": 76.078
  },
  "oklch": {
    "l": 0.74732,
    "c": 0.1767,
    "h": 312.6
  },
  "luminance": 0.38485
}

Semantic roles & 50–950 ramp

primary
#D388FC
secondary
#E1F6D5
accent
#E60051
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#161018
muted
#847F86

Preview Lab

Preview with #D388FC

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

Preview Lab → · Contrast checker → · Palette generator →

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