#8336AF#8336AF

#8336AF is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.6% C 0.188 H 310.5°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#8336AF
RGBrgb(131, 54, 175)
HSLhsl(278, 53%, 45%)
HSVhsv(278, 69%, 69%)
CMYKcmyk(25.1%, 69.1%, 0%, 31.4%)
CIE-LABlab(38.83, 53.00, -50.61)
CIE-LCHlch(38.83, 73.28, 316.32°)
OKLaboklab(49.6% 0.1221 -0.1431)
OKLCHoklch(49.6% 0.188 310.5)
XYZxyz(18.4156, 10.5592, 41.6171)
Luminance0.1056 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8336AF #62AF36
analogous
#4736AF #8336AF #AF369E
triadic
#8336AF #AF8336 #36AF83
tetradic
#8336AF #AF4736 #62AF36 #369EAF
square
#8336AF #AF4736 #62AF36 #369EAF
split-complementary
#8336AF #9EAF36 #36AF47
monochromatic
#3D1951 #602880 #8336AF #A157CB #BB86DA

Accessibility & contrast

On white

6.75
#8336AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#8336AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8336AF#FFFFFF#000000##FFFFFF
##8336AF1.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B3
Deuteranopia (green-blind)
#245DAC
Tritanopia (blue-blind)
#7D506E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8336af;
/* rgb */ color: rgb(131, 54, 175);
/* oklch */ color: oklch(49.6% 0.188 310.5);
Tailwind
colors: {
  custom: {
    50: '#ab73c8',
    500: '#8336af',
    950: '#000000',
  },
}
SCSS
$custom: #8336af;
$custom-light: #ab73c8;
$custom-dark: #000000;
JSON
{
  "hex": "#8336af",
  "rgb": {
    "r": 131,
    "g": 54,
    "b": 175
  },
  "hsl": {
    "h": 278.182,
    "s": 52.838,
    "l": 44.902
  },
  "oklch": {
    "l": 0.49596,
    "c": 0.18811,
    "h": 310.5
  },
  "luminance": 0.10559
}

Semantic roles & 50–950 ramp

primary
#8336AF
secondary
#97C37D
accent
#DC4C80
background
#FAF7FC
surface
#F5EDF8
border
#CFC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #8336AF

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

Preview Lab → · Contrast checker → · Palette generator →

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