#B372F6#B372F6

#B372F6 is a light, vivid violet. Relative luminance 0.283; OKLCH L 67.7% C 0.194 H 304.5°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#B372F6
RGBrgb(179, 114, 246)
HSLhsl(270, 88%, 71%)
HSVhsv(270, 54%, 96%)
CMYKcmyk(27.2%, 53.7%, 0%, 3.5%)
CIE-LABlab(60.13, 50.36, -56.75)
CIE-LCHlch(60.13, 75.87, 311.59°)
OKLaboklab(67.75% 0.1097 -0.1598)
OKLCHoklch(67.75% 0.194 304.5)
XYZxyz(41.2387, 28.2723, 90.4555)
Luminance0.2827 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B372F6 #B5F672
analogous
#7273F6 #B372F6 #F572F6
triadic
#B372F6 #F6B372 #72F6B3
tetradic
#B372F6 #F67273 #B5F672 #72F6F5
square
#B372F6 #F67273 #B5F672 #72F6F5
split-complementary
#B372F6 #F6F572 #73F672
monochromatic
#750EDF #9438F2 #B372F6 #D2ACFA #EFE2FD

Accessibility & contrast

On white

3.16
#B372F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#B372F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B372F6
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B372F6#FFFFFF#000000##000000
##B372F61.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#438FFA
Deuteranopia (green-blind)
#5991F3
Tritanopia (blue-blind)
#A78BA9
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #b372f6;
/* rgb */ color: rgb(179, 114, 246);
/* oklch */ color: oklch(67.7% 0.194 304.5);
Tailwind
colors: {
  custom: {
    50: '#cd9dfa',
    500: '#b372f6',
    950: '#000000',
  },
}
SCSS
$custom: #b372f6;
$custom-light: #cd9dfa;
$custom-dark: #000000;
JSON
{
  "hex": "#b372f6",
  "rgb": {
    "r": 179,
    "g": 114,
    "b": 246
  },
  "hsl": {
    "h": 269.545,
    "s": 88,
    "l": 70.588
  },
  "oklch": {
    "l": 0.67747,
    "c": 0.19387,
    "h": 304.5
  },
  "luminance": 0.28272
}

Semantic roles & 50–950 ramp

primary
#B372F6
secondary
#E2F4D0
accent
#E50174
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #B372F6

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

Preview Lab → · Contrast checker → · Palette generator →

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