#B377EA#B377EA

#B377EA is a light, vivid violet. Relative luminance 0.287; OKLCH L 67.8% C 0.172 H 306.4°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#B377EA
RGBrgb(179, 119, 234)
HSLhsl(271, 73%, 69%)
HSVhsv(271, 49%, 92%)
CMYKcmyk(23.5%, 49.1%, 0%, 8.2%)
CIE-LABlab(60.53, 44.93, -49.46)
CIE-LCHlch(60.53, 66.82, 312.25°)
OKLaboklab(67.84% 0.1023 -0.1386)
OKLCHoklch(67.84% 0.172 306.4)
XYZxyz(40.0355, 28.7182, 81.2600)
Luminance0.2872 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B377EA #AEEA77
analogous
#7A77EA #B377EA #EA77E8
triadic
#B377EA #EAB377 #77EAB3
tetradic
#B377EA #EA7A77 #AEEA77 #77E8EA
square
#B377EA #EA7A77 #AEEA77 #77E8EA
split-complementary
#B377EA #E8EA77 #77EA7A
monochromatic
#771FC8 #9542E2 #B377EA #D1ACF2 #EEE1FA

Accessibility & contrast

On white

3.11
#B377EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.74
#B377EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B377EA
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B377EA#FFFFFF#000000##000000
##B377EA1.003.116.746.74
#FFFFFF3.111.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5790EE
Deuteranopia (green-blind)
#6792E7
Tritanopia (blue-blind)
#AB8BA6
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b377ea;
/* rgb */ color: rgb(179, 119, 234);
/* oklch */ color: oklch(67.8% 0.172 306.4);
Tailwind
colors: {
  custom: {
    50: '#cca0f1',
    500: '#b377ea',
    950: '#000000',
  },
}
SCSS
$custom: #b377ea;
$custom-light: #cca0f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b377ea",
  "rgb": {
    "r": 179,
    "g": 119,
    "b": 234
  },
  "hsl": {
    "h": 271.304,
    "s": 73.248,
    "l": 69.216
  },
  "oklch": {
    "l": 0.67835,
    "c": 0.17225,
    "h": 306.4
  },
  "luminance": 0.28718
}

Semantic roles & 50–950 ramp

primary
#B377EA
secondary
#DEEFCE
accent
#D5106E
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140F17
muted
#827E85

Preview Lab

Preview with #B377EA

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

Preview Lab → · Contrast checker → · Palette generator →

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