#B971FA#B971FA

#B971FA is a light, highly saturated violet. Relative luminance 0.290; OKLCH L 68.5% C 0.201 H 306.0°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#B971FA
RGBrgb(185, 113, 250)
HSLhsl(272, 93%, 71%)
HSVhsv(272, 55%, 98%)
CMYKcmyk(26%, 54.8%, 0%, 2%)
CIE-LABlab(60.81, 53.27, -57.85)
CIE-LCHlch(60.81, 78.64, 312.64°)
OKLaboklab(68.46% 0.1185 -0.1629)
OKLCHoklch(68.46% 0.201 306)
XYZxyz(43.1644, 29.0270, 93.7528)
Luminance0.2903 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B971FA #B2FA71
analogous
#7471FA #B971FA #FA71F6
triadic
#B971FA #FAB971 #71FAB9
tetradic
#B971FA #FA7471 #B2FA71 #71F6FA
square
#B971FA #FA7471 #B2FA71 #71F6FA
split-complementary
#B971FA #F6FA71 #71FA74
monochromatic
#7E08E8 #9C36F8 #B971FA #D6ACFC #F0E1FE

Accessibility & contrast

On white

3.09
#B971FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.81
#B971FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B971FA
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B971FA#FFFFFF#000000##000000
##B971FA1.003.096.816.81
#FFFFFF3.091.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4090FF
Deuteranopia (green-blind)
#5A93F7
Tritanopia (blue-blind)
#AE8BAB
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #b971fa;
/* rgb */ color: rgb(185, 113, 250);
/* oklch */ color: oklch(68.5% 0.201 306.0);
Tailwind
colors: {
  custom: {
    50: '#d19cfc',
    500: '#b971fa',
    950: '#000000',
  },
}
SCSS
$custom: #b971fa;
$custom-light: #d19cfc;
$custom-dark: #000000;
JSON
{
  "hex": "#b971fa",
  "rgb": {
    "r": 185,
    "g": 113,
    "b": 250
  },
  "hsl": {
    "h": 271.533,
    "s": 93.197,
    "l": 71.176
  },
  "oklch": {
    "l": 0.68458,
    "c": 0.20143,
    "h": 306
  },
  "luminance": 0.29027
}

Semantic roles & 50–950 ramp

primary
#B971FA
secondary
#E2F5D1
accent
#E6006D
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E18
muted
#837E86

Preview Lab

Preview with #B971FA

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

Preview Lab → · Contrast checker → · Palette generator →

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