#B371FD#B371FD

#B371FD is a light, highly saturated violet. Relative luminance 0.285; OKLCH L 68.0% C 0.203 H 303.2°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#B371FD
RGBrgb(179, 113, 253)
HSLhsl(268, 97%, 72%)
HSVhsv(268, 55%, 99%)
CMYKcmyk(29.2%, 55.3%, 0%, 0.8%)
CIE-LABlab(60.33, 52.52, -60.31)
CIE-LCHlch(60.33, 79.97, 311.05°)
OKLaboklab(68.01% 0.1112 -0.1703)
OKLCHoklch(68.01% 0.203 303.2)
XYZxyz(42.2212, 28.4859, 96.1835)
Luminance0.2849 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B371FD #BBFD71
analogous
#7175FD #B371FD #F971FD
triadic
#B371FD #FDB371 #71FDB3
tetradic
#B371FD #FD7175 #BBFD71 #71FDF9
square
#B371FD #FD7175 #BBFD71 #71FDF9
split-complementary
#B371FD #FDF971 #75FD71
monochromatic
#7303F0 #9335FC #B371FD #D3ADFE #EFE1FF

Accessibility & contrast

On white

3.14
#B371FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#B371FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B371FD
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B371FD#FFFFFF#000000##000000
##B371FD1.003.146.706.70
#FFFFFF3.141.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3990FF
Deuteranopia (green-blind)
#5291FA
Tritanopia (blue-blind)
#A58CAC
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #b371fd;
/* rgb */ color: rgb(179, 113, 253);
/* oklch */ color: oklch(68.0% 0.203 303.2);
Tailwind
colors: {
  custom: {
    50: '#cd9cff',
    500: '#b371fd',
    950: '#000000',
  },
}
SCSS
$custom: #b371fd;
$custom-light: #cd9cff;
$custom-dark: #000000;
JSON
{
  "hex": "#b371fd",
  "rgb": {
    "r": 179,
    "g": 113,
    "b": 253
  },
  "hsl": {
    "h": 268.286,
    "s": 97.222,
    "l": 71.765
  },
  "oklch": {
    "l": 0.68014,
    "c": 0.20336,
    "h": 303.2
  },
  "luminance": 0.28486
}

Semantic roles & 50–950 ramp

primary
#B371FD
secondary
#E6F7D3
accent
#E60079
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E18
muted
#837E86

Preview Lab

Preview with #B371FD

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

Preview Lab → · Contrast checker → · Palette generator →

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