#B372F8#B372F8

#B372F8 is a light, vivid violet. Relative luminance 0.284; OKLCH L 67.9% C 0.196 H 304.0°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#B372F8
RGBrgb(179, 114, 248)
HSLhsl(269, 91%, 71%)
HSVhsv(269, 54%, 97%)
CMYKcmyk(27.8%, 54%, 0%, 2.7%)
CIE-LABlab(60.24, 50.82, -57.68)
CIE-LCHlch(60.24, 76.87, 311.39°)
OKLaboklab(67.86% 0.1098 -0.1625)
OKLCHoklch(67.86% 0.196 304)
XYZxyz(41.5473, 28.3958, 92.0809)
Luminance0.2840 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B372F8 #B7F872
analogous
#7274F8 #B372F8 #F672F8
triadic
#B372F8 #F8B372 #72F8B3
tetradic
#B372F8 #F87274 #B7F872 #72F8F6
square
#B372F8 #F87274 #B7F872 #72F8F6
split-complementary
#B372F8 #F8F672 #74F872
monochromatic
#750BE4 #9438F5 #B372F8 #D2ACFB #EFE2FE

Accessibility & contrast

On white

3.14
#B372F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.68
#B372F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B372F8
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B372F8#FFFFFF#000000##000000
##B372F81.003.146.686.68
#FFFFFF3.141.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4190FC
Deuteranopia (green-blind)
#5791F5
Tritanopia (blue-blind)
#A78BAA
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #b372f8;
/* rgb */ color: rgb(179, 114, 248);
/* oklch */ color: oklch(67.9% 0.196 304.0);
Tailwind
colors: {
  custom: {
    50: '#cd9dfb',
    500: '#b372f8',
    950: '#000000',
  },
}
SCSS
$custom: #b372f8;
$custom-light: #cd9dfb;
$custom-dark: #000000;
JSON
{
  "hex": "#b372f8",
  "rgb": {
    "r": 179,
    "g": 114,
    "b": 248
  },
  "hsl": {
    "h": 269.104,
    "s": 90.541,
    "l": 70.98
  },
  "oklch": {
    "l": 0.67864,
    "c": 0.19617,
    "h": 304
  },
  "luminance": 0.28396
}

Semantic roles & 50–950 ramp

primary
#B372F8
secondary
#E3F5D1
accent
#E60076
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #B372F8

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

Preview Lab → · Contrast checker → · Palette generator →

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