#B971EB#B971EB

#B971EB is a light, vivid violet. Relative luminance 0.281; OKLCH L 67.6% C 0.185 H 309.6°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#B971EB
RGBrgb(185, 113, 235)
HSLhsl(275, 75%, 68%)
HSVhsv(275, 52%, 92%)
CMYKcmyk(21.3%, 51.9%, 0%, 7.8%)
CIE-LABlab(60.00, 49.91, -50.82)
CIE-LCHlch(60.00, 71.23, 314.48°)
OKLaboklab(67.6% 0.1176 -0.1423)
OKLCHoklch(67.6% 0.185 309.6)
XYZxyz(40.9053, 28.1234, 81.8546)
Luminance0.2812 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B971EB #A3EB71
analogous
#7C71EB #B971EB #EB71E0
triadic
#B971EB #EBB971 #71EBB9
tetradic
#B971EB #EB7C71 #A3EB71 #71E0EB
square
#B971EB #EB7C71 #A3EB71 #71E0EB
split-complementary
#B971EB #E0EB71 #71EB7C
monochromatic
#801CC6 #9F3BE3 #B971EB #D3A7F3 #EEDCFA

Accessibility & contrast

On white

3.17
#B971EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.62
#B971EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B971EB
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B971EB#FFFFFF#000000##000000
##B971EB1.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F8DEF
Deuteranopia (green-blind)
#6592E8
Tritanopia (blue-blind)
#B286A4
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #b971eb;
/* rgb */ color: rgb(185, 113, 235);
/* oklch */ color: oklch(67.6% 0.185 309.6);
Tailwind
colors: {
  custom: {
    50: '#d19cf2',
    500: '#b971eb',
    950: '#000000',
  },
}
SCSS
$custom: #b971eb;
$custom-light: #d19cf2;
$custom-dark: #000000;
JSON
{
  "hex": "#b971eb",
  "rgb": {
    "r": 185,
    "g": 113,
    "b": 235
  },
  "hsl": {
    "h": 275.41,
    "s": 75.309,
    "l": 68.235
  },
  "oklch": {
    "l": 0.67604,
    "c": 0.18466,
    "h": 309.6
  },
  "luminance": 0.28123
}

Semantic roles & 50–950 ramp

primary
#B971EB
secondary
#D9EEC9
accent
#D70E61
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E17
muted
#837E85

Preview Lab

Preview with #B971EB

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

Preview Lab → · Contrast checker → · Palette generator →

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