#B372F7#B372F7

#B372F7 is a light, vivid violet. Relative luminance 0.283; OKLCH L 67.8% C 0.195 H 304.3°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#B372F7
RGBrgb(179, 114, 247)
HSLhsl(269, 89%, 71%)
HSVhsv(269, 54%, 97%)
CMYKcmyk(27.5%, 53.8%, 0%, 3.1%)
CIE-LABlab(60.19, 50.59, -57.21)
CIE-LCHlch(60.19, 76.37, 311.49°)
OKLaboklab(67.81% 0.1098 -0.1612)
OKLCHoklch(67.81% 0.195 304.3)
XYZxyz(41.3925, 28.3339, 91.2660)
Luminance0.2833 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B372F7 #B6F772
analogous
#7273F7 #B372F7 #F572F7
triadic
#B372F7 #F7B372 #72F7B3
tetradic
#B372F7 #F77273 #B6F772 #72F7F5
square
#B372F7 #F77273 #B6F772 #72F7F5
split-complementary
#B372F7 #F7F572 #73F772
monochromatic
#750DE2 #9438F4 #B372F7 #D2ACFA #EFE2FD

Accessibility & contrast

On white

3.15
#B372F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.67
#B372F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B372F7
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B372F7#FFFFFF#000000##000000
##B372F71.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#428FFB
Deuteranopia (green-blind)
#5891F4
Tritanopia (blue-blind)
#A78BAA
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #b372f7;
/* rgb */ color: rgb(179, 114, 247);
/* oklch */ color: oklch(67.8% 0.195 304.3);
Tailwind
colors: {
  custom: {
    50: '#cd9dfa',
    500: '#b372f7',
    950: '#000000',
  },
}
SCSS
$custom: #b372f7;
$custom-light: #cd9dfa;
$custom-dark: #000000;
JSON
{
  "hex": "#b372f7",
  "rgb": {
    "r": 179,
    "g": 114,
    "b": 247
  },
  "hsl": {
    "h": 269.323,
    "s": 89.262,
    "l": 70.784
  },
  "oklch": {
    "l": 0.67805,
    "c": 0.19502,
    "h": 304.3
  },
  "luminance": 0.28334
}

Semantic roles & 50–950 ramp

primary
#B372F7
secondary
#E3F4D1
accent
#E60075
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #B372F7

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

Preview Lab → · Contrast checker → · Palette generator →

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