#B372EA#B372EA

#B372EA is a light, vivid violet. Relative luminance 0.276; OKLCH L 67.1% C 0.180 H 307.2°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#B372EA
RGBrgb(179, 114, 234)
HSLhsl(273, 74%, 68%)
HSVhsv(273, 51%, 92%)
CMYKcmyk(23.5%, 51.3%, 0%, 8.2%)
CIE-LABlab(59.49, 47.61, -51.12)
CIE-LCHlch(59.49, 69.85, 312.96°)
OKLaboklab(67.06% 0.109 -0.1434)
OKLCHoklch(67.06% 0.18 307.2)
XYZxyz(39.4560, 27.5593, 81.0668)
Luminance0.2756 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B372EA #A9EA72
analogous
#7772EA #B372EA #EA72E5
triadic
#B372EA #EAB372 #72EAB3
tetradic
#B372EA #EA7772 #A9EA72 #72E5EA
square
#B372EA #EA7772 #A9EA72 #72E5EA
split-complementary
#B372EA #E5EA72 #72EA77
monochromatic
#781DC4 #963DE2 #B372EA #D0A7F2 #ECDDFA

Accessibility & contrast

On white

3.22
#B372EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#B372EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B372EA
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B372EA#FFFFFF#000000##000000
##B372EA1.003.226.516.51
#FFFFFF3.221.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F8DEE
Deuteranopia (green-blind)
#6290E7
Tritanopia (blue-blind)
#AB87A3
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #b372ea;
/* rgb */ color: rgb(179, 114, 234);
/* oklch */ color: oklch(67.1% 0.180 307.2);
Tailwind
colors: {
  custom: {
    50: '#cc9cf1',
    500: '#b372ea',
    950: '#000000',
  },
}
SCSS
$custom: #b372ea;
$custom-light: #cc9cf1;
$custom-dark: #000000;
JSON
{
  "hex": "#b372ea",
  "rgb": {
    "r": 179,
    "g": 114,
    "b": 234
  },
  "hsl": {
    "h": 272.5,
    "s": 74.074,
    "l": 68.235
  },
  "oklch": {
    "l": 0.67061,
    "c": 0.18007,
    "h": 307.2
  },
  "luminance": 0.27559
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B372EA

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

Preview Lab → · Contrast checker → · Palette generator →

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