#B976EA#B976EA

#B976EA is a light, vivid violet. Relative luminance 0.292; OKLCH L 68.3% C 0.176 H 309.1°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#B976EA
RGBrgb(185, 118, 234)
HSLhsl(275, 73%, 69%)
HSVhsv(275, 50%, 92%)
CMYKcmyk(20.9%, 49.6%, 0%, 8.2%)
CIE-LABlab(60.97, 47.05, -48.73)
CIE-LCHlch(60.97, 67.74, 314.00°)
OKLaboklab(68.31% 0.1109 -0.1363)
OKLCHoklch(68.31% 0.176 309.1)
XYZxyz(41.3345, 29.2123, 81.2870)
Luminance0.2921 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B976EA #A7EA76
analogous
#7F76EA #B976EA #EA76E1
triadic
#B976EA #EAB976 #76EAB9
tetradic
#B976EA #EA7F76 #A7EA76 #76E1EA
square
#B976EA #EA7F76 #A7EA76 #76E1EA
split-complementary
#B976EA #E1EA76 #76EA7F
monochromatic
#801FC7 #9E41E2 #B976EA #D4ABF2 #EFE0FA

Accessibility & contrast

On white

3.07
#B976EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.84
#B976EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B976EA
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B976EA#FFFFFF#000000##000000
##B976EA1.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5790EE
Deuteranopia (green-blind)
#6B94E7
Tritanopia (blue-blind)
#B389A5
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #b976ea;
/* rgb */ color: rgb(185, 118, 234);
/* oklch */ color: oklch(68.3% 0.176 309.1);
Tailwind
colors: {
  custom: {
    50: '#d09ff1',
    500: '#b976ea',
    950: '#000000',
  },
}
SCSS
$custom: #b976ea;
$custom-light: #d09ff1;
$custom-dark: #000000;
JSON
{
  "hex": "#b976ea",
  "rgb": {
    "r": 185,
    "g": 118,
    "b": 234
  },
  "hsl": {
    "h": 274.655,
    "s": 73.418,
    "l": 69.02
  },
  "oklch": {
    "l": 0.68305,
    "c": 0.17571,
    "h": 309.1
  },
  "luminance": 0.29212
}

Semantic roles & 50–950 ramp

primary
#B976EA
secondary
#DBEFCD
accent
#D61063
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140F17
muted
#837E85

Preview Lab

Preview with #B976EA

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

Preview Lab → · Contrast checker → · Palette generator →

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