#B372EE#B372EE

#B372EE is a light, vivid violet. Relative luminance 0.278; OKLCH L 67.3% C 0.185 H 306.3°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#B372EE
RGBrgb(179, 114, 238)
HSLhsl(271, 78%, 69%)
HSVhsv(271, 52%, 93%)
CMYKcmyk(24.8%, 52.1%, 0%, 6.7%)
CIE-LABlab(59.70, 48.52, -53.01)
CIE-LCHlch(59.70, 71.86, 312.47°)
OKLaboklab(67.29% 0.1093 -0.1489)
OKLCHoklch(67.29% 0.185 306.3)
XYZxyz(40.0371, 27.7917, 84.1275)
Luminance0.2779 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B372EE #ADEE72
analogous
#7572EE #B372EE #EE72EB
triadic
#B372EE #EEB372 #72EEB3
tetradic
#B372EE #EE7572 #ADEE72 #72EBEE
square
#B372EE #EE7572 #ADEE72 #72EBEE
split-complementary
#B372EE #EBEE72 #72EE75
monochromatic
#7719CD #963BE7 #B372EE #D0A9F5 #EEDFFB

Accessibility & contrast

On white

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

On black

6.56
#B372EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B372EE
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B372EE#FFFFFF#000000##000000
##B372EE1.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B8EF2
Deuteranopia (green-blind)
#5F90EB
Tritanopia (blue-blind)
#AA88A5
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #b372ee;
/* rgb */ color: rgb(179, 114, 238);
/* oklch */ color: oklch(67.3% 0.185 306.3);
Tailwind
colors: {
  custom: {
    50: '#cd9cf4',
    500: '#b372ee',
    950: '#000000',
  },
}
SCSS
$custom: #b372ee;
$custom-light: #cd9cf4;
$custom-dark: #000000;
JSON
{
  "hex": "#b372ee",
  "rgb": {
    "r": 179,
    "g": 114,
    "b": 238
  },
  "hsl": {
    "h": 271.452,
    "s": 78.481,
    "l": 69.02
  },
  "oklch": {
    "l": 0.67286,
    "c": 0.18468,
    "h": 306.3
  },
  "luminance": 0.27791
}

Semantic roles & 50–950 ramp

primary
#B372EE
secondary
#DDF0CC
accent
#DB0B6E
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E17
muted
#827E85

Preview Lab

Preview with #B372EE

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

Preview Lab → · Contrast checker → · Palette generator →

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