#8336C8#8336C8

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

Color values

HEX#8336C8
RGBrgb(131, 54, 200)
HSLhsl(272, 57%, 50%)
HSVhsv(272, 73%, 78%)
CMYKcmyk(34.5%, 73%, 0%, 21.6%)
CIE-LABlab(40.63, 58.67, -62.38)
CIE-LCHlch(40.63, 85.64, 313.25°)
OKLaboklab(51.44% 0.1183 -0.1776)
OKLCHoklch(51.44% 0.213 303.7)
XYZxyz(21.1021, 11.6338, 55.7662)
Luminance0.1163 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8336C8 #7BC836
analogous
#3A36C8 #8336C8 #C836C4
triadic
#8336C8 #C88336 #36C883
tetradic
#8336C8 #C83A36 #7BC836 #36C4C8
square
#8336C8 #C83A36 #7BC836 #36C4C8
split-complementary
#8336C8 #C4C836 #36C83A
monochromatic
#441C68 #632998 #8336C8 #A166D6 #BE96E3

Accessibility & contrast

On white

6.31
#8336C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#8336C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8336C8
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8336C8#FFFFFF#000000##FFFFFF
##8336C81.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECC
Deuteranopia (green-blind)
#0060C5
Tritanopia (blue-blind)
#755A7C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8336c8;
/* rgb */ color: rgb(131, 54, 200);
/* oklch */ color: oklch(51.4% 0.213 303.7);
Tailwind
colors: {
  custom: {
    50: '#ad74da',
    500: '#8336c8',
    950: '#000000',
  },
}
SCSS
$custom: #8336c8;
$custom-light: #ad74da;
$custom-dark: #000000;
JSON
{
  "hex": "#8336c8",
  "rgb": {
    "r": 131,
    "g": 54,
    "b": 200
  },
  "hsl": {
    "h": 271.644,
    "s": 57.48,
    "l": 49.804
  },
  "oklch": {
    "l": 0.51444,
    "c": 0.21346,
    "h": 303.7
  },
  "luminance": 0.11634
}

Semantic roles & 50–950 ramp

primary
#8336C8
secondary
#ABCE8C
accent
#E14790
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8336C8

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

Preview Lab → · Contrast checker → · Palette generator →

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