#8337AE#8337AE

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

Color values

HEX#8337AE
RGBrgb(131, 55, 174)
HSLhsl(278, 52%, 45%)
HSVhsv(278, 68%, 68%)
CMYKcmyk(24.7%, 68.4%, 0%, 31.8%)
CIE-LABlab(38.92, 52.32, -49.87)
CIE-LCHlch(38.92, 72.28, 316.38°)
OKLaboklab(49.64% 0.1211 -0.1409)
OKLCHoklch(49.64% 0.186 310.7)
XYZxyz(18.3648, 10.6141, 41.1175)
Luminance0.1061 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8337AE #62AE37
analogous
#4737AE #8337AE #AE379E
triadic
#8337AE #AE8337 #37AE83
tetradic
#8337AE #AE4737 #62AE37 #379EAE
square
#8337AE #AE4737 #62AE37 #379EAE
split-complementary
#8337AE #9EAE37 #37AE47
monochromatic
#3D1A51 #60287F #8337AE #A158CA #BB86D9

Accessibility & contrast

On white

6.72
#8337AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8337AE
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8337AE#FFFFFF#000000##FFFFFF
##8337AE1.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B2
Deuteranopia (green-blind)
#265DAB
Tritanopia (blue-blind)
#7D506E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8337ae;
/* rgb */ color: rgb(131, 55, 174);
/* oklch */ color: oklch(49.6% 0.186 310.7);
Tailwind
colors: {
  custom: {
    50: '#ab74c7',
    500: '#8337ae',
    950: '#000000',
  },
}
SCSS
$custom: #8337ae;
$custom-light: #ab74c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8337ae",
  "rgb": {
    "r": 131,
    "g": 55,
    "b": 174
  },
  "hsl": {
    "h": 278.319,
    "s": 51.965,
    "l": 44.902
  },
  "oklch": {
    "l": 0.49643,
    "c": 0.1858,
    "h": 310.7
  },
  "luminance": 0.10614
}

Semantic roles & 50–950 ramp

primary
#8337AE
secondary
#97C37E
accent
#DB4C80
background
#FAF7FC
surface
#F5EDF8
border
#CFC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #8337AE

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

Preview Lab → · Contrast checker → · Palette generator →

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