#B372FE#B372FE

#B372FE is a light, highly saturated violet. Relative luminance 0.288; OKLCH L 68.2% C 0.203 H 302.8°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#B372FE
RGBrgb(179, 114, 254)
HSLhsl(268, 99%, 72%)
HSVhsv(268, 55%, 100%)
CMYKcmyk(29.5%, 55.1%, 0%, 0.4%)
CIE-LABlab(60.58, 52.23, -60.45)
CIE-LCHlch(60.58, 79.88, 310.83°)
OKLaboklab(68.22% 0.11 -0.1707)
OKLCHoklch(68.22% 0.203 302.8)
XYZxyz(42.4931, 28.7741, 97.0620)
Luminance0.2877 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B372FE #BDFE72
analogous
#7277FE #B372FE #F972FE
triadic
#B372FE #FEB372 #72FEB3
tetradic
#B372FE #FE7277 #BDFE72 #72FEF9
square
#B372FE #FE7277 #BDFE72 #72FEF9
split-complementary
#B372FE #FEF972 #77FE72
monochromatic
#7202F4 #9235FE #B372FE #D4AFFE #EFE1FF

Accessibility & contrast

On white

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

On black

6.75
#B372FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B372FE
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B372FE#FFFFFF#000000##000000
##B372FE1.003.116.756.75
#FFFFFF3.111.0021.0021.00
#0000006.7521.001.001.00
##0000006.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A91FF
Deuteranopia (green-blind)
#5292FB
Tritanopia (blue-blind)
#A58DAD
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b372fe;
/* rgb */ color: rgb(179, 114, 254);
/* oklch */ color: oklch(68.2% 0.203 302.8);
Tailwind
colors: {
  custom: {
    50: '#cd9dff',
    500: '#b372fe',
    950: '#000000',
  },
}
SCSS
$custom: #b372fe;
$custom-light: #cd9dff;
$custom-dark: #000000;
JSON
{
  "hex": "#b372fe",
  "rgb": {
    "r": 179,
    "g": 114,
    "b": 254
  },
  "hsl": {
    "h": 267.857,
    "s": 98.592,
    "l": 72.157
  },
  "oklch": {
    "l": 0.68221,
    "c": 0.20306,
    "h": 302.8
  },
  "luminance": 0.28774
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B372FE

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

Preview Lab → · Contrast checker → · Palette generator →

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