#B976EC#B976EC

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

Color values

HEX#B976EC
RGBrgb(185, 118, 236)
HSLhsl(274, 76%, 69%)
HSVhsv(274, 50%, 93%)
CMYKcmyk(21.6%, 50%, 0%, 7.5%)
CIE-LABlab(61.07, 47.50, -49.68)
CIE-LCHlch(61.07, 68.73, 313.71°)
OKLaboklab(68.41% 0.1111 -0.139)
OKLCHoklch(68.41% 0.178 308.6)
XYZxyz(41.6234, 29.3279, 82.8087)
Luminance0.2933 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B976EC #A9EC76
analogous
#7E76EC #B976EC #EC76E4
triadic
#B976EC #ECB976 #76ECB9
tetradic
#B976EC #EC7E76 #A9EC76 #76E4EC
square
#B976EC #EC7E76 #A9EC76 #76E4EC
split-complementary
#B976EC #E4EC76 #76EC7E
monochromatic
#801CCB #9E40E5 #B976EC #D4ACF3 #F0E1FB

Accessibility & contrast

On white

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

On black

6.87
#B976EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B976EC
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B976EC#FFFFFF#000000##000000
##B976EC1.003.066.876.87
#FFFFFF3.061.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5691F0
Deuteranopia (green-blind)
#6A94E9
Tritanopia (blue-blind)
#B28AA6
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #b976ec;
/* rgb */ color: rgb(185, 118, 236);
/* oklch */ color: oklch(68.4% 0.178 308.6);
Tailwind
colors: {
  custom: {
    50: '#d09ff2',
    500: '#b976ec',
    950: '#000000',
  },
}
SCSS
$custom: #b976ec;
$custom-light: #d09ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#b976ec",
  "rgb": {
    "r": 185,
    "g": 118,
    "b": 236
  },
  "hsl": {
    "h": 274.068,
    "s": 75.641,
    "l": 69.412
  },
  "oklch": {
    "l": 0.68413,
    "c": 0.17799,
    "h": 308.6
  },
  "luminance": 0.29327
}

Semantic roles & 50–950 ramp

primary
#B976EC
secondary
#DDF0CE
accent
#D80E65
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140F17
muted
#837E85

Preview Lab

Preview with #B976EC

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

Preview Lab → · Contrast checker → · Palette generator →

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