#B373E2#B373E2

#B373E2 is a light, vivid violet. Relative luminance 0.273; OKLCH L 66.8% C 0.169 H 309.1°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#B373E2
RGBrgb(179, 115, 226)
HSLhsl(275, 66%, 67%)
HSVhsv(275, 49%, 89%)
CMYKcmyk(20.8%, 49.1%, 0%, 11.4%)
CIE-LABlab(59.28, 45.27, -46.98)
CIE-LCHlch(59.28, 65.24, 313.94°)
OKLaboklab(66.78% 0.1069 -0.1313)
OKLCHoklch(66.78% 0.169 309.1)
XYZxyz(38.4460, 27.3367, 75.1879)
Luminance0.2734 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B373E2 #A2E273
analogous
#7C73E2 #B373E2 #E273D9
triadic
#B373E2 #E2B373 #73E2B3
tetradic
#B373E2 #E27C73 #A2E273 #73D9E2
square
#B373E2 #E27C73 #A2E273 #73D9E2
split-complementary
#B373E2 #D9E273 #73E27C
monochromatic
#7826B5 #9740D7 #B373E2 #CFA6ED #EAD8F7

Accessibility & contrast

On white

3.25
#B373E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#B373E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B373E2
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B373E2#FFFFFF#000000##000000
##B373E21.003.256.476.47
#FFFFFF3.251.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#568CE6
Deuteranopia (green-blind)
#6890DF
Tritanopia (blue-blind)
#AD86A0
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #b373e2;
/* rgb */ color: rgb(179, 115, 226);
/* oklch */ color: oklch(66.8% 0.169 309.1);
Tailwind
colors: {
  custom: {
    50: '#cc9deb',
    500: '#b373e2',
    950: '#000000',
  },
}
SCSS
$custom: #b373e2;
$custom-light: #cc9deb;
$custom-dark: #000000;
JSON
{
  "hex": "#b373e2",
  "rgb": {
    "r": 179,
    "g": 115,
    "b": 226
  },
  "hsl": {
    "h": 274.595,
    "s": 65.68,
    "l": 66.863
  },
  "oklch": {
    "l": 0.66776,
    "c": 0.16929,
    "h": 309.1
  },
  "luminance": 0.27336
}

Semantic roles & 50–950 ramp

primary
#B373E2
secondary
#D6EAC7
accent
#CE1865
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E16
muted
#827E84

Preview Lab

Preview with #B373E2

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

Preview Lab → · Contrast checker → · Palette generator →

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