#8336AA#8336AA

#8336AA is a mid, vivid violet. Relative luminance 0.104; OKLCH L 49.2% C 0.183 H 312.1°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#8336AA
RGBrgb(131, 54, 170)
HSLhsl(280, 52%, 44%)
HSVhsv(280, 68%, 67%)
CMYKcmyk(22.9%, 68.2%, 0%, 33.3%)
CIE-LABlab(38.49, 51.90, -48.18)
CIE-LCHlch(38.49, 70.81, 317.13°)
OKLaboklab(49.25% 0.1226 -0.1359)
OKLCHoklch(49.25% 0.183 312.1)
XYZxyz(17.9336, 10.3664, 39.0786)
Luminance0.1037 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8336AA #5DAA36
analogous
#4936AA #8336AA #AA3697
triadic
#8336AA #AA8336 #36AA83
tetradic
#8336AA #AA4936 #5DAA36 #3697AA
square
#8336AA #AA4936 #5DAA36 #3697AA
split-complementary
#8336AA #97AA36 #36AA49
monochromatic
#3B184D #5F277C #8336AA #A254C9 #BB83D8

Accessibility & contrast

On white

6.83
#8336AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#8336AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8336AA#FFFFFF#000000##FFFFFF
##8336AA1.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AD
Deuteranopia (green-blind)
#2A5CA7
Tritanopia (blue-blind)
#7E4E6C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8336aa;
/* rgb */ color: rgb(131, 54, 170);
/* oklch */ color: oklch(49.2% 0.183 312.1);
Tailwind
colors: {
  custom: {
    50: '#ab73c4',
    500: '#8336aa',
    950: '#000000',
  },
}
SCSS
$custom: #8336aa;
$custom-light: #ab73c4;
$custom-dark: #000000;
JSON
{
  "hex": "#8336aa",
  "rgb": {
    "r": 131,
    "g": 54,
    "b": 170
  },
  "hsl": {
    "h": 279.828,
    "s": 51.786,
    "l": 43.922
  },
  "oklch": {
    "l": 0.49249,
    "c": 0.18305,
    "h": 312.1
  },
  "luminance": 0.10366
}

Semantic roles & 50–950 ramp

primary
#8336AA
secondary
#92C17B
accent
#DB4D7D
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #8336AA

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

Preview Lab → · Contrast checker → · Palette generator →

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