#B976EF#B976EF

#B976EF is a light, vivid violet. Relative luminance 0.295; OKLCH L 68.6% C 0.181 H 307.9°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#B976EF
RGBrgb(185, 118, 239)
HSLhsl(273, 79%, 70%)
HSVhsv(273, 51%, 94%)
CMYKcmyk(22.6%, 50.6%, 0%, 6.3%)
CIE-LABlab(61.22, 48.17, -51.10)
CIE-LCHlch(61.22, 70.22, 313.31°)
OKLaboklab(68.58% 0.1114 -0.1432)
OKLCHoklch(68.58% 0.181 307.9)
XYZxyz(42.0629, 29.5037, 85.1235)
Luminance0.2950 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B976EF #ACEF76
analogous
#7C76EF #B976EF #EF76E9
triadic
#B976EF #EFB976 #76EFB9
tetradic
#B976EF #EF7C76 #ACEF76 #76E9EF
square
#B976EF #EF7C76 #ACEF76 #76E9EF
split-complementary
#B976EF #E9EF76 #76EF7C
monochromatic
#7F19D2 #9D3FE9 #B976EF #D5ADF5 #F1E4FC

Accessibility & contrast

On white

3.04
#B976EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.90
#B976EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B976EF
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B976EF#FFFFFF#000000##000000
##B976EF1.003.046.906.90
#FFFFFF3.041.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5491F3
Deuteranopia (green-blind)
#6895EC
Tritanopia (blue-blind)
#B18BA8
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #b976ef;
/* rgb */ color: rgb(185, 118, 239);
/* oklch */ color: oklch(68.6% 0.181 307.9);
Tailwind
colors: {
  custom: {
    50: '#d19ff5',
    500: '#b976ef',
    950: '#000000',
  },
}
SCSS
$custom: #b976ef;
$custom-light: #d19ff5;
$custom-dark: #000000;
JSON
{
  "hex": "#b976ef",
  "rgb": {
    "r": 185,
    "g": 118,
    "b": 239
  },
  "hsl": {
    "h": 273.223,
    "s": 79.085,
    "l": 70
  },
  "oklch": {
    "l": 0.68577,
    "c": 0.18141,
    "h": 307.9
  },
  "luminance": 0.29503
}

Semantic roles & 50–950 ramp

primary
#B976EF
secondary
#DFF1CF
accent
#DB0A68
background
#FDF9FF
surface
#FAF2FE
border
#D3CCD6
text
#140F17
muted
#837E85

Preview Lab

Preview with #B976EF

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

Preview Lab → · Contrast checker → · Palette generator →

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