#B373F7#B373F7

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

Color values

HEX#B373F7
RGBrgb(179, 115, 247)
HSLhsl(269, 89%, 71%)
HSVhsv(269, 53%, 97%)
CMYKcmyk(27.5%, 53.4%, 0%, 3.1%)
CIE-LABlab(60.39, 50.06, -56.89)
CIE-LCHlch(60.39, 75.78, 311.35°)
OKLaboklab(67.96% 0.1085 -0.1602)
OKLCHoklch(67.96% 0.194 304.1)
XYZxyz(41.5060, 28.5607, 91.3038)
Luminance0.2856 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B373F7 #B7F773
analogous
#7375F7 #B373F7 #F573F7
triadic
#B373F7 #F7B373 #73F7B3
tetradic
#B373F7 #F77375 #B7F773 #73F7F5
square
#B373F7 #F77375 #B7F773 #73F7F5
split-complementary
#B373F7 #F7F573 #75F773
monochromatic
#750DE3 #9439F4 #B373F7 #D2ADFA #EFE2FD

Accessibility & contrast

On white

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

On black

6.71
#B373F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B373F7
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B373F7#FFFFFF#000000##000000
##B373F71.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4490FB
Deuteranopia (green-blind)
#5A92F4
Tritanopia (blue-blind)
#A78CAA
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b373f7;
/* rgb */ color: rgb(179, 115, 247);
/* oklch */ color: oklch(68.0% 0.194 304.1);
Tailwind
colors: {
  custom: {
    50: '#cd9dfa',
    500: '#b373f7',
    950: '#000000',
  },
}
SCSS
$custom: #b373f7;
$custom-light: #cd9dfa;
$custom-dark: #000000;
JSON
{
  "hex": "#b373f7",
  "rgb": {
    "r": 179,
    "g": 115,
    "b": 247
  },
  "hsl": {
    "h": 269.091,
    "s": 89.189,
    "l": 70.98
  },
  "oklch": {
    "l": 0.67955,
    "c": 0.19353,
    "h": 304.1
  },
  "luminance": 0.28561
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B373F7

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

Preview Lab → · Contrast checker → · Palette generator →

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