#B376E2#B376E2

#B376E2 is a light, vivid violet. Relative luminance 0.280; OKLCH L 67.2% C 0.164 H 308.7°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#B376E2
RGBrgb(179, 118, 226)
HSLhsl(274, 65%, 67%)
HSVhsv(274, 48%, 89%)
CMYKcmyk(20.8%, 47.8%, 0%, 11.4%)
CIE-LABlab(59.92, 43.66, -45.98)
CIE-LCHlch(59.92, 63.40, 313.52°)
OKLaboklab(67.25% 0.1028 -0.1284)
OKLCHoklch(67.25% 0.164 308.7)
XYZxyz(38.7937, 28.0321, 75.3038)
Luminance0.2803 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B376E2 #A5E276
analogous
#7D76E2 #B376E2 #E276DB
triadic
#B376E2 #E2B376 #76E2B3
tetradic
#B376E2 #E27D76 #A5E276 #76DBE2
square
#B376E2 #E27D76 #A5E276 #76DBE2
split-complementary
#B376E2 #DBE276 #76E27D
monochromatic
#7827B7 #9743D7 #B376E2 #CFA9ED #EBDBF7

Accessibility & contrast

On white

3.18
#B376E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#B376E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B376E2
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B376E2#FFFFFF#000000##000000
##B376E21.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B8EE6
Deuteranopia (green-blind)
#6B91DF
Tritanopia (blue-blind)
#AD88A1
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #b376e2;
/* rgb */ color: rgb(179, 118, 226);
/* oklch */ color: oklch(67.2% 0.164 308.7);
Tailwind
colors: {
  custom: {
    50: '#cc9feb',
    500: '#b376e2',
    950: '#000000',
  },
}
SCSS
$custom: #b376e2;
$custom-light: #cc9feb;
$custom-dark: #000000;
JSON
{
  "hex": "#b376e2",
  "rgb": {
    "r": 179,
    "g": 118,
    "b": 226
  },
  "hsl": {
    "h": 273.889,
    "s": 65.06,
    "l": 67.451
  },
  "oklch": {
    "l": 0.67247,
    "c": 0.16448,
    "h": 308.7
  },
  "luminance": 0.28032
}

Semantic roles & 50–950 ramp

primary
#B376E2
secondary
#D8EBC9
accent
#CD1967
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140F16
muted
#827E84

Preview Lab

Preview with #B376E2

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

Preview Lab → · Contrast checker → · Palette generator →

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