#8336C6#8336C6

#8336C6 is a mid, highly saturated violet. Relative luminance 0.115; OKLCH L 51.3% C 0.211 H 304.2°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#8336C6
RGBrgb(131, 54, 198)
HSLhsl(272, 57%, 49%)
HSVhsv(272, 73%, 78%)
CMYKcmyk(33.8%, 72.7%, 0%, 22.4%)
CIE-LABlab(40.48, 58.21, -61.46)
CIE-LCHlch(40.48, 84.65, 313.44°)
OKLaboklab(51.29% 0.1187 -0.175)
OKLCHoklch(51.29% 0.211 304.2)
XYZxyz(20.8699, 11.5409, 54.5433)
Luminance0.1154 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8336C6 #79C636
analogous
#3B36C6 #8336C6 #C636C1
triadic
#8336C6 #C68336 #36C683
tetradic
#8336C6 #C63B36 #79C636 #36C1C6
square
#8336C6 #C63B36 #79C636 #36C1C6
split-complementary
#8336C6 #C1C636 #36C63B
monochromatic
#431C66 #632996 #8336C6 #A164D5 #BE94E2

Accessibility & contrast

On white

6.35
#8336C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#8336C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8336C6#FFFFFF#000000##FFFFFF
##8336C61.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECA
Deuteranopia (green-blind)
#005FC3
Tritanopia (blue-blind)
#76597B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8336c6;
/* rgb */ color: rgb(131, 54, 198);
/* oklch */ color: oklch(51.3% 0.211 304.2);
Tailwind
colors: {
  custom: {
    50: '#ad74d8',
    500: '#8336c6',
    950: '#000000',
  },
}
SCSS
$custom: #8336c6;
$custom-light: #ad74d8;
$custom-dark: #000000;
JSON
{
  "hex": "#8336c6",
  "rgb": {
    "r": 131,
    "g": 54,
    "b": 198
  },
  "hsl": {
    "h": 272.083,
    "s": 57.143,
    "l": 49.412
  },
  "oklch": {
    "l": 0.5129,
    "c": 0.21144,
    "h": 304.2
  },
  "luminance": 0.11541
}

Semantic roles & 50–950 ramp

primary
#8336C6
secondary
#AACD8B
accent
#E0478F
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110915
muted
#807B83

Preview Lab

Preview with #8336C6

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

Preview Lab → · Contrast checker → · Palette generator →

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