#B971FC#B971FC

#B971FC is a light, highly saturated violet. Relative luminance 0.292; OKLCH L 68.6% C 0.204 H 305.6°. Best body text is #000000 at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#B971FC
RGBrgb(185, 113, 252)
HSLhsl(271, 96%, 72%)
HSVhsv(271, 55%, 99%)
CMYKcmyk(26.6%, 55.2%, 0%, 1.2%)
CIE-LABlab(60.92, 53.72, -58.77)
CIE-LCHlch(60.92, 79.63, 312.43°)
OKLaboklab(68.58% 0.1186 -0.1656)
OKLCHoklch(68.58% 0.204 305.6)
XYZxyz(43.4797, 29.1531, 95.4131)
Luminance0.2915 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B971FC #B4FC71
analogous
#7471FC #B971FC #FC71FA
triadic
#B971FC #FCB971 #71FCB9
tetradic
#B971FC #FC7471 #B4FC71 #71FAFC
square
#B971FC #FC7471 #B4FC71 #71FAFC
split-complementary
#B971FC #FAFC71 #71FC74
monochromatic
#7D05EE #9B35FB #B971FC #D7ADFD #F0E1FE

Accessibility & contrast

On white

3.07
#B971FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.83
#B971FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B971FC
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B971FC#FFFFFF#000000##000000
##B971FC1.003.076.836.83
#FFFFFF3.071.0021.0021.00
#0000006.8321.001.001.00
##0000006.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E91FF
Deuteranopia (green-blind)
#5893F9
Tritanopia (blue-blind)
#AE8BAC
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #b971fc;
/* rgb */ color: rgb(185, 113, 252);
/* oklch */ color: oklch(68.6% 0.204 305.6);
Tailwind
colors: {
  custom: {
    50: '#d19cfe',
    500: '#b971fc',
    950: '#000000',
  },
}
SCSS
$custom: #b971fc;
$custom-light: #d19cfe;
$custom-dark: #000000;
JSON
{
  "hex": "#b971fc",
  "rgb": {
    "r": 185,
    "g": 113,
    "b": 252
  },
  "hsl": {
    "h": 271.079,
    "s": 95.862,
    "l": 71.569
  },
  "oklch": {
    "l": 0.68576,
    "c": 0.20366,
    "h": 305.6
  },
  "luminance": 0.29153
}

Semantic roles & 50–950 ramp

primary
#B971FC
secondary
#E4F6D3
accent
#E6006F
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E18
muted
#837E86

Preview Lab

Preview with #B971FC

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

Preview Lab → · Contrast checker → · Palette generator →

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