#D377EC#D377EC

#D377EC is a light, vivid purple. Relative luminance 0.331; OKLCH L 71.4% C 0.187 H 318.7°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#D377EC
RGBrgb(211, 119, 236)
HSLhsl(287, 75%, 70%)
HSVhsv(287, 50%, 93%)
CMYKcmyk(10.6%, 49.6%, 0%, 7.5%)
CIE-LABlab(64.24, 53.95, -44.47)
CIE-LCHlch(64.24, 69.92, 320.50°)
OKLaboklab(71.42% 0.1406 -0.1233)
OKLCHoklch(71.42% 0.187 318.7)
XYZxyz(48.5991, 33.1004, 83.1696)
Luminance0.3310 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D377EC #90EC77
analogous
#9877EC #D377EC #EC77CB
triadic
#D377EC #ECD377 #77ECD3
tetradic
#D377EC #EC9877 #90EC77 #77CBEC
square
#D377EC #EC9877 #90EC77 #77CBEC
split-complementary
#D377EC #CBEC77 #77EC98
monochromatic
#A71DCC #C241E4 #D377EC #E4ADF4 #F6E2FB

Accessibility & contrast

On white

2.76
#D377EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.62
#D377EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D377EC
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D377EC#FFFFFF#000000##000000
##D377EC1.002.767.627.62
#FFFFFF2.761.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6296F0
Deuteranopia (green-blind)
#7D9FE9
Tritanopia (blue-blind)
#D388A7
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d377ec;
/* rgb */ color: rgb(211, 119, 236);
/* oklch */ color: oklch(71.4% 0.187 318.7);
Tailwind
colors: {
  custom: {
    50: '#e3a1f2',
    500: '#d377ec',
    950: '#000000',
  },
}
SCSS
$custom: #d377ec;
$custom-light: #e3a1f2;
$custom-dark: #000000;
JSON
{
  "hex": "#d377ec",
  "rgb": {
    "r": 211,
    "g": 119,
    "b": 236
  },
  "hsl": {
    "h": 287.179,
    "s": 75.484,
    "l": 69.608
  },
  "oklch": {
    "l": 0.71416,
    "c": 0.18699,
    "h": 318.7
  },
  "luminance": 0.33099
}

Semantic roles & 50–950 ramp

primary
#D377EC
secondary
#D6F0CF
accent
#D80E39
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D377EC

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

Preview Lab → · Contrast checker → · Palette generator →

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