#B377EB#B377EB

#B377EB is a light, vivid violet. Relative luminance 0.288; OKLCH L 67.9% C 0.173 H 306.2°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#B377EB
RGBrgb(179, 119, 235)
HSLhsl(271, 74%, 69%)
HSVhsv(271, 49%, 92%)
CMYKcmyk(23.8%, 49.4%, 0%, 7.8%)
CIE-LABlab(60.58, 45.15, -49.94)
CIE-LCHlch(60.58, 67.32, 312.12°)
OKLaboklab(67.89% 0.1024 -0.1399)
OKLCHoklch(67.89% 0.173 306.2)
XYZxyz(40.1795, 28.7758, 82.0187)
Luminance0.2878 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B377EB #AFEB77
analogous
#7977EB #B377EB #EB77E9
triadic
#B377EB #EBB377 #77EBB3
tetradic
#B377EB #EB7977 #AFEB77 #77E9EB
square
#B377EB #EB7977 #AFEB77 #77E9EB
split-complementary
#B377EB #E9EB77 #77EB79
monochromatic
#771ECA #9542E3 #B377EB #D1ACF3 #EFE2FB

Accessibility & contrast

On white

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

On black

6.76
#B377EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B377EB
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B377EB#FFFFFF#000000##000000
##B377EB1.003.116.766.76
#FFFFFF3.111.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5690EF
Deuteranopia (green-blind)
#6793E8
Tritanopia (blue-blind)
#AA8BA6
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b377eb;
/* rgb */ color: rgb(179, 119, 235);
/* oklch */ color: oklch(67.9% 0.173 306.2);
Tailwind
colors: {
  custom: {
    50: '#cca0f2',
    500: '#b377eb',
    950: '#000000',
  },
}
SCSS
$custom: #b377eb;
$custom-light: #cca0f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b377eb",
  "rgb": {
    "r": 179,
    "g": 119,
    "b": 235
  },
  "hsl": {
    "h": 271.034,
    "s": 74.359,
    "l": 69.412
  },
  "oklch": {
    "l": 0.6789,
    "c": 0.17343,
    "h": 306.2
  },
  "luminance": 0.28776
}

Semantic roles & 50–950 ramp

primary
#B377EB
secondary
#DEF0CE
accent
#D60F6F
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140F17
muted
#827E85

Preview Lab

Preview with #B377EB

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

Preview Lab → · Contrast checker → · Palette generator →

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