#8336AC#8336AC

#8336AC is a mid, vivid violet. Relative luminance 0.104; OKLCH L 49.4% C 0.185 H 311.4°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#8336AC
RGBrgb(131, 54, 172)
HSLhsl(279, 52%, 44%)
HSVhsv(279, 69%, 67%)
CMYKcmyk(23.8%, 68.6%, 0%, 32.5%)
CIE-LABlab(38.63, 52.34, -49.16)
CIE-LCHlch(38.63, 71.80, 316.79°)
OKLaboklab(49.39% 0.1224 -0.1388)
OKLCHoklch(49.39% 0.185 311.4)
XYZxyz(18.1242, 10.4426, 40.0826)
Luminance0.1044 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8336AC #5FAC36
analogous
#4836AC #8336AC #AC369A
triadic
#8336AC #AC8336 #36AC83
tetradic
#8336AC #AC4836 #5FAC36 #369AAC
square
#8336AC #AC4836 #5FAC36 #369AAC
split-complementary
#8336AC #9AAC36 #36AC48
monochromatic
#3C194F #60277D #8336AC #A155CA #BB84D8

Accessibility & contrast

On white

6.80
#8336AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#8336AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8336AC
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8336AC#FFFFFF#000000##FFFFFF
##8336AC1.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AF
Deuteranopia (green-blind)
#285CA9
Tritanopia (blue-blind)
#7E4F6D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8336ac;
/* rgb */ color: rgb(131, 54, 172);
/* oklch */ color: oklch(49.4% 0.185 311.4);
Tailwind
colors: {
  custom: {
    50: '#ab73c5',
    500: '#8336ac',
    950: '#000000',
  },
}
SCSS
$custom: #8336ac;
$custom-light: #ab73c5;
$custom-dark: #000000;
JSON
{
  "hex": "#8336ac",
  "rgb": {
    "r": 131,
    "g": 54,
    "b": 172
  },
  "hsl": {
    "h": 279.153,
    "s": 52.212,
    "l": 44.314
  },
  "oklch": {
    "l": 0.49387,
    "c": 0.18508,
    "h": 311.4
  },
  "luminance": 0.10442
}

Semantic roles & 50–950 ramp

primary
#8336AC
secondary
#94C27C
accent
#DC4C7E
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #8336AC

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

Preview Lab → · Contrast checker → · Palette generator →

#8336AC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva