#8337BC#8337BC

#8337BC is a mid, highly saturated violet. Relative luminance 0.112; OKLCH L 50.6% C 0.200 H 306.6°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#8337BC
RGBrgb(131, 55, 188)
HSLhsl(274, 55%, 48%)
HSVhsv(274, 71%, 74%)
CMYKcmyk(30.3%, 70.7%, 0%, 26.3%)
CIE-LABlab(39.90, 55.47, -56.56)
CIE-LCHlch(39.90, 79.22, 314.44°)
OKLaboklab(50.65% 0.1194 -0.1605)
OKLCHoklch(50.65% 0.2 306.6)
XYZxyz(19.8014, 11.1887, 48.6837)
Luminance0.1119 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8337BC #70BC37
analogous
#4137BC #8337BC #BC37B2
triadic
#8337BC #BC8337 #37BC83
tetradic
#8337BC #BC4137 #70BC37 #37B2BC
square
#8337BC #BC4137 #70BC37 #37B2BC
split-complementary
#8337BC #B2BC37 #37BC41
monochromatic
#411B5D #62298D #8337BC #A060D0 #BC8FDE

Accessibility & contrast

On white

6.49
#8337BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#8337BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8337BC
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8337BC#FFFFFF#000000##FFFFFF
##8337BC1.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC0
Deuteranopia (green-blind)
#055EB9
Tritanopia (blue-blind)
#795676
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8337bc;
/* rgb */ color: rgb(131, 55, 188);
/* oklch */ color: oklch(50.6% 0.200 306.6);
Tailwind
colors: {
  custom: {
    50: '#ac74d1',
    500: '#8337bc',
    950: '#000000',
  },
}
SCSS
$custom: #8337bc;
$custom-light: #ac74d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8337bc",
  "rgb": {
    "r": 131,
    "g": 55,
    "b": 188
  },
  "hsl": {
    "h": 274.286,
    "s": 54.733,
    "l": 47.647
  },
  "oklch": {
    "l": 0.50647,
    "c": 0.2001,
    "h": 306.6
  },
  "luminance": 0.11189
}

Semantic roles & 50–950 ramp

primary
#8337BC
secondary
#A3C986
accent
#DE4A89
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8337BC

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

Preview Lab → · Contrast checker → · Palette generator →

#8337BC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva