#8336C7#8336C7

#8336C7 is a mid, highly saturated violet. Relative luminance 0.116; OKLCH L 51.4% C 0.212 H 303.9°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#8336C7
RGBrgb(131, 54, 199)
HSLhsl(272, 57%, 50%)
HSVhsv(272, 73%, 78%)
CMYKcmyk(34.2%, 72.9%, 0%, 22%)
CIE-LABlab(40.55, 58.44, -61.92)
CIE-LCHlch(40.55, 85.15, 313.34°)
OKLaboklab(51.37% 0.1185 -0.1763)
OKLCHoklch(51.37% 0.212 303.9)
XYZxyz(20.9857, 11.5872, 55.1527)
Luminance0.1159 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8336C7 #7AC736
analogous
#3B36C7 #8336C7 #C736C3
triadic
#8336C7 #C78336 #36C783
tetradic
#8336C7 #C73B36 #7AC736 #36C3C7
square
#8336C7 #C73B36 #7AC736 #36C3C7
split-complementary
#8336C7 #C3C736 #36C73B
monochromatic
#441C67 #632997 #8336C7 #A165D5 #BE95E2

Accessibility & contrast

On white

6.33
#8336C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#8336C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8336C7
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8336C7#FFFFFF#000000##FFFFFF
##8336C71.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECB
Deuteranopia (green-blind)
#005FC4
Tritanopia (blue-blind)
#76597C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8336c7;
/* rgb */ color: rgb(131, 54, 199);
/* oklch */ color: oklch(51.4% 0.212 303.9);
Tailwind
colors: {
  custom: {
    50: '#ad74d9',
    500: '#8336c7',
    950: '#000000',
  },
}
SCSS
$custom: #8336c7;
$custom-light: #ad74d9;
$custom-dark: #000000;
JSON
{
  "hex": "#8336c7",
  "rgb": {
    "r": 131,
    "g": 54,
    "b": 199
  },
  "hsl": {
    "h": 271.862,
    "s": 57.312,
    "l": 49.608
  },
  "oklch": {
    "l": 0.51367,
    "c": 0.21245,
    "h": 303.9
  },
  "luminance": 0.11587
}

Semantic roles & 50–950 ramp

primary
#8336C7
secondary
#AACE8B
accent
#E1478F
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8336C7

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

Preview Lab → · Contrast checker → · Palette generator →

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