#B371FF#B371FF

#B371FF is a light, highly saturated violet. Relative luminance 0.286; OKLCH L 68.1% C 0.206 H 302.8°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#B371FF
RGBrgb(179, 113, 255)
HSLhsl(268, 100%, 72%)
HSVhsv(268, 56%, 100%)
CMYKcmyk(29.8%, 55.7%, 0%, 0%)
CIE-LABlab(60.44, 52.99, -61.22)
CIE-LCHlch(60.44, 80.97, 310.88°)
OKLaboklab(68.14% 0.1113 -0.1729)
OKLCHoklch(68.14% 0.206 302.8)
XYZxyz(42.5414, 28.6140, 97.8702)
Luminance0.2861 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B371FF #BDFF71
analogous
#7176FF #B371FF #FA71FF
triadic
#B371FF #FFB371 #71FFB3
tetradic
#B371FF #FF7176 #BDFF71 #71FFFA
square
#B371FF #FF7176 #BDFF71 #71FFFA
split-complementary
#B371FF #FFFA71 #76FF71
monochromatic
#7200F6 #9234FF #B371FF #D4AEFF #EFE0FF

Accessibility & contrast

On white

3.12
#B371FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#B371FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B371FF
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B371FF#FFFFFF#000000##000000
##B371FF1.003.126.726.72
#FFFFFF3.121.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3790FF
Deuteranopia (green-blind)
#5091FC
Tritanopia (blue-blind)
#A58DAD
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b371ff;
/* rgb */ color: rgb(179, 113, 255);
/* oklch */ color: oklch(68.1% 0.206 302.8);
Tailwind
colors: {
  custom: {
    50: '#ce9cff',
    500: '#b371ff',
    950: '#000000',
  },
}
SCSS
$custom: #b371ff;
$custom-light: #ce9cff;
$custom-dark: #000000;
JSON
{
  "hex": "#b371ff",
  "rgb": {
    "r": 179,
    "g": 113,
    "b": 255
  },
  "hsl": {
    "h": 267.887,
    "s": 100,
    "l": 72.157
  },
  "oklch": {
    "l": 0.68135,
    "c": 0.20565,
    "h": 302.8
  },
  "luminance": 0.28614
}

Semantic roles & 50–950 ramp

primary
#B371FF
secondary
#E7F7D4
accent
#E6007B
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E18
muted
#837E86

Preview Lab

Preview with #B371FF

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

Preview Lab → · Contrast checker → · Palette generator →

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