#B371FA#B371FA

#B371FA is a light, vivid violet. Relative luminance 0.283; OKLCH L 67.8% C 0.200 H 303.8°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#B371FA
RGBrgb(179, 113, 250)
HSLhsl(269, 93%, 71%)
HSVhsv(269, 55%, 98%)
CMYKcmyk(28.4%, 54.8%, 0%, 2%)
CIE-LABlab(60.16, 51.82, -58.92)
CIE-LCHlch(60.16, 78.47, 311.33°)
OKLaboklab(67.83% 0.1111 -0.1662)
OKLCHoklch(67.83% 0.2 303.8)
XYZxyz(41.7470, 28.2962, 93.6863)
Luminance0.2830 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B371FA #B8FA71
analogous
#7173FA #B371FA #F771FA
triadic
#B371FA #FAB371 #71FAB3
tetradic
#B371FA #FA7173 #B8FA71 #71FAF7
square
#B371FA #FA7173 #B8FA71 #71FAF7
split-complementary
#B371FA #FAF771 #73FA71
monochromatic
#7408E8 #9336F8 #B371FA #D3ACFC #EFE1FE

Accessibility & contrast

On white

3.15
#B371FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#B371FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B371FA
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B371FA#FFFFFF#000000##000000
##B371FA1.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D8FFF
Deuteranopia (green-blind)
#5591F7
Tritanopia (blue-blind)
#A68BAB
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #b371fa;
/* rgb */ color: rgb(179, 113, 250);
/* oklch */ color: oklch(67.8% 0.200 303.8);
Tailwind
colors: {
  custom: {
    50: '#cd9cfd',
    500: '#b371fa',
    950: '#000000',
  },
}
SCSS
$custom: #b371fa;
$custom-light: #cd9cfd;
$custom-dark: #000000;
JSON
{
  "hex": "#b371fa",
  "rgb": {
    "r": 179,
    "g": 113,
    "b": 250
  },
  "hsl": {
    "h": 268.905,
    "s": 93.197,
    "l": 71.176
  },
  "oklch": {
    "l": 0.67834,
    "c": 0.19994,
    "h": 303.8
  },
  "luminance": 0.28296
}

Semantic roles & 50–950 ramp

primary
#B371FA
secondary
#E4F5D1
accent
#E60077
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E18
muted
#837E86

Preview Lab

Preview with #B371FA

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

Preview Lab → · Contrast checker → · Palette generator →

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