#B976F2#B976F2

#B976F2 is a light, vivid violet. Relative luminance 0.297; OKLCH L 68.7% C 0.185 H 307.2°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#B976F2
RGBrgb(185, 118, 242)
HSLhsl(272, 83%, 71%)
HSVhsv(272, 51%, 95%)
CMYKcmyk(23.6%, 51.2%, 0%, 5.1%)
CIE-LABlab(61.38, 48.84, -52.51)
CIE-LCHlch(61.38, 71.72, 312.92°)
OKLaboklab(68.74% 0.1117 -0.1473)
OKLCHoklch(68.74% 0.185 307.2)
XYZxyz(42.5098, 29.6824, 87.4770)
Luminance0.2968 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B976F2 #AFF276
analogous
#7B76F2 #B976F2 #F276ED
triadic
#B976F2 #F2B976 #76F2B9
tetradic
#B976F2 #F27B76 #AFF276 #76EDF2
square
#B976F2 #F27B76 #AFF276 #76EDF2
split-complementary
#B976F2 #EDF276 #76F27B
monochromatic
#7F15D9 #9C3EED #B976F2 #D6AEF7 #F1E3FC

Accessibility & contrast

On white

3.03
#B976F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.94
#B976F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B976F2
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B976F2#FFFFFF#000000##000000
##B976F21.003.036.946.94
#FFFFFF3.031.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5192F6
Deuteranopia (green-blind)
#6695EF
Tritanopia (blue-blind)
#B08CA9
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #b976f2;
/* rgb */ color: rgb(185, 118, 242);
/* oklch */ color: oklch(68.7% 0.185 307.2);
Tailwind
colors: {
  custom: {
    50: '#d19ff7',
    500: '#b976f2',
    950: '#000000',
  },
}
SCSS
$custom: #b976f2;
$custom-light: #d19ff7;
$custom-dark: #000000;
JSON
{
  "hex": "#b976f2",
  "rgb": {
    "r": 185,
    "g": 118,
    "b": 242
  },
  "hsl": {
    "h": 272.419,
    "s": 82.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.68743,
    "c": 0.18484,
    "h": 307.2
  },
  "luminance": 0.29682
}

Semantic roles & 50–950 ramp

primary
#B976F2
secondary
#E1F3D1
accent
#DF066A
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140F17
muted
#837E85

Preview Lab

Preview with #B976F2

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

Preview Lab → · Contrast checker → · Palette generator →

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