#B976FD#B976FD

#B976FD is a light, vivid violet. Relative luminance 0.304; OKLCH L 69.4% C 0.197 H 304.7°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#B976FD
RGBrgb(185, 118, 253)
HSLhsl(270, 97%, 73%)
HSVhsv(270, 53%, 99%)
CMYKcmyk(26.9%, 53.4%, 0%, 0.8%)
CIE-LABlab(61.97, 51.35, -57.65)
CIE-LCHlch(61.97, 77.20, 311.69°)
OKLaboklab(69.37% 0.1124 -0.1623)
OKLCHoklch(69.37% 0.197 304.7)
XYZxyz(44.2118, 30.3632, 96.4410)
Luminance0.3036 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B976FD #BAFD76
analogous
#7676FD #B976FD #FD76FD
triadic
#B976FD #FDB976 #76FDB9
tetradic
#B976FD #FD7676 #BAFD76 #76FDFD
square
#B976FD #FD7676 #BAFD76 #76FDFD
split-complementary
#B976FD #FDFD76 #76FD76
monochromatic
#7B04F5 #9A3AFC #B976FD #D8B2FE #F0E1FF

Accessibility & contrast

On white

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

On black

7.07
#B976FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B976FD
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B976FD#FFFFFF#000000##000000
##B976FD1.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4794FF
Deuteranopia (green-blind)
#5D96FA
Tritanopia (blue-blind)
#AD8FAF
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b976fd;
/* rgb */ color: rgb(185, 118, 253);
/* oklch */ color: oklch(69.4% 0.197 304.7);
Tailwind
colors: {
  custom: {
    50: '#d19fff',
    500: '#b976fd',
    950: '#000000',
  },
}
SCSS
$custom: #b976fd;
$custom-light: #d19fff;
$custom-dark: #000000;
JSON
{
  "hex": "#b976fd",
  "rgb": {
    "r": 185,
    "g": 118,
    "b": 253
  },
  "hsl": {
    "h": 269.778,
    "s": 97.122,
    "l": 72.745
  },
  "oklch": {
    "l": 0.69366,
    "c": 0.19741,
    "h": 304.7
  },
  "luminance": 0.30363
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B976FD

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

Preview Lab → · Contrast checker → · Palette generator →

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