#B976F5#B976F5

#B976F5 is a light, vivid violet. Relative luminance 0.299; OKLCH L 68.9% C 0.188 H 306.5°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#B976F5
RGBrgb(185, 118, 245)
HSLhsl(272, 86%, 71%)
HSVhsv(272, 52%, 96%)
CMYKcmyk(24.5%, 51.8%, 0%, 3.9%)
CIE-LABlab(61.54, 49.52, -53.92)
CIE-LCHlch(61.54, 73.21, 312.56°)
OKLaboklab(68.91% 0.1119 -0.1514)
OKLCHoklch(68.91% 0.188 306.5)
XYZxyz(42.9640, 29.8641, 89.8695)
Luminance0.2986 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B976F5 #B2F576
analogous
#7976F5 #B976F5 #F576F1
triadic
#B976F5 #F5B976 #76F5B9
tetradic
#B976F5 #F57976 #B2F576 #76F1F5
square
#B976F5 #F57976 #B2F576 #76F1F5
split-complementary
#B976F5 #F1F576 #76F579
monochromatic
#7E10E0 #9C3DF1 #B976F5 #D6AFF9 #F0E2FD

Accessibility & contrast

On white

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

On black

6.97
#B976F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B976F5
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B976F5#FFFFFF#000000##000000
##B976F51.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F92F9
Deuteranopia (green-blind)
#6395F2
Tritanopia (blue-blind)
#B08DAB
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #b976f5;
/* rgb */ color: rgb(185, 118, 245);
/* oklch */ color: oklch(68.9% 0.188 306.5);
Tailwind
colors: {
  custom: {
    50: '#d19ff9',
    500: '#b976f5',
    950: '#000000',
  },
}
SCSS
$custom: #b976f5;
$custom-light: #d19ff9;
$custom-dark: #000000;
JSON
{
  "hex": "#b976f5",
  "rgb": {
    "r": 185,
    "g": 118,
    "b": 245
  },
  "hsl": {
    "h": 271.654,
    "s": 86.395,
    "l": 71.176
  },
  "oklch": {
    "l": 0.6891,
    "c": 0.18827,
    "h": 306.5
  },
  "luminance": 0.29864
}

Semantic roles & 50–950 ramp

primary
#B976F5
secondary
#E2F4D3
accent
#E3036D
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140F17
muted
#837E85

Preview Lab

Preview with #B976F5

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

Preview Lab → · Contrast checker → · Palette generator →

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