#B372EF#B372EF

#B372EF is a light, vivid violet. Relative luminance 0.279; OKLCH L 67.3% C 0.186 H 306.0°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#B372EF
RGBrgb(179, 114, 239)
HSLhsl(271, 80%, 69%)
HSVhsv(271, 52%, 94%)
CMYKcmyk(25.1%, 52.3%, 0%, 6.3%)
CIE-LABlab(59.75, 48.75, -53.48)
CIE-LCHlch(59.75, 72.36, 312.35°)
OKLaboklab(67.34% 0.1093 -0.1503)
OKLCHoklch(67.34% 0.186 306)
XYZxyz(40.1845, 27.8507, 84.9034)
Luminance0.2785 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B372EF #AEEF72
analogous
#7572EF #B372EF #EF72ED
triadic
#B372EF #EFB372 #72EFB3
tetradic
#B372EF #EF7572 #AEEF72 #72EDEF
square
#B372EF #EF7572 #AEEF72 #72EDEF
split-complementary
#B372EF #EDEF72 #72EF75
monochromatic
#7718CF #953BE9 #B372EF #D1A9F5 #EEE0FB

Accessibility & contrast

On white

3.20
#B372EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#B372EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B372EF
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B372EF#FFFFFF#000000##000000
##B372EF1.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A8EF3
Deuteranopia (green-blind)
#5F90EC
Tritanopia (blue-blind)
#A989A6
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #b372ef;
/* rgb */ color: rgb(179, 114, 239);
/* oklch */ color: oklch(67.3% 0.186 306.0);
Tailwind
colors: {
  custom: {
    50: '#cd9cf5',
    500: '#b372ef',
    950: '#000000',
  },
}
SCSS
$custom: #b372ef;
$custom-light: #cd9cf5;
$custom-dark: #000000;
JSON
{
  "hex": "#b372ef",
  "rgb": {
    "r": 179,
    "g": 114,
    "b": 239
  },
  "hsl": {
    "h": 271.2,
    "s": 79.618,
    "l": 69.216
  },
  "oklch": {
    "l": 0.67343,
    "c": 0.18582,
    "h": 306
  },
  "luminance": 0.2785
}

Semantic roles & 50–950 ramp

primary
#B372EF
secondary
#DEF1CC
accent
#DC0A6F
background
#FCF9FF
surface
#F9F2FE
border
#D2CCD6
text
#140E17
muted
#827E85

Preview Lab

Preview with #B372EF

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

Preview Lab → · Contrast checker → · Palette generator →

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