#D388F2#D388F2

#D388F2 is a light, vivid purple. Relative luminance 0.379; OKLCH L 74.2% C 0.166 H 315.4°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#D388F2
RGBrgb(211, 136, 242)
HSLhsl(282, 80%, 74%)
HSVhsv(282, 44%, 95%)
CMYKcmyk(12.8%, 43.8%, 0%, 5.1%)
CIE-LABlab(67.92, 46.39, -42.00)
CIE-LCHlch(67.92, 62.58, 317.84°)
OKLaboklab(74.25% 0.1181 -0.1163)
OKLCHoklch(74.25% 0.166 315.4)
XYZxyz(51.6927, 37.8694, 88.5736)
Luminance0.3787 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D388F2 #A7F288
analogous
#9E88F2 #D388F2 #F288DC
triadic
#D388F2 #F2D388 #88F2D3
tetradic
#D388F2 #F29E88 #A7F288 #88DCF2
square
#D388F2 #F29E88 #A7F288 #88DCF2
split-complementary
#D388F2 #DCF288 #88F29E
monochromatic
#AA1AE6 #BF51EC #D388F2 #E7BFF8 #F5E3FC

Accessibility & contrast

On white

2.45
#D388F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.57
#D388F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D388F2
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D388F2#FFFFFF#000000##000000
##D388F21.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A1F6
Deuteranopia (green-blind)
#89A8EF
Tritanopia (blue-blind)
#D197B2
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #d388f2;
/* rgb */ color: rgb(211, 136, 242);
/* oklch */ color: oklch(74.2% 0.166 315.4);
Tailwind
colors: {
  custom: {
    50: '#e2acf6',
    500: '#d388f2',
    950: '#000000',
  },
}
SCSS
$custom: #d388f2;
$custom-light: #e2acf6;
$custom-dark: #000000;
JSON
{
  "hex": "#d388f2",
  "rgb": {
    "r": 211,
    "g": 136,
    "b": 242
  },
  "hsl": {
    "h": 282.453,
    "s": 80.303,
    "l": 74.118
  },
  "oklch": {
    "l": 0.74245,
    "c": 0.16574,
    "h": 315.4
  },
  "luminance": 0.37868
}

Semantic roles & 50–950 ramp

primary
#D388F2
secondary
#E0F4D7
accent
#DD0947
background
#FEFAFF
surface
#FCF4FE
border
#D5CED6
text
#161017
muted
#847F85

Preview Lab

Preview with #D388F2

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

Preview Lab → · Contrast checker → · Palette generator →

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