#8337B5#8337B5

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

Color values

HEX#8337B5
RGBrgb(131, 55, 181)
HSLhsl(276, 53%, 46%)
HSVhsv(276, 70%, 71%)
CMYKcmyk(27.6%, 69.6%, 0%, 29%)
CIE-LABlab(39.40, 53.89, -53.24)
CIE-LCHlch(39.40, 75.75, 315.35°)
OKLaboklab(50.14% 0.1204 -0.1508)
OKLCHoklch(50.14% 0.193 308.6)
XYZxyz(19.0651, 10.8942, 44.8055)
Luminance0.1089 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8337B5 #69B537
analogous
#4437B5 #8337B5 #B537A8
triadic
#8337B5 #B58337 #37B583
tetradic
#8337B5 #B54437 #69B537 #37A8B5
square
#8337B5 #B54437 #69B537 #37A8B5
split-complementary
#8337B5 #A8B537 #37B544
monochromatic
#3F1A57 #612986 #8337B5 #A05CCD #BC8BDC

Accessibility & contrast

On white

6.61
#8337B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#8337B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8337B5
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8337B5#FFFFFF#000000##FFFFFF
##8337B51.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB9
Deuteranopia (green-blind)
#1B5EB2
Tritanopia (blue-blind)
#7B5372
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8337b5;
/* rgb */ color: rgb(131, 55, 181);
/* oklch */ color: oklch(50.1% 0.193 308.6);
Tailwind
colors: {
  custom: {
    50: '#ab74cc',
    500: '#8337b5',
    950: '#000000',
  },
}
SCSS
$custom: #8337b5;
$custom-light: #ab74cc;
$custom-dark: #000000;
JSON
{
  "hex": "#8337b5",
  "rgb": {
    "r": 131,
    "g": 55,
    "b": 181
  },
  "hsl": {
    "h": 276.19,
    "s": 53.39,
    "l": 46.275
  },
  "oklch": {
    "l": 0.50137,
    "c": 0.19295,
    "h": 308.6
  },
  "luminance": 0.10894
}

Semantic roles & 50–950 ramp

primary
#8337B5
secondary
#9DC682
accent
#DD4B85
background
#FAF7FC
surface
#F5EDF9
border
#CFC8D2
text
#110913
muted
#807B82

Preview Lab

Preview with #8337B5

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

Preview Lab → · Contrast checker → · Palette generator →

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