#B372EC#B372EC

#B372EC is a light, vivid violet. Relative luminance 0.277; OKLCH L 67.2% C 0.182 H 306.7°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#B372EC
RGBrgb(179, 114, 236)
HSLhsl(272, 76%, 69%)
HSVhsv(272, 52%, 93%)
CMYKcmyk(24.2%, 51.7%, 0%, 7.5%)
CIE-LABlab(59.59, 48.06, -52.06)
CIE-LCHlch(59.59, 70.85, 312.71°)
OKLaboklab(67.17% 0.1091 -0.1461)
OKLCHoklch(67.17% 0.182 306.7)
XYZxyz(39.7449, 27.6748, 82.5886)
Luminance0.2767 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B372EC #ABEC72
analogous
#7672EC #B372EC #EC72E8
triadic
#B372EC #ECB372 #72ECB3
tetradic
#B372EC #EC7672 #ABEC72 #72E8EC
square
#B372EC #EC7672 #ABEC72 #72E8EC
split-complementary
#B372EC #E8EC72 #72EC76
monochromatic
#771BC9 #963CE5 #B372EC #D0A8F3 #EDDEFB

Accessibility & contrast

On white

3.21
#B372EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#B372EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B372EC
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B372EC#FFFFFF#000000##000000
##B372EC1.003.216.536.53
#FFFFFF3.211.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D8DF0
Deuteranopia (green-blind)
#6190E9
Tritanopia (blue-blind)
#AA88A4
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #b372ec;
/* rgb */ color: rgb(179, 114, 236);
/* oklch */ color: oklch(67.2% 0.182 306.7);
Tailwind
colors: {
  custom: {
    50: '#cc9cf3',
    500: '#b372ec',
    950: '#000000',
  },
}
SCSS
$custom: #b372ec;
$custom-light: #cc9cf3;
$custom-dark: #000000;
JSON
{
  "hex": "#b372ec",
  "rgb": {
    "r": 179,
    "g": 114,
    "b": 236
  },
  "hsl": {
    "h": 271.967,
    "s": 76.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.67173,
    "c": 0.18237,
    "h": 306.7
  },
  "luminance": 0.27674
}

Semantic roles & 50–950 ramp

primary
#B372EC
secondary
#DCEFCB
accent
#D80D6C
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E17
muted
#827E85

Preview Lab

Preview with #B372EC

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

Preview Lab → · Contrast checker → · Palette generator →

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