#B976EB#B976EB

#B976EB is a light, vivid violet. Relative luminance 0.293; OKLCH L 68.4% C 0.177 H 308.9°. Best body text is #000000 at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#B976EB
RGBrgb(185, 118, 235)
HSLhsl(274, 75%, 69%)
HSVhsv(274, 50%, 92%)
CMYKcmyk(21.3%, 49.8%, 0%, 7.8%)
CIE-LABlab(61.02, 47.28, -49.20)
CIE-LCHlch(61.02, 68.24, 313.86°)
OKLaboklab(68.36% 0.111 -0.1377)
OKLCHoklch(68.36% 0.177 308.9)
XYZxyz(41.4785, 29.2699, 82.0457)
Luminance0.2927 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B976EB #A8EB76
analogous
#7F76EB #B976EB #EB76E3
triadic
#B976EB #EBB976 #76EBB9
tetradic
#B976EB #EB7F76 #A8EB76 #76E3EB
square
#B976EB #EB7F76 #A8EB76 #76E3EB
split-complementary
#B976EB #E3EB76 #76EB7F
monochromatic
#801DC9 #9E41E3 #B976EB #D4ABF3 #F0E1FB

Accessibility & contrast

On white

3.06
#B976EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.85
#B976EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B976EB
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B976EB#FFFFFF#000000##000000
##B976EB1.003.066.856.85
#FFFFFF3.061.0021.0021.00
#0000006.8521.001.001.00
##0000006.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5790EF
Deuteranopia (green-blind)
#6A94E8
Tritanopia (blue-blind)
#B28AA6
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #b976eb;
/* rgb */ color: rgb(185, 118, 235);
/* oklch */ color: oklch(68.4% 0.177 308.9);
Tailwind
colors: {
  custom: {
    50: '#d09ff2',
    500: '#b976eb',
    950: '#000000',
  },
}
SCSS
$custom: #b976eb;
$custom-light: #d09ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#b976eb",
  "rgb": {
    "r": 185,
    "g": 118,
    "b": 235
  },
  "hsl": {
    "h": 274.359,
    "s": 74.522,
    "l": 69.216
  },
  "oklch": {
    "l": 0.68359,
    "c": 0.17685,
    "h": 308.9
  },
  "luminance": 0.29269
}

Semantic roles & 50–950 ramp

primary
#B976EB
secondary
#DCEFCD
accent
#D70F64
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140F17
muted
#837E85

Preview Lab

Preview with #B976EB

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

Preview Lab → · Contrast checker → · Palette generator →

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