#B976F7#B976F7

#B976F7 is a light, vivid violet. Relative luminance 0.300; OKLCH L 69.0% C 0.191 H 306.0°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#B976F7
RGBrgb(185, 118, 247)
HSLhsl(271, 89%, 72%)
HSVhsv(271, 52%, 97%)
CMYKcmyk(25.1%, 52.2%, 0%, 3.1%)
CIE-LABlab(61.64, 49.97, -54.86)
CIE-LCHlch(61.64, 74.21, 312.33°)
OKLaboklab(69.02% 0.112 -0.1541)
OKLCHoklch(69.02% 0.191 306)
XYZxyz(43.2710, 29.9869, 91.4861)
Luminance0.2999 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B976F7 #B4F776
analogous
#7976F7 #B976F7 #F776F5
triadic
#B976F7 #F7B976 #76F7B9
tetradic
#B976F7 #F77976 #B4F776 #76F5F7
square
#B976F7 #F77976 #B4F776 #76F5F7
split-complementary
#B976F7 #F5F776 #76F779
monochromatic
#7D0DE5 #9B3CF4 #B976F7 #D7B0FA #F0E2FD

Accessibility & contrast

On white

3.00
#B976F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#B976F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B976F7
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B976F7#FFFFFF#000000##000000
##B976F71.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D93FB
Deuteranopia (green-blind)
#6295F4
Tritanopia (blue-blind)
#AF8DAC
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #b976f7;
/* rgb */ color: rgb(185, 118, 247);
/* oklch */ color: oklch(69.0% 0.191 306.0);
Tailwind
colors: {
  custom: {
    50: '#d19ffa',
    500: '#b976f7',
    950: '#000000',
  },
}
SCSS
$custom: #b976f7;
$custom-light: #d19ffa;
$custom-dark: #000000;
JSON
{
  "hex": "#b976f7",
  "rgb": {
    "r": 185,
    "g": 118,
    "b": 247
  },
  "hsl": {
    "h": 271.163,
    "s": 88.966,
    "l": 71.569
  },
  "oklch": {
    "l": 0.69023,
    "c": 0.19055,
    "h": 306
  },
  "luminance": 0.29987
}

Semantic roles & 50–950 ramp

primary
#B976F7
secondary
#E4F5D4
accent
#E6006E
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140F17
muted
#837E85

Preview Lab

Preview with #B976F7

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

Preview Lab → · Contrast checker → · Palette generator →

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