#B372E2#B372E2

#B372E2 is a light, vivid violet. Relative luminance 0.271; OKLCH L 66.6% C 0.171 H 309.3°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#B372E2
RGBrgb(179, 114, 226)
HSLhsl(275, 66%, 67%)
HSVhsv(275, 50%, 89%)
CMYKcmyk(20.8%, 49.6%, 0%, 11.4%)
CIE-LABlab(59.08, 45.81, -47.31)
CIE-LCHlch(59.08, 65.85, 314.08°)
OKLaboklab(66.62% 0.1082 -0.1323)
OKLCHoklch(66.62% 0.171 309.3)
XYZxyz(38.3326, 27.1099, 75.1501)
Luminance0.2711 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B372E2 #A1E272
analogous
#7B72E2 #B372E2 #E272D9
triadic
#B372E2 #E2B372 #72E2B3
tetradic
#B372E2 #E27B72 #A1E272 #72D9E2
square
#B372E2 #E27B72 #A1E272 #72D9E2
split-complementary
#B372E2 #D9E272 #72E27B
monochromatic
#7825B4 #983FD8 #B372E2 #CEA5EC #EAD8F7

Accessibility & contrast

On white

3.27
#B372E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#B372E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B372E2
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B372E2#FFFFFF#000000##000000
##B372E21.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#558BE6
Deuteranopia (green-blind)
#688FDF
Tritanopia (blue-blind)
#AD85A0
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b372e2;
/* rgb */ color: rgb(179, 114, 226);
/* oklch */ color: oklch(66.6% 0.171 309.3);
Tailwind
colors: {
  custom: {
    50: '#cc9ceb',
    500: '#b372e2',
    950: '#000000',
  },
}
SCSS
$custom: #b372e2;
$custom-light: #cc9ceb;
$custom-dark: #000000;
JSON
{
  "hex": "#b372e2",
  "rgb": {
    "r": 179,
    "g": 114,
    "b": 226
  },
  "hsl": {
    "h": 274.821,
    "s": 65.882,
    "l": 66.667
  },
  "oklch": {
    "l": 0.66621,
    "c": 0.17089,
    "h": 309.3
  },
  "luminance": 0.27109
}

Semantic roles & 50–950 ramp

primary
#B372E2
secondary
#D5EAC6
accent
#CE1864
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E16
muted
#827E84

Preview Lab

Preview with #B372E2

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

Preview Lab → · Contrast checker → · Palette generator →

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