#B976EE#B976EE

#B976EE is a light, vivid violet. Relative luminance 0.294; OKLCH L 68.5% C 0.180 H 308.1°. Best body text is #000000 at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#B976EE
RGBrgb(185, 118, 238)
HSLhsl(274, 78%, 70%)
HSVhsv(274, 50%, 93%)
CMYKcmyk(22.3%, 50.4%, 0%, 6.7%)
CIE-LABlab(61.17, 47.94, -50.63)
CIE-LCHlch(61.17, 69.73, 313.44°)
OKLaboklab(68.52% 0.1113 -0.1418)
OKLCHoklch(68.52% 0.18 308.1)
XYZxyz(41.9156, 29.4447, 84.3476)
Luminance0.2944 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B976EE #ABEE76
analogous
#7D76EE #B976EE #EE76E7
triadic
#B976EE #EEB976 #76EEB9
tetradic
#B976EE #EE7D76 #ABEE76 #76E7EE
square
#B976EE #EE7D76 #ABEE76 #76E7EE
split-complementary
#B976EE #E7EE76 #76EE7D
monochromatic
#7F1AD0 #9D40E7 #B976EE #D5ACF5 #F1E3FC

Accessibility & contrast

On white

3.05
#B976EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.89
#B976EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B976EE
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B976EE#FFFFFF#000000##000000
##B976EE1.003.056.896.89
#FFFFFF3.051.0021.0021.00
#0000006.8921.001.001.00
##0000006.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5491F2
Deuteranopia (green-blind)
#6894EB
Tritanopia (blue-blind)
#B18BA7
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #b976ee;
/* rgb */ color: rgb(185, 118, 238);
/* oklch */ color: oklch(68.5% 0.180 308.1);
Tailwind
colors: {
  custom: {
    50: '#d09ff4',
    500: '#b976ee',
    950: '#000000',
  },
}
SCSS
$custom: #b976ee;
$custom-light: #d09ff4;
$custom-dark: #000000;
JSON
{
  "hex": "#b976ee",
  "rgb": {
    "r": 185,
    "g": 118,
    "b": 238
  },
  "hsl": {
    "h": 273.5,
    "s": 77.922,
    "l": 69.804
  },
  "oklch": {
    "l": 0.68522,
    "c": 0.18027,
    "h": 308.1
  },
  "luminance": 0.29444
}

Semantic roles & 50–950 ramp

primary
#B976EE
secondary
#DEF1CF
accent
#DA0B67
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140F17
muted
#837E85

Preview Lab

Preview with #B976EE

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

Preview Lab → · Contrast checker → · Palette generator →

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