#B372FD#B372FD

#B372FD is a light, highly saturated violet. Relative luminance 0.287; OKLCH L 68.2% C 0.202 H 303.0°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#B372FD
RGBrgb(179, 114, 253)
HSLhsl(268, 97%, 72%)
HSVhsv(268, 55%, 99%)
CMYKcmyk(29.2%, 54.9%, 0%, 0.8%)
CIE-LABlab(60.52, 51.99, -59.99)
CIE-LCHlch(60.52, 79.38, 310.92°)
OKLaboklab(68.16% 0.11 -0.1693)
OKLCHoklch(68.16% 0.202 303)
XYZxyz(42.3333, 28.7102, 96.2209)
Luminance0.2871 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B372FD #BCFD72
analogous
#7276FD #B372FD #F972FD
triadic
#B372FD #FDB372 #72FDB3
tetradic
#B372FD #FD7276 #BCFD72 #72FDF9
square
#B372FD #FD7276 #BCFD72 #72FDF9
split-complementary
#B372FD #FDF972 #76FD72
monochromatic
#7303F1 #9236FC #B372FD #D4AEFE #EFE1FF

Accessibility & contrast

On white

3.11
#B372FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.74
#B372FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B372FD
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B372FD#FFFFFF#000000##000000
##B372FD1.003.116.746.74
#FFFFFF3.111.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C91FF
Deuteranopia (green-blind)
#5392FA
Tritanopia (blue-blind)
#A58DAD
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b372fd;
/* rgb */ color: rgb(179, 114, 253);
/* oklch */ color: oklch(68.2% 0.202 303.0);
Tailwind
colors: {
  custom: {
    50: '#cd9dff',
    500: '#b372fd',
    950: '#000000',
  },
}
SCSS
$custom: #b372fd;
$custom-light: #cd9dff;
$custom-dark: #000000;
JSON
{
  "hex": "#b372fd",
  "rgb": {
    "r": 179,
    "g": 114,
    "b": 253
  },
  "hsl": {
    "h": 268.058,
    "s": 97.203,
    "l": 71.961
  },
  "oklch": {
    "l": 0.68161,
    "c": 0.20191,
    "h": 303
  },
  "luminance": 0.2871
}

Semantic roles & 50–950 ramp

primary
#B372FD
secondary
#E7F7D4
accent
#E6007A
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E18
muted
#837E86

Preview Lab

Preview with #B372FD

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

Preview Lab → · Contrast checker → · Palette generator →

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