#B372F9#B372F9

#B372F9 is a light, vivid violet. Relative luminance 0.285; OKLCH L 67.9% C 0.197 H 303.8°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#B372F9
RGBrgb(179, 114, 249)
HSLhsl(269, 92%, 71%)
HSVhsv(269, 54%, 98%)
CMYKcmyk(28.1%, 54.2%, 0%, 2.4%)
CIE-LABlab(60.30, 51.06, -58.14)
CIE-LCHlch(60.30, 77.38, 311.29°)
OKLaboklab(67.92% 0.1099 -0.1639)
OKLCHoklch(67.92% 0.197 303.8)
XYZxyz(41.7028, 28.4580, 92.9001)
Luminance0.2846 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B372F9 #B8F972
analogous
#7274F9 #B372F9 #F772F9
triadic
#B372F9 #F9B372 #72F9B3
tetradic
#B372F9 #F97274 #B8F972 #72F9F7
square
#B372F9 #F97274 #B8F972 #72F9F7
split-complementary
#B372F9 #F9F772 #74F972
monochromatic
#740AE7 #9337F7 #B372F9 #D3ADFB #EFE2FE

Accessibility & contrast

On white

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

On black

6.69
#B372F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B372F9
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B372F9#FFFFFF#000000##000000
##B372F91.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4090FE
Deuteranopia (green-blind)
#5791F6
Tritanopia (blue-blind)
#A68CAB
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #b372f9;
/* rgb */ color: rgb(179, 114, 249);
/* oklch */ color: oklch(67.9% 0.197 303.8);
Tailwind
colors: {
  custom: {
    50: '#cd9dfc',
    500: '#b372f9',
    950: '#000000',
  },
}
SCSS
$custom: #b372f9;
$custom-light: #cd9dfc;
$custom-dark: #000000;
JSON
{
  "hex": "#b372f9",
  "rgb": {
    "r": 179,
    "g": 114,
    "b": 249
  },
  "hsl": {
    "h": 268.889,
    "s": 91.837,
    "l": 71.176
  },
  "oklch": {
    "l": 0.67923,
    "c": 0.19732,
    "h": 303.8
  },
  "luminance": 0.28458
}

Semantic roles & 50–950 ramp

primary
#B372F9
secondary
#E4F5D2
accent
#E60077
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #B372F9

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

Preview Lab → · Contrast checker → · Palette generator →

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