#B976F6#B976F6

#B976F6 is a light, vivid violet. Relative luminance 0.299; OKLCH L 69.0% C 0.189 H 306.2°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#B976F6
RGBrgb(185, 118, 246)
HSLhsl(271, 88%, 71%)
HSVhsv(271, 52%, 96%)
CMYKcmyk(24.8%, 52%, 0%, 3.5%)
CIE-LABlab(61.59, 49.75, -54.39)
CIE-LCHlch(61.59, 73.71, 312.45°)
OKLaboklab(68.97% 0.112 -0.1528)
OKLCHoklch(68.97% 0.189 306.2)
XYZxyz(43.1171, 29.9253, 90.6756)
Luminance0.2993 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B976F6 #B3F676
analogous
#7976F6 #B976F6 #F676F3
triadic
#B976F6 #F6B976 #76F6B9
tetradic
#B976F6 #F67976 #B3F676 #76F3F6
square
#B976F6 #F67976 #B3F676 #76F3F6
split-complementary
#B976F6 #F3F676 #76F679
monochromatic
#7E0FE3 #9C3DF2 #B976F6 #D6AFFA #F0E2FD

Accessibility & contrast

On white

3.01
#B976F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#B976F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B976F6
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B976F6#FFFFFF#000000##000000
##B976F61.003.016.996.99
#FFFFFF3.011.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E92FA
Deuteranopia (green-blind)
#6395F3
Tritanopia (blue-blind)
#AF8DAB
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #b976f6;
/* rgb */ color: rgb(185, 118, 246);
/* oklch */ color: oklch(69.0% 0.189 306.2);
Tailwind
colors: {
  custom: {
    50: '#d19ffa',
    500: '#b976f6',
    950: '#000000',
  },
}
SCSS
$custom: #b976f6;
$custom-light: #d19ffa;
$custom-dark: #000000;
JSON
{
  "hex": "#b976f6",
  "rgb": {
    "r": 185,
    "g": 118,
    "b": 246
  },
  "hsl": {
    "h": 271.406,
    "s": 87.671,
    "l": 71.373
  },
  "oklch": {
    "l": 0.68967,
    "c": 0.18941,
    "h": 306.2
  },
  "luminance": 0.29925
}

Semantic roles & 50–950 ramp

primary
#B976F6
secondary
#E3F5D3
accent
#E4016D
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140F17
muted
#837E85

Preview Lab

Preview with #B976F6

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

Preview Lab → · Contrast checker → · Palette generator →

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