#B972FA#B972FA

#B972FA is a light, vivid violet. Relative luminance 0.293; OKLCH L 68.6% C 0.200 H 305.9°. Best body text is #000000 at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#B972FA
RGBrgb(185, 114, 250)
HSLhsl(271, 93%, 71%)
HSVhsv(271, 54%, 98%)
CMYKcmyk(26%, 54.4%, 0%, 2%)
CIE-LABlab(61.00, 52.75, -57.53)
CIE-LCHlch(61.00, 78.05, 312.52°)
OKLaboklab(68.6% 0.1173 -0.162)
OKLCHoklch(68.6% 0.2 305.9)
XYZxyz(43.2766, 29.2514, 93.7902)
Luminance0.2925 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B972FA #B3FA72
analogous
#7572FA #B972FA #FA72F7
triadic
#B972FA #FAB972 #72FAB9
tetradic
#B972FA #FA7572 #B3FA72 #72F7FA
square
#B972FA #FA7572 #B3FA72 #72F7FA
split-complementary
#B972FA #F7FA72 #72FA75
monochromatic
#7E08E9 #9C37F8 #B972FA #D6ADFC #F0E1FE

Accessibility & contrast

On white

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

On black

6.85
#B972FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B972FA
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B972FA#FFFFFF#000000##000000
##B972FA1.003.076.856.85
#FFFFFF3.071.0021.0021.00
#0000006.8521.001.001.00
##0000006.8521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b972fa;
/* rgb */ color: rgb(185, 114, 250);
/* oklch */ color: oklch(68.6% 0.200 305.9);
Tailwind
colors: {
  custom: {
    50: '#d19dfc',
    500: '#b972fa',
    950: '#000000',
  },
}
SCSS
$custom: #b972fa;
$custom-light: #d19dfc;
$custom-dark: #000000;
JSON
{
  "hex": "#b972fa",
  "rgb": {
    "r": 185,
    "g": 114,
    "b": 250
  },
  "hsl": {
    "h": 271.324,
    "s": 93.151,
    "l": 71.373
  },
  "oklch": {
    "l": 0.68604,
    "c": 0.19995,
    "h": 305.9
  },
  "luminance": 0.29251
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B972FA

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

Preview Lab → · Contrast checker → · Palette generator →

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