#D388FA#D388FA

#D388FA is a light, vivid violet. Relative luminance 0.384; OKLCH L 74.6% C 0.174 H 313.2°. Best body text is #000000 at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#D388FA
RGBrgb(211, 136, 250)
HSLhsl(279, 92%, 76%)
HSVhsv(279, 46%, 98%)
CMYKcmyk(15.6%, 45.6%, 0%, 2%)
CIE-LABlab(68.29, 48.04, -45.82)
CIE-LCHlch(68.29, 66.39, 316.36°)
OKLaboklab(74.63% 0.1194 -0.1273)
OKLCHoklch(74.63% 0.174 313.2)
XYZxyz(52.9206, 38.3605, 95.0405)
Luminance0.3836 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D388FA #AFFA88
analogous
#9A88FA #D388FA #FA88E8
triadic
#D388FA #FAD388 #88FAD3
tetradic
#D388FA #FA9A88 #AFFA88 #88E8FA
square
#D388FA #FA9A88 #AFFA88 #88E8FA
split-complementary
#D388FA #E8FA88 #88FA9A
monochromatic
#A813F5 #BD4DF8 #D388FA #E9C3FC #F4E2FE

Accessibility & contrast

On white

2.42
#D388FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.67
#D388FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D388FA
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D388FA#FFFFFF#000000##000000
##D388FA1.002.428.678.67
#FFFFFF2.421.0021.0021.00
#0000008.6721.001.001.00
##0000008.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#70A2FE
Deuteranopia (green-blind)
#85A8F7
Tritanopia (blue-blind)
#D099B5
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #d388fa;
/* rgb */ color: rgb(211, 136, 250);
/* oklch */ color: oklch(74.6% 0.174 313.2);
Tailwind
colors: {
  custom: {
    50: '#e2acfc',
    500: '#d388fa',
    950: '#000000',
  },
}
SCSS
$custom: #d388fa;
$custom-light: #e2acfc;
$custom-dark: #000000;
JSON
{
  "hex": "#d388fa",
  "rgb": {
    "r": 211,
    "g": 136,
    "b": 250
  },
  "hsl": {
    "h": 279.474,
    "s": 91.935,
    "l": 75.686
  },
  "oklch": {
    "l": 0.74633,
    "c": 0.17449,
    "h": 313.2
  },
  "luminance": 0.38359
}

Semantic roles & 50–950 ramp

primary
#D388FA
secondary
#E0F6D5
accent
#E6004F
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #D388FA

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

Preview Lab → · Contrast checker → · Palette generator →

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