#B971F6#B971F6

#B971F6 is a light, vivid violet. Relative luminance 0.288; OKLCH L 68.2% C 0.197 H 306.9°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#B971F6
RGBrgb(185, 113, 246)
HSLhsl(272, 88%, 70%)
HSVhsv(272, 54%, 96%)
CMYKcmyk(24.8%, 54.1%, 0%, 3.5%)
CIE-LABlab(60.59, 52.36, -55.99)
CIE-LCHlch(60.59, 76.66, 313.08°)
OKLaboklab(68.23% 0.1183 -0.1574)
OKLCHoklch(68.23% 0.197 306.9)
XYZxyz(42.5438, 28.7788, 90.4845)
Luminance0.2878 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B971F6 #AEF671
analogous
#7671F6 #B971F6 #F671F1
triadic
#B971F6 #F6B971 #71F6B9
tetradic
#B971F6 #F67671 #AEF671 #71F1F6
square
#B971F6 #F67671 #AEF671 #71F1F6
split-complementary
#B971F6 #F1F671 #71F676
monochromatic
#7F0EDE #9D37F2 #B971F6 #D5ABFA #F1E2FD

Accessibility & contrast

On white

3.11
#B971F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.76
#B971F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B971F6
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B971F6#FFFFFF#000000##000000
##B971F61.003.116.766.76
#FFFFFF3.111.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4590FA
Deuteranopia (green-blind)
#5D93F3
Tritanopia (blue-blind)
#B089A9
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b971f6;
/* rgb */ color: rgb(185, 113, 246);
/* oklch */ color: oklch(68.2% 0.197 306.9);
Tailwind
colors: {
  custom: {
    50: '#d19cfa',
    500: '#b971f6',
    950: '#000000',
  },
}
SCSS
$custom: #b971f6;
$custom-light: #d19cfa;
$custom-dark: #000000;
JSON
{
  "hex": "#b971f6",
  "rgb": {
    "r": 185,
    "g": 113,
    "b": 246
  },
  "hsl": {
    "h": 272.481,
    "s": 88.079,
    "l": 70.392
  },
  "oklch": {
    "l": 0.68226,
    "c": 0.19695,
    "h": 306.9
  },
  "luminance": 0.28778
}

Semantic roles & 50–950 ramp

primary
#B971F6
secondary
#E0F4CF
accent
#E50169
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B971F6

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

Preview Lab → · Contrast checker → · Palette generator →

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