#B372FF#B372FF

#B372FF is a light, highly saturated violet. Relative luminance 0.288; OKLCH L 68.3% C 0.204 H 302.6°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#B372FF
RGBrgb(179, 114, 255)
HSLhsl(268, 100%, 72%)
HSVhsv(268, 55%, 100%)
CMYKcmyk(29.8%, 55.3%, 0%, 0%)
CIE-LABlab(60.64, 52.46, -60.91)
CIE-LCHlch(60.64, 80.39, 310.74°)
OKLaboklab(68.28% 0.1101 -0.172)
OKLCHoklch(68.28% 0.204 302.6)
XYZxyz(42.6536, 28.8383, 97.9076)
Luminance0.2884 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B372FF #BEFF72
analogous
#7277FF #B372FF #FA72FF
triadic
#B372FF #FFB372 #72FFB3
tetradic
#B372FF #FF7277 #BEFF72 #72FFFA
square
#B372FF #FF7277 #BEFF72 #72FFFA
split-complementary
#B372FF #FFFA72 #77FF72
monochromatic
#7200F7 #9235FF #B372FF #D4AFFF #EFE0FF

Accessibility & contrast

On white

3.10
#B372FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.77
#B372FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B372FF
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B372FF#FFFFFF#000000##000000
##B372FF1.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3991FF
Deuteranopia (green-blind)
#5192FC
Tritanopia (blue-blind)
#A58EAE
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b372ff;
/* rgb */ color: rgb(179, 114, 255);
/* oklch */ color: oklch(68.3% 0.204 302.6);
Tailwind
colors: {
  custom: {
    50: '#cd9dff',
    500: '#b372ff',
    950: '#000000',
  },
}
SCSS
$custom: #b372ff;
$custom-light: #cd9dff;
$custom-dark: #000000;
JSON
{
  "hex": "#b372ff",
  "rgb": {
    "r": 179,
    "g": 114,
    "b": 255
  },
  "hsl": {
    "h": 267.66,
    "s": 100,
    "l": 72.353
  },
  "oklch": {
    "l": 0.68281,
    "c": 0.2042,
    "h": 302.6
  },
  "luminance": 0.28838
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B372FF

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

Preview Lab → · Contrast checker → · Palette generator →

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