#8337B0#8337B0

#8337B0 is a mid, vivid violet. Relative luminance 0.107; OKLCH L 49.8% C 0.188 H 310.1°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#8337B0
RGBrgb(131, 55, 176)
HSLhsl(278, 52%, 45%)
HSVhsv(278, 69%, 69%)
CMYKcmyk(25.6%, 68.8%, 0%, 31%)
CIE-LABlab(39.06, 52.77, -50.84)
CIE-LCHlch(39.06, 73.27, 316.07°)
OKLaboklab(49.78% 0.1209 -0.1437)
OKLCHoklch(49.78% 0.188 310.1)
XYZxyz(18.5612, 10.6926, 42.1520)
Luminance0.1069 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8337B0 #64B037
analogous
#4637B0 #8337B0 #B037A0
triadic
#8337B0 #B08337 #37B083
tetradic
#8337B0 #B04637 #64B037 #37A0B0
square
#8337B0 #B04637 #64B037 #37A0B0
split-complementary
#8337B0 #A0B037 #37B046
monochromatic
#3E1A53 #602881 #8337B0 #A159CB #BB88DA

Accessibility & contrast

On white

6.69
#8337B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#8337B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8337B0
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8337B0#FFFFFF#000000##FFFFFF
##8337B01.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B4
Deuteranopia (green-blind)
#245DAD
Tritanopia (blue-blind)
#7D516F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8337b0;
/* rgb */ color: rgb(131, 55, 176);
/* oklch */ color: oklch(49.8% 0.188 310.1);
Tailwind
colors: {
  custom: {
    50: '#ab74c8',
    500: '#8337b0',
    950: '#000000',
  },
}
SCSS
$custom: #8337b0;
$custom-light: #ab74c8;
$custom-dark: #000000;
JSON
{
  "hex": "#8337b0",
  "rgb": {
    "r": 131,
    "g": 55,
    "b": 176
  },
  "hsl": {
    "h": 277.686,
    "s": 52.381,
    "l": 45.294
  },
  "oklch": {
    "l": 0.49783,
    "c": 0.18784,
    "h": 310.1
  },
  "luminance": 0.10692
}

Semantic roles & 50–950 ramp

primary
#8337B0
secondary
#99C47F
accent
#DC4C81
background
#FAF7FC
surface
#F5EDF8
border
#CFC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #8337B0

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

Preview Lab → · Contrast checker → · Palette generator →

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