#8336C0#8336C0

#8336C0 is a mid, highly saturated violet. Relative luminance 0.113; OKLCH L 50.8% C 0.205 H 305.7°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#8336C0
RGBrgb(131, 54, 192)
HSLhsl(273, 56%, 48%)
HSVhsv(273, 72%, 75%)
CMYKcmyk(31.8%, 71.9%, 0%, 24.7%)
CIE-LABlab(40.03, 56.83, -58.69)
CIE-LCHlch(40.03, 81.69, 314.08°)
OKLaboklab(50.83% 0.1198 -0.1668)
OKLCHoklch(50.83% 0.205 305.7)
XYZxyz(20.1916, 11.2696, 50.9705)
Luminance0.1127 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8336C0 #73C036
analogous
#3E36C0 #8336C0 #C036B8
triadic
#8336C0 #C08336 #36C083
tetradic
#8336C0 #C03E36 #73C036 #36B8C0
square
#8336C0 #C03E36 #73C036 #36B8C0
split-complementary
#8336C0 #B8C036 #36C03E
monochromatic
#421B60 #622990 #8336C0 #A061D2 #BD90E0

Accessibility & contrast

On white

6.45
#8336C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#8336C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8336C0
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8336C0#FFFFFF#000000##FFFFFF
##8336C01.006.453.256.45
#FFFFFF6.451.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC4
Deuteranopia (green-blind)
#005FBD
Tritanopia (blue-blind)
#785778
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8336c0;
/* rgb */ color: rgb(131, 54, 192);
/* oklch */ color: oklch(50.8% 0.205 305.7);
Tailwind
colors: {
  custom: {
    50: '#ac74d4',
    500: '#8336c0',
    950: '#000000',
  },
}
SCSS
$custom: #8336c0;
$custom-light: #ac74d4;
$custom-dark: #000000;
JSON
{
  "hex": "#8336c0",
  "rgb": {
    "r": 131,
    "g": 54,
    "b": 192
  },
  "hsl": {
    "h": 273.478,
    "s": 56.098,
    "l": 48.235
  },
  "oklch": {
    "l": 0.50834,
    "c": 0.20536,
    "h": 305.7
  },
  "luminance": 0.11269
}

Semantic roles & 50–950 ramp

primary
#8336C0
secondary
#A5CB87
accent
#DF488B
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8336C0

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

Preview Lab → · Contrast checker → · Palette generator →

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