#B372EB#B372EB

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

Color values

HEX#B372EB
RGBrgb(179, 114, 235)
HSLhsl(272, 75%, 68%)
HSVhsv(272, 51%, 92%)
CMYKcmyk(23.8%, 51.5%, 0%, 7.8%)
CIE-LABlab(59.54, 47.83, -51.59)
CIE-LCHlch(59.54, 70.35, 312.84°)
OKLaboklab(67.12% 0.109 -0.1447)
OKLCHoklch(67.12% 0.181 307)
XYZxyz(39.6001, 27.6169, 81.8256)
Luminance0.2762 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B372EB #AAEB72
analogous
#7672EB #B372EB #EB72E7
triadic
#B372EB #EBB372 #72EBB3
tetradic
#B372EB #EB7672 #AAEB72 #72E7EB
square
#B372EB #EB7672 #AAEB72 #72E7EB
split-complementary
#B372EB #E7EB72 #72EB76
monochromatic
#781CC6 #963CE3 #B372EB #D0A8F3 #EDDDFA

Accessibility & contrast

On white

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

On black

6.52
#B372EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B372EB
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B372EB#FFFFFF#000000##000000
##B372EB1.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E8DEF
Deuteranopia (green-blind)
#6290E8
Tritanopia (blue-blind)
#AA87A4
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #b372eb;
/* rgb */ color: rgb(179, 114, 235);
/* oklch */ color: oklch(67.1% 0.181 307.0);
Tailwind
colors: {
  custom: {
    50: '#cc9cf2',
    500: '#b372eb',
    950: '#000000',
  },
}
SCSS
$custom: #b372eb;
$custom-light: #cc9cf2;
$custom-dark: #000000;
JSON
{
  "hex": "#b372eb",
  "rgb": {
    "r": 179,
    "g": 114,
    "b": 235
  },
  "hsl": {
    "h": 272.231,
    "s": 75.155,
    "l": 68.431
  },
  "oklch": {
    "l": 0.67117,
    "c": 0.18122,
    "h": 307
  },
  "luminance": 0.27616
}

Semantic roles & 50–950 ramp

primary
#B372EB
secondary
#DBEFCA
accent
#D70E6B
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E17
muted
#827E85

Preview Lab

Preview with #B372EB

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

Preview Lab → · Contrast checker → · Palette generator →

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