#B372FA#B372FA

#B372FA is a light, vivid violet. Relative luminance 0.285; OKLCH L 68.0% C 0.198 H 303.6°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#B372FA
RGBrgb(179, 114, 250)
HSLhsl(269, 93%, 71%)
HSVhsv(269, 54%, 98%)
CMYKcmyk(28.4%, 54.4%, 0%, 2%)
CIE-LABlab(60.36, 51.29, -58.60)
CIE-LCHlch(60.36, 77.88, 311.19°)
OKLaboklab(67.98% 0.1099 -0.1653)
OKLCHoklch(67.98% 0.198 303.6)
XYZxyz(41.8592, 28.5206, 93.7237)
Luminance0.2852 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B372FA #B9FA72
analogous
#7275FA #B372FA #F772FA
triadic
#B372FA #FAB372 #72FAB3
tetradic
#B372FA #FA7275 #B9FA72 #72FAF7
square
#B372FA #FA7275 #B9FA72 #72FAF7
split-complementary
#B372FA #FAF772 #75FA72
monochromatic
#7408E9 #9337F8 #B372FA #D3ADFC #EFE1FE

Accessibility & contrast

On white

3.13
#B372FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#B372FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B372FA
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B372FA#FFFFFF#000000##000000
##B372FA1.003.136.706.70
#FFFFFF3.131.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F90FF
Deuteranopia (green-blind)
#5691F7
Tritanopia (blue-blind)
#A68CAB
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #b372fa;
/* rgb */ color: rgb(179, 114, 250);
/* oklch */ color: oklch(68.0% 0.198 303.6);
Tailwind
colors: {
  custom: {
    50: '#cd9dfd',
    500: '#b372fa',
    950: '#000000',
  },
}
SCSS
$custom: #b372fa;
$custom-light: #cd9dfd;
$custom-dark: #000000;
JSON
{
  "hex": "#b372fa",
  "rgb": {
    "r": 179,
    "g": 114,
    "b": 250
  },
  "hsl": {
    "h": 268.676,
    "s": 93.151,
    "l": 71.373
  },
  "oklch": {
    "l": 0.67982,
    "c": 0.19847,
    "h": 303.6
  },
  "luminance": 0.2852
}

Semantic roles & 50–950 ramp

primary
#B372FA
secondary
#E5F6D2
accent
#E60078
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E18
muted
#827E86

Preview Lab

Preview with #B372FA

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

Preview Lab → · Contrast checker → · Palette generator →

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