#B976DF#B976DF

#B976DF is a light, vivid violet. Relative luminance 0.286; OKLCH L 67.7% C 0.163 H 312.2°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#B976DF
RGBrgb(185, 118, 223)
HSLhsl(278, 62%, 67%)
HSVhsv(278, 47%, 87%)
CMYKcmyk(17%, 47.1%, 0%, 12.5%)
CIE-LABlab(60.43, 44.65, -43.45)
CIE-LCHlch(60.43, 62.31, 315.78°)
OKLaboklab(67.73% 0.1096 -0.1209)
OKLCHoklch(67.73% 0.163 312.2)
XYZxyz(39.8030, 28.5997, 73.2212)
Luminance0.2860 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B976DF #9CDF76
analogous
#8576DF #B976DF #DF76D0
triadic
#B976DF #DFB976 #76DFB9
tetradic
#B976DF #DF8576 #9CDF76 #76D0DF
square
#B976DF #DF8576 #9CDF76 #76D0DF
split-complementary
#B976DF #D0DF76 #76DF85
monochromatic
#8029B1 #A044D3 #B976DF #D2A8EB #ECD9F6

Accessibility & contrast

On white

3.13
#B976DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#B976DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B976DF
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B976DF#FFFFFF#000000##000000
##B976DF1.003.136.726.72
#FFFFFF3.131.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F8EE3
Deuteranopia (green-blind)
#7193DC
Tritanopia (blue-blind)
#B586A0
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b976df;
/* rgb */ color: rgb(185, 118, 223);
/* oklch */ color: oklch(67.7% 0.163 312.2);
Tailwind
colors: {
  custom: {
    50: '#d09fe9',
    500: '#b976df',
    950: '#000000',
  },
}
SCSS
$custom: #b976df;
$custom-light: #d09fe9;
$custom-dark: #000000;
JSON
{
  "hex": "#b976df",
  "rgb": {
    "r": 185,
    "g": 118,
    "b": 223
  },
  "hsl": {
    "h": 278.286,
    "s": 62.13,
    "l": 66.863
  },
  "oklch": {
    "l": 0.67725,
    "c": 0.16322,
    "h": 312.2
  },
  "luminance": 0.28599
}

Semantic roles & 50–950 ramp

primary
#B976DF
secondary
#D4E9C8
accent
#CA1C5B
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140F16
muted
#837E84

Preview Lab

Preview with #B976DF

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

Preview Lab → · Contrast checker → · Palette generator →

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