#B372E9#B372E9

#B372E9 is a light, vivid violet. Relative luminance 0.275; OKLCH L 67.0% C 0.179 H 307.5°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#B372E9
RGBrgb(179, 114, 233)
HSLhsl(273, 73%, 68%)
HSVhsv(273, 51%, 91%)
CMYKcmyk(23.2%, 51.1%, 0%, 8.6%)
CIE-LABlab(59.44, 47.38, -50.64)
CIE-LCHlch(59.44, 69.35, 313.09°)
OKLaboklab(67.01% 0.1089 -0.142)
OKLCHoklch(67.01% 0.179 307.5)
XYZxyz(39.3127, 27.5020, 80.3124)
Luminance0.2750 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B372E9 #A8E972
analogous
#7772E9 #B372E9 #E972E3
triadic
#B372E9 #E9B372 #72E9B3
tetradic
#B372E9 #E97772 #A8E972 #72E3E9
square
#B372E9 #E97772 #A8E972 #72E3E9
split-complementary
#B372E9 #E3E972 #72E977
monochromatic
#781EC2 #963DE1 #B372E9 #D0A7F1 #ECDCFA

Accessibility & contrast

On white

3.23
#B372E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#B372E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B372E9
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B372E9#FFFFFF#000000##000000
##B372E91.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F8DED
Deuteranopia (green-blind)
#6390E6
Tritanopia (blue-blind)
#AB87A3
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #b372e9;
/* rgb */ color: rgb(179, 114, 233);
/* oklch */ color: oklch(67.0% 0.179 307.5);
Tailwind
colors: {
  custom: {
    50: '#cc9cf0',
    500: '#b372e9',
    950: '#000000',
  },
}
SCSS
$custom: #b372e9;
$custom-light: #cc9cf0;
$custom-dark: #000000;
JSON
{
  "hex": "#b372e9",
  "rgb": {
    "r": 179,
    "g": 114,
    "b": 233
  },
  "hsl": {
    "h": 272.773,
    "s": 73.006,
    "l": 68.039
  },
  "oklch": {
    "l": 0.67005,
    "c": 0.17892,
    "h": 307.5
  },
  "luminance": 0.27502
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B372E9

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

Preview Lab → · Contrast checker → · Palette generator →

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