#D377F2#D377F2

#D377F2 is a light, vivid purple. Relative luminance 0.335; OKLCH L 71.7% C 0.193 H 317.0°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#D377F2
RGBrgb(211, 119, 242)
HSLhsl(285, 83%, 71%)
HSVhsv(285, 51%, 95%)
CMYKcmyk(12.8%, 50.8%, 0%, 5.1%)
CIE-LABlab(64.53, 55.14, -47.34)
CIE-LCHlch(64.53, 72.67, 319.35°)
OKLaboklab(71.72% 0.1413 -0.1316)
OKLCHoklch(71.72% 0.193 317)
XYZxyz(49.4855, 33.4550, 87.8379)
Luminance0.3345 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D377F2 #96F277
analogous
#9577F2 #D377F2 #F277D3
triadic
#D377F2 #F2D377 #77F2D3
tetradic
#D377F2 #F29577 #96F277 #77D3F2
square
#D377F2 #F29577 #96F277 #77D3F2
split-complementary
#D377F2 #D3F277 #77F295
monochromatic
#A815DA #C13FED #D377F2 #E5AFF7 #F6E3FC

Accessibility & contrast

On white

2.73
#D377F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.69
#D377F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D377F2
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D377F2#FFFFFF#000000##000000
##D377F21.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E97F6
Deuteranopia (green-blind)
#7A9FEF
Tritanopia (blue-blind)
#D289AA
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d377f2;
/* rgb */ color: rgb(211, 119, 242);
/* oklch */ color: oklch(71.7% 0.193 317.0);
Tailwind
colors: {
  custom: {
    50: '#e3a1f7',
    500: '#d377f2',
    950: '#000000',
  },
}
SCSS
$custom: #d377f2;
$custom-light: #e3a1f7;
$custom-dark: #000000;
JSON
{
  "hex": "#d377f2",
  "rgb": {
    "r": 211,
    "g": 119,
    "b": 242
  },
  "hsl": {
    "h": 284.878,
    "s": 82.55,
    "l": 70.784
  },
  "oklch": {
    "l": 0.71721,
    "c": 0.19307,
    "h": 317
  },
  "luminance": 0.33453
}

Semantic roles & 50–950 ramp

primary
#D377F2
secondary
#DAF3D2
accent
#DF073D
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D377F2

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

Preview Lab → · Contrast checker → · Palette generator →

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