#B372DF#B372DF

#B372DF is a light, vivid violet. Relative luminance 0.269; OKLCH L 66.5% C 0.167 H 310.1°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#B372DF
RGBrgb(179, 114, 223)
HSLhsl(276, 63%, 66%)
HSVhsv(276, 49%, 87%)
CMYKcmyk(19.7%, 48.9%, 0%, 12.5%)
CIE-LABlab(58.92, 45.15, -45.87)
CIE-LCHlch(58.92, 64.36, 314.55°)
OKLaboklab(66.46% 0.1079 -0.1281)
OKLCHoklch(66.46% 0.167 310.1)
XYZxyz(37.9245, 26.9467, 73.0011)
Luminance0.2695 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B372DF #9EDF72
analogous
#7C72DF #B372DF #DF72D4
triadic
#B372DF #DFB372 #72DFB3
tetradic
#B372DF #DF7C72 #9EDF72 #72D4DF
square
#B372DF #DF7C72 #9EDF72 #72D4DF
split-complementary
#B372DF #D4DF72 #72DF7C
monochromatic
#7828AF #9840D4 #B372DF #CEA4EA #E9D6F6

Accessibility & contrast

On white

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

On black

6.39
#B372DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B372DF
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B372DF#FFFFFF#000000##000000
##B372DF1.003.296.396.39
#FFFFFF3.291.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#578BE3
Deuteranopia (green-blind)
#698FDC
Tritanopia (blue-blind)
#AE849E
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b372df;
/* rgb */ color: rgb(179, 114, 223);
/* oklch */ color: oklch(66.5% 0.167 310.1);
Tailwind
colors: {
  custom: {
    50: '#cc9ce9',
    500: '#b372df',
    950: '#000000',
  },
}
SCSS
$custom: #b372df;
$custom-light: #cc9ce9;
$custom-dark: #000000;
JSON
{
  "hex": "#b372df",
  "rgb": {
    "r": 179,
    "g": 114,
    "b": 223
  },
  "hsl": {
    "h": 275.78,
    "s": 63.006,
    "l": 66.078
  },
  "oklch": {
    "l": 0.6646,
    "c": 0.16746,
    "h": 310.1
  },
  "luminance": 0.26946
}

Semantic roles & 50–950 ramp

primary
#B372DF
secondary
#D3E8C4
accent
#CB1B62
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E16
muted
#827E84

Preview Lab

Preview with #B372DF

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

Preview Lab → · Contrast checker → · Palette generator →

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