#8337AD#8337AD

#8337AD is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.6% C 0.185 H 311.0°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#8337AD
RGBrgb(131, 55, 173)
HSLhsl(279, 52%, 45%)
HSVhsv(279, 68%, 68%)
CMYKcmyk(24.3%, 68.2%, 0%, 32.2%)
CIE-LABlab(38.86, 52.10, -49.38)
CIE-LCHlch(38.86, 71.78, 316.54°)
OKLaboklab(49.57% 0.1212 -0.1394)
OKLCHoklch(49.57% 0.185 311)
XYZxyz(18.2677, 10.5752, 40.6060)
Luminance0.1057 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8337AD #61AD37
analogous
#4837AD #8337AD #AD379C
triadic
#8337AD #AD8337 #37AD83
tetradic
#8337AD #AD4837 #61AD37 #379CAD
square
#8337AD #AD4837 #61AD37 #379CAD
split-complementary
#8337AD #9CAD37 #37AD48
monochromatic
#3D1950 #60287F #8337AD #A157CA #BB86D8

Accessibility & contrast

On white

6.74
#8337AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#8337AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8337AD
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8337AD#FFFFFF#000000##FFFFFF
##8337AD1.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B0
Deuteranopia (green-blind)
#285DAA
Tritanopia (blue-blind)
#7E506E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8337ad;
/* rgb */ color: rgb(131, 55, 173);
/* oklch */ color: oklch(49.6% 0.185 311.0);
Tailwind
colors: {
  custom: {
    50: '#ab74c6',
    500: '#8337ad',
    950: '#000000',
  },
}
SCSS
$custom: #8337ad;
$custom-light: #ab74c6;
$custom-dark: #000000;
JSON
{
  "hex": "#8337ad",
  "rgb": {
    "r": 131,
    "g": 55,
    "b": 173
  },
  "hsl": {
    "h": 278.644,
    "s": 51.754,
    "l": 44.706
  },
  "oklch": {
    "l": 0.49573,
    "c": 0.18478,
    "h": 311
  },
  "luminance": 0.10575
}

Semantic roles & 50–950 ramp

primary
#8337AD
secondary
#96C27D
accent
#DB4D7F
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #8337AD

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

Preview Lab → · Contrast checker → · Palette generator →

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