#B372E7#B372E7

#B372E7 is a light, vivid violet. Relative luminance 0.274; OKLCH L 66.9% C 0.177 H 308.0°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#B372E7
RGBrgb(179, 114, 231)
HSLhsl(273, 71%, 68%)
HSVhsv(273, 51%, 91%)
CMYKcmyk(22.5%, 50.6%, 0%, 9.4%)
CIE-LABlab(59.33, 46.93, -49.69)
CIE-LCHlch(59.33, 68.35, 313.36°)
OKLaboklab(66.89% 0.1087 -0.1392)
OKLCHoklch(66.89% 0.177 308)
XYZxyz(39.0287, 27.3883, 78.8162)
Luminance0.2739 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B372E7 #A6E772
analogous
#7872E7 #B372E7 #E772E1
triadic
#B372E7 #E7B372 #72E7B3
tetradic
#B372E7 #E77872 #A6E772 #72E1E7
square
#B372E7 #E77872 #A6E772 #72E1E7
split-complementary
#B372E7 #E1E772 #72E778
monochromatic
#7820BE #973EDE #B372E7 #CFA6F0 #EBDBF9

Accessibility & contrast

On white

3.24
#B372E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#B372E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B372E7
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B372E7#FFFFFF#000000##000000
##B372E71.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#518CEB
Deuteranopia (green-blind)
#6490E4
Tritanopia (blue-blind)
#AC86A2
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #b372e7;
/* rgb */ color: rgb(179, 114, 231);
/* oklch */ color: oklch(66.9% 0.177 308.0);
Tailwind
colors: {
  custom: {
    50: '#cc9cef',
    500: '#b372e7',
    950: '#000000',
  },
}
SCSS
$custom: #b372e7;
$custom-light: #cc9cef;
$custom-dark: #000000;
JSON
{
  "hex": "#b372e7",
  "rgb": {
    "r": 179,
    "g": 114,
    "b": 231
  },
  "hsl": {
    "h": 273.333,
    "s": 70.909,
    "l": 67.647
  },
  "oklch": {
    "l": 0.66894,
    "c": 0.17662,
    "h": 308
  },
  "luminance": 0.27388
}

Semantic roles & 50–950 ramp

primary
#B372E7
secondary
#D8EDC8
accent
#D31368
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E16
muted
#827E84

Preview Lab

Preview with #B372E7

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

Preview Lab → · Contrast checker → · Palette generator →

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