#B971FB#B971FB

#B971FB is a light, highly saturated violet. Relative luminance 0.291; OKLCH L 68.5% C 0.203 H 305.8°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#B971FB
RGBrgb(185, 113, 251)
HSLhsl(271, 95%, 71%)
HSVhsv(271, 55%, 98%)
CMYKcmyk(26.3%, 55%, 0%, 1.6%)
CIE-LABlab(60.86, 53.49, -58.31)
CIE-LCHlch(60.86, 79.13, 312.53°)
OKLaboklab(68.52% 0.1185 -0.1642)
OKLCHoklch(68.52% 0.203 305.8)
XYZxyz(43.3216, 29.0899, 94.5808)
Luminance0.2909 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B971FB #B3FB71
analogous
#7471FB #B971FB #FB71F8
triadic
#B971FB #FBB971 #71FBB9
tetradic
#B971FB #FB7471 #B3FB71 #71F8FB
square
#B971FB #FB7471 #B3FB71 #71F8FB
split-complementary
#B971FB #F8FB71 #71FB74
monochromatic
#7E07EB #9C35F9 #B971FB #D6ADFD #F0E1FE

Accessibility & contrast

On white

3.08
#B971FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.82
#B971FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B971FB
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B971FB#FFFFFF#000000##000000
##B971FB1.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F91FF
Deuteranopia (green-blind)
#5993F8
Tritanopia (blue-blind)
#AE8BAB
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #b971fb;
/* rgb */ color: rgb(185, 113, 251);
/* oklch */ color: oklch(68.5% 0.203 305.8);
Tailwind
colors: {
  custom: {
    50: '#d19cfd',
    500: '#b971fb',
    950: '#000000',
  },
}
SCSS
$custom: #b971fb;
$custom-light: #d19cfd;
$custom-dark: #000000;
JSON
{
  "hex": "#b971fb",
  "rgb": {
    "r": 185,
    "g": 113,
    "b": 251
  },
  "hsl": {
    "h": 271.304,
    "s": 94.521,
    "l": 71.373
  },
  "oklch": {
    "l": 0.68517,
    "c": 0.20255,
    "h": 305.8
  },
  "luminance": 0.2909
}

Semantic roles & 50–950 ramp

primary
#B971FB
secondary
#E3F6D2
accent
#E6006E
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E18
muted
#837E86

Preview Lab

Preview with #B971FB

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

Preview Lab → · Contrast checker → · Palette generator →

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