#8336AD#8336AD

#8336AD is a mid, vivid violet. Relative luminance 0.105; OKLCH L 49.5% C 0.186 H 311.1°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#8336AD
RGBrgb(131, 54, 173)
HSLhsl(279, 52%, 45%)
HSVhsv(279, 69%, 68%)
CMYKcmyk(24.3%, 68.8%, 0%, 32.2%)
CIE-LABlab(38.69, 52.56, -49.64)
CIE-LCHlch(38.69, 72.30, 316.63°)
OKLaboklab(49.46% 0.1223 -0.1402)
OKLCHoklch(49.46% 0.186 311.1)
XYZxyz(18.2206, 10.4812, 40.5903)
Luminance0.1048 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8336AD #60AD36
analogous
#4836AD #8336AD #AD369B
triadic
#8336AD #AD8336 #36AD83
tetradic
#8336AD #AD4836 #60AD36 #369BAD
square
#8336AD #AD4836 #60AD36 #369BAD
split-complementary
#8336AD #9BAD36 #36AD48
monochromatic
#3C1950 #60277E #8336AD #A156CA #BB85D9

Accessibility & contrast

On white

6.78
#8336AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#8336AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8336AD#FFFFFF#000000##FFFFFF
##8336AD1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B1
Deuteranopia (green-blind)
#275CAA
Tritanopia (blue-blind)
#7E4F6D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8336ad;
/* rgb */ color: rgb(131, 54, 173);
/* oklch */ color: oklch(49.5% 0.186 311.1);
Tailwind
colors: {
  custom: {
    50: '#ab73c6',
    500: '#8336ad',
    950: '#000000',
  },
}
SCSS
$custom: #8336ad;
$custom-light: #ab73c6;
$custom-dark: #000000;
JSON
{
  "hex": "#8336ad",
  "rgb": {
    "r": 131,
    "g": 54,
    "b": 173
  },
  "hsl": {
    "h": 278.824,
    "s": 52.423,
    "l": 44.51
  },
  "oklch": {
    "l": 0.49457,
    "c": 0.18609,
    "h": 311.1
  },
  "luminance": 0.10481
}

Semantic roles & 50–950 ramp

primary
#8336AD
secondary
#95C27C
accent
#DC4C7F
background
#FAF7FC
surface
#F5EDF8
border
#CFC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #8336AD

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

Preview Lab → · Contrast checker → · Palette generator →

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