#B372F5#B372F5

#B372F5 is a light, vivid violet. Relative luminance 0.282; OKLCH L 67.7% C 0.193 H 304.7°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#B372F5
RGBrgb(179, 114, 245)
HSLhsl(270, 87%, 70%)
HSVhsv(270, 53%, 96%)
CMYKcmyk(26.9%, 53.5%, 0%, 3.9%)
CIE-LABlab(60.08, 50.13, -56.28)
CIE-LCHlch(60.08, 75.37, 311.69°)
OKLaboklab(67.69% 0.1097 -0.1585)
OKLCHoklch(67.69% 0.193 304.7)
XYZxyz(41.0856, 28.2111, 89.6493)
Luminance0.2821 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B372F5 #B4F572
analogous
#7272F5 #B372F5 #F472F5
triadic
#B372F5 #F5B372 #72F5B3
tetradic
#B372F5 #F57272 #B4F572 #72F5F4
square
#B372F5 #F57272 #B4F572 #72F5F4
split-complementary
#B372F5 #F5F472 #72F572
monochromatic
#7610DD #9439F1 #B372F5 #D2ABF9 #F0E2FD

Accessibility & contrast

On white

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

On black

6.64
#B372F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B372F5
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B372F5#FFFFFF#000000##000000
##B372F51.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#458FF9
Deuteranopia (green-blind)
#5A91F2
Tritanopia (blue-blind)
#A88AA9
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #b372f5;
/* rgb */ color: rgb(179, 114, 245);
/* oklch */ color: oklch(67.7% 0.193 304.7);
Tailwind
colors: {
  custom: {
    50: '#cd9cf9',
    500: '#b372f5',
    950: '#000000',
  },
}
SCSS
$custom: #b372f5;
$custom-light: #cd9cf9;
$custom-dark: #000000;
JSON
{
  "hex": "#b372f5",
  "rgb": {
    "r": 179,
    "g": 114,
    "b": 245
  },
  "hsl": {
    "h": 269.771,
    "s": 86.755,
    "l": 70.392
  },
  "oklch": {
    "l": 0.67688,
    "c": 0.19272,
    "h": 304.7
  },
  "luminance": 0.28211
}

Semantic roles & 50–950 ramp

primary
#B372F5
secondary
#E2F3CF
accent
#E30274
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #B372F5

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

Preview Lab → · Contrast checker → · Palette generator →

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