#B976F8#B976F8

#B976F8 is a light, vivid violet. Relative luminance 0.300; OKLCH L 69.1% C 0.192 H 305.8°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#B976F8
RGBrgb(185, 118, 248)
HSLhsl(271, 90%, 72%)
HSVhsv(271, 52%, 97%)
CMYKcmyk(25.4%, 52.4%, 0%, 2.7%)
CIE-LABlab(61.70, 50.20, -55.32)
CIE-LCHlch(61.70, 74.71, 312.22°)
OKLaboklab(69.08% 0.1121 -0.1555)
OKLCHoklch(69.08% 0.192 305.8)
XYZxyz(43.4257, 30.0488, 92.3010)
Luminance0.3005 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B976F8 #B5F876
analogous
#7876F8 #B976F8 #F876F6
triadic
#B976F8 #F8B976 #76F8B9
tetradic
#B976F8 #F87876 #B5F876 #76F6F8
square
#B976F8 #F87876 #B5F876 #76F6F8
split-complementary
#B976F8 #F6F876 #76F878
monochromatic
#7D0CE8 #9B3CF5 #B976F8 #D7B0FB #F0E2FE

Accessibility & contrast

On white

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

On black

7.01
#B976F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B976F8
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B976F8#FFFFFF#000000##000000
##B976F81.003.007.017.01
#FFFFFF3.001.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C93FC
Deuteranopia (green-blind)
#6195F5
Tritanopia (blue-blind)
#AF8EAC
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #b976f8;
/* rgb */ color: rgb(185, 118, 248);
/* oklch */ color: oklch(69.1% 0.192 305.8);
Tailwind
colors: {
  custom: {
    50: '#d19ffb',
    500: '#b976f8',
    950: '#000000',
  },
}
SCSS
$custom: #b976f8;
$custom-light: #d19ffb;
$custom-dark: #000000;
JSON
{
  "hex": "#b976f8",
  "rgb": {
    "r": 185,
    "g": 118,
    "b": 248
  },
  "hsl": {
    "h": 270.923,
    "s": 90.278,
    "l": 71.765
  },
  "oklch": {
    "l": 0.6908,
    "c": 0.1917,
    "h": 305.8
  },
  "luminance": 0.30048
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B976F8

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

Preview Lab → · Contrast checker → · Palette generator →

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