#B372FC#B372FC

#B372FC is a light, highly saturated violet. Relative luminance 0.286; OKLCH L 68.1% C 0.201 H 303.2°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#B372FC
RGBrgb(179, 114, 252)
HSLhsl(268, 96%, 72%)
HSVhsv(268, 55%, 99%)
CMYKcmyk(29%, 54.8%, 0%, 1.2%)
CIE-LABlab(60.47, 51.76, -59.53)
CIE-LCHlch(60.47, 78.88, 311.01°)
OKLaboklab(68.1% 0.11 -0.168)
OKLCHoklch(68.1% 0.201 303.2)
XYZxyz(42.1745, 28.6467, 95.3841)
Luminance0.2865 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B372FC #BBFC72
analogous
#7276FC #B372FC #F872FC
triadic
#B372FC #FCB372 #72FCB3
tetradic
#B372FC #FC7276 #BBFC72 #72FCF8
square
#B372FC #FC7276 #BBFC72 #72FCF8
split-complementary
#B372FC #FCF872 #76FC72
monochromatic
#7305EF #9336FB #B372FC #D3AEFD #EFE1FE

Accessibility & contrast

On white

3.12
#B372FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.73
#B372FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B372FC
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B372FC#FFFFFF#000000##000000
##B372FC1.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D90FF
Deuteranopia (green-blind)
#5492F9
Tritanopia (blue-blind)
#A68DAC
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b372fc;
/* rgb */ color: rgb(179, 114, 252);
/* oklch */ color: oklch(68.1% 0.201 303.2);
Tailwind
colors: {
  custom: {
    50: '#cd9dfe',
    500: '#b372fc',
    950: '#000000',
  },
}
SCSS
$custom: #b372fc;
$custom-light: #cd9dfe;
$custom-dark: #000000;
JSON
{
  "hex": "#b372fc",
  "rgb": {
    "r": 179,
    "g": 114,
    "b": 252
  },
  "hsl": {
    "h": 268.261,
    "s": 95.833,
    "l": 71.765
  },
  "oklch": {
    "l": 0.68101,
    "c": 0.20077,
    "h": 303.2
  },
  "luminance": 0.28647
}

Semantic roles & 50–950 ramp

primary
#B372FC
secondary
#E6F6D3
accent
#E60079
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E18
muted
#837E86

Preview Lab

Preview with #B372FC

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

Preview Lab → · Contrast checker → · Palette generator →

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