#8336C3#8336C3

#8336C3 is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 51.1% C 0.208 H 304.9°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#8336C3
RGBrgb(131, 54, 195)
HSLhsl(273, 57%, 49%)
HSVhsv(273, 72%, 76%)
CMYKcmyk(32.8%, 72.3%, 0%, 23.5%)
CIE-LABlab(40.25, 57.52, -60.08)
CIE-LCHlch(40.25, 83.17, 313.75°)
OKLaboklab(51.06% 0.1193 -0.1709)
OKLCHoklch(51.06% 0.208 304.9)
XYZxyz(20.5273, 11.4039, 52.7389)
Luminance0.1140 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8336C3 #76C336
analogous
#3D36C3 #8336C3 #C336BD
triadic
#8336C3 #C38336 #36C383
tetradic
#8336C3 #C33D36 #76C336 #36BDC3
square
#8336C3 #C33D36 #76C336 #36BDC3
split-complementary
#8336C3 #BDC336 #36C33D
monochromatic
#431B63 #632993 #8336C3 #A063D4 #BD92E1

Accessibility & contrast

On white

6.40
#8336C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#8336C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8336C3#FFFFFF#000000##FFFFFF
##8336C31.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC7
Deuteranopia (green-blind)
#005FC0
Tritanopia (blue-blind)
#775879
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8336c3;
/* rgb */ color: rgb(131, 54, 195);
/* oklch */ color: oklch(51.1% 0.208 304.9);
Tailwind
colors: {
  custom: {
    50: '#ac74d6',
    500: '#8336c3',
    950: '#000000',
  },
}
SCSS
$custom: #8336c3;
$custom-light: #ac74d6;
$custom-dark: #000000;
JSON
{
  "hex": "#8336c3",
  "rgb": {
    "r": 131,
    "g": 54,
    "b": 195
  },
  "hsl": {
    "h": 272.766,
    "s": 56.627,
    "l": 48.824
  },
  "oklch": {
    "l": 0.5106,
    "c": 0.2084,
    "h": 304.9
  },
  "luminance": 0.11404
}

Semantic roles & 50–950 ramp

primary
#8336C3
secondary
#A7CC89
accent
#E0488D
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8336C3

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

Preview Lab → · Contrast checker → · Palette generator →

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