#B372DE#B372DE

#B372DE is a light, vivid violet. Relative luminance 0.269; OKLCH L 66.4% C 0.166 H 310.4°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#B372DE
RGBrgb(179, 114, 222)
HSLhsl(276, 62%, 66%)
HSVhsv(276, 49%, 87%)
CMYKcmyk(19.4%, 48.6%, 0%, 12.9%)
CIE-LABlab(58.88, 44.93, -45.38)
CIE-LCHlch(58.88, 63.86, 314.71°)
OKLaboklab(66.41% 0.1078 -0.1267)
OKLCHoklch(66.41% 0.166 310.4)
XYZxyz(37.7901, 26.8929, 72.2932)
Luminance0.2689 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B372DE #9DDE72
analogous
#7D72DE #B372DE #DE72D3
triadic
#B372DE #DEB372 #72DEB3
tetradic
#B372DE #DE7D72 #9DDE72 #72D3DE
square
#B372DE #DE7D72 #9DDE72 #72D3DE
split-complementary
#B372DE #D3DE72 #72DE7D
monochromatic
#7829AD #9840D2 #B372DE #CEA4EA #E8D5F5

Accessibility & contrast

On white

3.29
#B372DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#B372DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B372DE
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B372DE#FFFFFF#000000##000000
##B372DE1.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#578BE2
Deuteranopia (green-blind)
#6A8FDB
Tritanopia (blue-blind)
#AE849E
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b372de;
/* rgb */ color: rgb(179, 114, 222);
/* oklch */ color: oklch(66.4% 0.166 310.4);
Tailwind
colors: {
  custom: {
    50: '#cc9ce9',
    500: '#b372de',
    950: '#000000',
  },
}
SCSS
$custom: #b372de;
$custom-light: #cc9ce9;
$custom-dark: #000000;
JSON
{
  "hex": "#b372de",
  "rgb": {
    "r": 179,
    "g": 114,
    "b": 222
  },
  "hsl": {
    "h": 276.111,
    "s": 62.069,
    "l": 65.882
  },
  "oklch": {
    "l": 0.66406,
    "c": 0.16631,
    "h": 310.4
  },
  "luminance": 0.26892
}

Semantic roles & 50–950 ramp

primary
#B372DE
secondary
#D2E8C4
accent
#CA1C61
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E16
muted
#827E84

Preview Lab

Preview with #B372DE

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

Preview Lab → · Contrast checker → · Palette generator →

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