#8336AE#8336AE

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

Color values

HEX#8336AE
RGBrgb(131, 54, 174)
HSLhsl(279, 53%, 45%)
HSVhsv(279, 69%, 68%)
CMYKcmyk(24.7%, 69%, 0%, 31.8%)
CIE-LABlab(38.76, 52.78, -50.13)
CIE-LCHlch(38.76, 72.79, 316.47°)
OKLaboklab(49.53% 0.1222 -0.1416)
OKLCHoklch(49.53% 0.187 310.8)
XYZxyz(18.3178, 10.5200, 41.1018)
Luminance0.1052 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8336AE #61AE36
analogous
#4736AE #8336AE #AE369D
triadic
#8336AE #AE8336 #36AE83
tetradic
#8336AE #AE4736 #61AE36 #369DAE
square
#8336AE #AE4736 #61AE36 #369DAE
split-complementary
#8336AE #9DAE36 #36AE47
monochromatic
#3D1951 #60287F #8336AE #A156CB #BB85D9

Accessibility & contrast

On white

6.77
#8336AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##8336AE#FFFFFF#000000##FFFFFF
##8336AE1.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B2
Deuteranopia (green-blind)
#255DAB
Tritanopia (blue-blind)
#7D4F6E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8336ae;
/* rgb */ color: rgb(131, 54, 174);
/* oklch */ color: oklch(49.5% 0.187 310.8);
Tailwind
colors: {
  custom: {
    50: '#ab73c7',
    500: '#8336ae',
    950: '#000000',
  },
}
SCSS
$custom: #8336ae;
$custom-light: #ab73c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8336ae",
  "rgb": {
    "r": 131,
    "g": 54,
    "b": 174
  },
  "hsl": {
    "h": 278.5,
    "s": 52.632,
    "l": 44.706
  },
  "oklch": {
    "l": 0.49526,
    "c": 0.18709,
    "h": 310.8
  },
  "luminance": 0.1052
}

Semantic roles & 50–950 ramp

primary
#8336AE
secondary
#96C37D
accent
#DC4C7F
background
#FAF7FC
surface
#F5EDF8
border
#CFC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #8336AE

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

Preview Lab → · Contrast checker → · Palette generator →

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