#B371EA#B371EA

#B371EA is a light, vivid violet. Relative luminance 0.273; OKLCH L 66.9% C 0.182 H 307.4°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#B371EA
RGBrgb(179, 113, 234)
HSLhsl(273, 74%, 68%)
HSVhsv(273, 52%, 92%)
CMYKcmyk(23.5%, 51.7%, 0%, 8.2%)
CIE-LABlab(59.28, 48.14, -51.44)
CIE-LCHlch(59.28, 70.45, 313.10°)
OKLaboklab(66.91% 0.1103 -0.1443)
OKLCHoklch(66.91% 0.182 307.4)
XYZxyz(39.3438, 27.3349, 81.0295)
Luminance0.2733 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B371EA #A8EA71
analogous
#7671EA #B371EA #EA71E5
triadic
#B371EA #EAB371 #71EAB3
tetradic
#B371EA #EA7671 #A8EA71 #71E5EA
square
#B371EA #EA7671 #A8EA71 #71E5EA
split-complementary
#B371EA #E5EA71 #71EA76
monochromatic
#781DC4 #963CE2 #B371EA #D0A6F2 #ECDCFA

Accessibility & contrast

On white

3.25
#B371EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#B371EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B371EA
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B371EA#FFFFFF#000000##000000
##B371EA1.003.256.476.47
#FFFFFF3.251.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D8CEE
Deuteranopia (green-blind)
#618FE7
Tritanopia (blue-blind)
#AB86A3
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #b371ea;
/* rgb */ color: rgb(179, 113, 234);
/* oklch */ color: oklch(66.9% 0.182 307.4);
Tailwind
colors: {
  custom: {
    50: '#cc9cf1',
    500: '#b371ea',
    950: '#000000',
  },
}
SCSS
$custom: #b371ea;
$custom-light: #cc9cf1;
$custom-dark: #000000;
JSON
{
  "hex": "#b371ea",
  "rgb": {
    "r": 179,
    "g": 113,
    "b": 234
  },
  "hsl": {
    "h": 272.727,
    "s": 74.233,
    "l": 68.039
  },
  "oklch": {
    "l": 0.66909,
    "c": 0.18162,
    "h": 307.4
  },
  "luminance": 0.27334
}

Semantic roles & 50–950 ramp

primary
#B371EA
secondary
#DAEEC9
accent
#D60F6A
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E17
muted
#827E85

Preview Lab

Preview with #B371EA

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

Preview Lab → · Contrast checker → · Palette generator →

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