#B976FC#B976FC

#B976FC is a light, vivid violet. Relative luminance 0.303; OKLCH L 69.3% C 0.196 H 304.9°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#B976FC
RGBrgb(185, 118, 252)
HSLhsl(270, 96%, 73%)
HSVhsv(270, 53%, 99%)
CMYKcmyk(26.6%, 53.2%, 0%, 1.2%)
CIE-LABlab(61.91, 51.12, -57.18)
CIE-LCHlch(61.91, 76.70, 311.79°)
OKLaboklab(69.31% 0.1123 -0.1609)
OKLCHoklch(69.31% 0.196 304.9)
XYZxyz(44.0529, 30.2997, 95.6042)
Luminance0.3030 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B976FC #B9FC76
analogous
#7676FC #B976FC #FC76FC
triadic
#B976FC #FCB976 #76FCB9
tetradic
#B976FC #FC7676 #B9FC76 #76FCFC
square
#B976FC #FC7676 #B9FC76 #76FCFC
split-complementary
#B976FC #FCFC76 #76FC76
monochromatic
#7C05F2 #9A3AFB #B976FC #D8B2FD #F0E1FE

Accessibility & contrast

On white

2.97
#B976FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#B976FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B976FC
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B976FC#FFFFFF#000000##000000
##B976FC1.002.977.067.06
#FFFFFF2.971.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4894FF
Deuteranopia (green-blind)
#5E96F9
Tritanopia (blue-blind)
#AE8FAE
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b976fc;
/* rgb */ color: rgb(185, 118, 252);
/* oklch */ color: oklch(69.3% 0.196 304.9);
Tailwind
colors: {
  custom: {
    50: '#d19ffe',
    500: '#b976fc',
    950: '#000000',
  },
}
SCSS
$custom: #b976fc;
$custom-light: #d19ffe;
$custom-dark: #000000;
JSON
{
  "hex": "#b976fc",
  "rgb": {
    "r": 185,
    "g": 118,
    "b": 252
  },
  "hsl": {
    "h": 270,
    "s": 95.714,
    "l": 72.549
  },
  "oklch": {
    "l": 0.69309,
    "c": 0.19627,
    "h": 304.9
  },
  "luminance": 0.30299
}

Semantic roles & 50–950 ramp

primary
#B976FC
secondary
#E6F7D4
accent
#E60073
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140F18
muted
#837E86

Preview Lab

Preview with #B976FC

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

Preview Lab → · Contrast checker → · Palette generator →

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