#B372FB#B372FB

#B372FB is a light, vivid violet. Relative luminance 0.286; OKLCH L 68.0% C 0.200 H 303.4°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#B372FB
RGBrgb(179, 114, 251)
HSLhsl(268, 94%, 72%)
HSVhsv(268, 55%, 98%)
CMYKcmyk(28.7%, 54.6%, 0%, 1.6%)
CIE-LABlab(60.41, 51.52, -59.06)
CIE-LCHlch(60.41, 78.38, 311.10°)
OKLaboklab(68.04% 0.1099 -0.1666)
OKLCHoklch(68.04% 0.2 303.4)
XYZxyz(42.0164, 28.5834, 94.5517)
Luminance0.2858 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B372FB #BAFB72
analogous
#7276FB #B372FB #F772FB
triadic
#B372FB #FBB372 #72FBB3
tetradic
#B372FB #FB7276 #BAFB72 #72FBF7
square
#B372FB #FB7276 #BAFB72 #72FBF7
split-complementary
#B372FB #FBF772 #76FB72
monochromatic
#7307EC #9336F9 #B372FB #D3AEFD #EFE1FE

Accessibility & contrast

On white

3.13
#B372FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#B372FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B372FB
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B372FB#FFFFFF#000000##000000
##B372FB1.003.136.726.72
#FFFFFF3.131.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E90FF
Deuteranopia (green-blind)
#5591F8
Tritanopia (blue-blind)
#A68CAC
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b372fb;
/* rgb */ color: rgb(179, 114, 251);
/* oklch */ color: oklch(68.0% 0.200 303.4);
Tailwind
colors: {
  custom: {
    50: '#cd9dfd',
    500: '#b372fb',
    950: '#000000',
  },
}
SCSS
$custom: #b372fb;
$custom-light: #cd9dfd;
$custom-dark: #000000;
JSON
{
  "hex": "#b372fb",
  "rgb": {
    "r": 179,
    "g": 114,
    "b": 251
  },
  "hsl": {
    "h": 268.467,
    "s": 94.483,
    "l": 71.569
  },
  "oklch": {
    "l": 0.68041,
    "c": 0.19962,
    "h": 303.4
  },
  "luminance": 0.28583
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B372FB

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

Preview Lab → · Contrast checker → · Palette generator →

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