#8337B4#8337B4

#8337B4 is a mid, vivid violet. Relative luminance 0.109; OKLCH L 50.1% C 0.192 H 308.9°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#8337B4
RGBrgb(131, 55, 180)
HSLhsl(276, 53%, 46%)
HSVhsv(276, 69%, 71%)
CMYKcmyk(27.2%, 69.4%, 0%, 29.4%)
CIE-LABlab(39.33, 53.66, -52.76)
CIE-LCHlch(39.33, 75.26, 315.48°)
OKLaboklab(50.07% 0.1205 -0.1494)
OKLCHoklch(50.07% 0.192 308.9)
XYZxyz(18.9628, 10.8533, 44.2671)
Luminance0.1085 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8337B4 #68B437
analogous
#4437B4 #8337B4 #B437A6
triadic
#8337B4 #B48337 #37B483
tetradic
#8337B4 #B44437 #68B437 #37A6B4
square
#8337B4 #B44437 #68B437 #37A6B4
split-complementary
#8337B4 #A6B437 #37B444
monochromatic
#3F1A56 #612985 #8337B4 #A05BCD #BB8ADB

Accessibility & contrast

On white

6.62
#8337B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#8337B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8337B4
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8337B4#FFFFFF#000000##FFFFFF
##8337B41.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB8
Deuteranopia (green-blind)
#1D5EB1
Tritanopia (blue-blind)
#7C5271
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8337b4;
/* rgb */ color: rgb(131, 55, 180);
/* oklch */ color: oklch(50.1% 0.192 308.9);
Tailwind
colors: {
  custom: {
    50: '#ab74cb',
    500: '#8337b4',
    950: '#000000',
  },
}
SCSS
$custom: #8337b4;
$custom-light: #ab74cb;
$custom-dark: #000000;
JSON
{
  "hex": "#8337b4",
  "rgb": {
    "r": 131,
    "g": 55,
    "b": 180
  },
  "hsl": {
    "h": 276.48,
    "s": 53.191,
    "l": 46.078
  },
  "oklch": {
    "l": 0.50066,
    "c": 0.19192,
    "h": 308.9
  },
  "luminance": 0.10853
}

Semantic roles & 50–950 ramp

primary
#8337B4
secondary
#9CC681
accent
#DD4B84
background
#FAF7FC
surface
#F5EDF9
border
#CFC8D2
text
#110913
muted
#807B82

Preview Lab

Preview with #8337B4

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

Preview Lab → · Contrast checker → · Palette generator →

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