#8336C5#8336C5

#8336C5 is a mid, highly saturated violet. Relative luminance 0.115; OKLCH L 51.2% C 0.210 H 304.4°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#8336C5
RGBrgb(131, 54, 197)
HSLhsl(272, 57%, 49%)
HSVhsv(272, 73%, 77%)
CMYKcmyk(33.5%, 72.6%, 0%, 22.7%)
CIE-LABlab(40.40, 57.98, -61.00)
CIE-LCHlch(40.40, 84.16, 313.54°)
OKLaboklab(51.21% 0.1189 -0.1736)
OKLCHoklch(51.21% 0.21 304.4)
XYZxyz(20.7550, 11.4949, 53.9378)
Luminance0.1149 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8336C5 #78C536
analogous
#3C36C5 #8336C5 #C536C0
triadic
#8336C5 #C58336 #36C583
tetradic
#8336C5 #C53C36 #78C536 #36C0C5
square
#8336C5 #C53C36 #78C536 #36C0C5
split-complementary
#8336C5 #C0C536 #36C53C
monochromatic
#431C65 #632995 #8336C5 #A064D4 #BE94E2

Accessibility & contrast

On white

6.37
#8336C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#8336C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8336C5
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8336C5#FFFFFF#000000##FFFFFF
##8336C51.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC9
Deuteranopia (green-blind)
#005FC2
Tritanopia (blue-blind)
#76597A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8336c5;
/* rgb */ color: rgb(131, 54, 197);
/* oklch */ color: oklch(51.2% 0.210 304.4);
Tailwind
colors: {
  custom: {
    50: '#ad74d7',
    500: '#8336c5',
    950: '#000000',
  },
}
SCSS
$custom: #8336c5;
$custom-light: #ad74d7;
$custom-dark: #000000;
JSON
{
  "hex": "#8336c5",
  "rgb": {
    "r": 131,
    "g": 54,
    "b": 197
  },
  "hsl": {
    "h": 272.308,
    "s": 56.972,
    "l": 49.216
  },
  "oklch": {
    "l": 0.51213,
    "c": 0.21042,
    "h": 304.4
  },
  "luminance": 0.11495
}

Semantic roles & 50–950 ramp

primary
#8336C5
secondary
#A9CD8A
accent
#E0488E
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110915
muted
#807B83

Preview Lab

Preview with #8336C5

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

Preview Lab → · Contrast checker → · Palette generator →

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