#B976F9#B976F9

#B976F9 is a light, vivid violet. Relative luminance 0.301; OKLCH L 69.1% C 0.193 H 305.6°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#B976F9
RGBrgb(185, 118, 249)
HSLhsl(271, 92%, 72%)
HSVhsv(271, 53%, 98%)
CMYKcmyk(25.7%, 52.6%, 0%, 2.4%)
CIE-LABlab(61.75, 50.43, -55.79)
CIE-LCHlch(61.75, 75.20, 312.11°)
OKLaboklab(69.14% 0.1122 -0.1569)
OKLCHoklch(69.14% 0.193 305.6)
XYZxyz(43.5813, 30.1110, 93.1202)
Luminance0.3011 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B976F9 #B6F976
analogous
#7876F9 #B976F9 #F976F7
triadic
#B976F9 #F9B976 #76F9B9
tetradic
#B976F9 #F97876 #B6F976 #76F7F9
square
#B976F9 #F97876 #B6F976 #76F7F9
split-complementary
#B976F9 #F7F976 #76F978
monochromatic
#7D0AEA #9B3BF6 #B976F9 #D7B1FC #F0E2FE

Accessibility & contrast

On white

2.99
#B976F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.02
#B976F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B976F9
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B976F9#FFFFFF#000000##000000
##B976F91.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B93FD
Deuteranopia (green-blind)
#6095F6
Tritanopia (blue-blind)
#AE8EAD
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #b976f9;
/* rgb */ color: rgb(185, 118, 249);
/* oklch */ color: oklch(69.1% 0.193 305.6);
Tailwind
colors: {
  custom: {
    50: '#d19ffc',
    500: '#b976f9',
    950: '#000000',
  },
}
SCSS
$custom: #b976f9;
$custom-light: #d19ffc;
$custom-dark: #000000;
JSON
{
  "hex": "#b976f9",
  "rgb": {
    "r": 185,
    "g": 118,
    "b": 249
  },
  "hsl": {
    "h": 270.687,
    "s": 91.608,
    "l": 71.961
  },
  "oklch": {
    "l": 0.69137,
    "c": 0.19284,
    "h": 305.6
  },
  "luminance": 0.30111
}

Semantic roles & 50–950 ramp

primary
#B976F9
secondary
#E5F6D5
accent
#E60070
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140F17
muted
#837E85

Preview Lab

Preview with #B976F9

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

Preview Lab → · Contrast checker → · Palette generator →

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