#B376EB#B376EB

#B376EB is a light, vivid violet. Relative luminance 0.285; OKLCH L 67.7% C 0.175 H 306.4°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#B376EB
RGBrgb(179, 118, 235)
HSLhsl(271, 75%, 69%)
HSVhsv(271, 50%, 92%)
CMYKcmyk(23.8%, 49.8%, 0%, 7.8%)
CIE-LABlab(60.37, 45.69, -50.27)
CIE-LCHlch(60.37, 67.93, 312.27°)
OKLaboklab(67.73% 0.1038 -0.1409)
OKLCHoklch(67.73% 0.175 306.4)
XYZxyz(40.0612, 28.5391, 81.9793)
Luminance0.2854 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B376EB #AEEB76
analogous
#7976EB #B376EB #EB76E9
triadic
#B376EB #EBB376 #76EBB3
tetradic
#B376EB #EB7976 #AEEB76 #76E9EB
square
#B376EB #EB7976 #AEEB76 #76E9EB
split-complementary
#B376EB #E9EB76 #76EB79
monochromatic
#771DC9 #9541E3 #B376EB #D1ABF3 #EEE1FB

Accessibility & contrast

On white

3.13
#B376EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#B376EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B376EB
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B376EB#FFFFFF#000000##000000
##B376EB1.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#548FEF
Deuteranopia (green-blind)
#6692E8
Tritanopia (blue-blind)
#AA8AA6
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b376eb;
/* rgb */ color: rgb(179, 118, 235);
/* oklch */ color: oklch(67.7% 0.175 306.4);
Tailwind
colors: {
  custom: {
    50: '#cc9ff2',
    500: '#b376eb',
    950: '#000000',
  },
}
SCSS
$custom: #b376eb;
$custom-light: #cc9ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#b376eb",
  "rgb": {
    "r": 179,
    "g": 118,
    "b": 235
  },
  "hsl": {
    "h": 271.282,
    "s": 74.522,
    "l": 69.216
  },
  "oklch": {
    "l": 0.67733,
    "c": 0.175,
    "h": 306.4
  },
  "luminance": 0.28539
}

Semantic roles & 50–950 ramp

primary
#B376EB
secondary
#DEEFCD
accent
#D70F6E
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140F17
muted
#827E85

Preview Lab

Preview with #B376EB

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

Preview Lab → · Contrast checker → · Palette generator →

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