#B373F8#B373F8

#B373F8 is a light, vivid violet. Relative luminance 0.286; OKLCH L 68.0% C 0.195 H 303.9°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#B373F8
RGBrgb(179, 115, 248)
HSLhsl(269, 90%, 71%)
HSVhsv(269, 54%, 97%)
CMYKcmyk(27.8%, 53.6%, 0%, 2.7%)
CIE-LABlab(60.45, 50.30, -57.35)
CIE-LCHlch(60.45, 76.28, 311.25°)
OKLaboklab(68.01% 0.1086 -0.1616)
OKLCHoklch(68.01% 0.195 303.9)
XYZxyz(41.6607, 28.6226, 92.1187)
Luminance0.2862 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B373F8 #B8F873
analogous
#7375F8 #B373F8 #F573F8
triadic
#B373F8 #F8B373 #73F8B3
tetradic
#B373F8 #F87375 #B8F873 #73F8F5
square
#B373F8 #F87375 #B8F873 #73F8F5
split-complementary
#B373F8 #F8F573 #75F873
monochromatic
#740BE5 #9339F5 #B373F8 #D3ADFB #EFE2FE

Accessibility & contrast

On white

3.12
#B373F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#B373F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B373F8
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B373F8#FFFFFF#000000##000000
##B373F81.003.126.726.72
#FFFFFF3.121.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4390FC
Deuteranopia (green-blind)
#5992F5
Tritanopia (blue-blind)
#A78CAB
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b373f8;
/* rgb */ color: rgb(179, 115, 248);
/* oklch */ color: oklch(68.0% 0.195 303.9);
Tailwind
colors: {
  custom: {
    50: '#cd9dfb',
    500: '#b373f8',
    950: '#000000',
  },
}
SCSS
$custom: #b373f8;
$custom-light: #cd9dfb;
$custom-dark: #000000;
JSON
{
  "hex": "#b373f8",
  "rgb": {
    "r": 179,
    "g": 115,
    "b": 248
  },
  "hsl": {
    "h": 268.872,
    "s": 90.476,
    "l": 71.176
  },
  "oklch": {
    "l": 0.68013,
    "c": 0.19469,
    "h": 303.9
  },
  "luminance": 0.28622
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B373F8

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

Preview Lab → · Contrast checker → · Palette generator →

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