#8336B3#8336B3

#8336B3 is a mid, vivid violet. Relative luminance 0.107; OKLCH L 49.9% C 0.192 H 309.3°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#8336B3
RGBrgb(131, 54, 179)
HSLhsl(277, 54%, 46%)
HSVhsv(277, 70%, 70%)
CMYKcmyk(26.8%, 69.8%, 0%, 29.8%)
CIE-LABlab(39.10, 53.89, -52.54)
CIE-LCHlch(39.10, 75.26, 315.72°)
OKLaboklab(49.88% 0.1217 -0.1487)
OKLCHoklch(49.88% 0.192 309.3)
XYZxyz(18.8143, 10.7187, 43.7169)
Luminance0.1072 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8336B3 #66B336
analogous
#4436B3 #8336B3 #B336A4
triadic
#8336B3 #B38336 #36B383
tetradic
#8336B3 #B34436 #66B336 #36A4B3
square
#8336B3 #B34436 #66B336 #36A4B3
split-complementary
#8336B3 #A4B336 #36B344
monochromatic
#3E1A55 #612884 #8336B3 #A159CD #BB88DB

Accessibility & contrast

On white

6.68
#8336B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#8336B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8336B3
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8336B3#FFFFFF#000000##FFFFFF
##8336B31.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B7
Deuteranopia (green-blind)
#1D5DB0
Tritanopia (blue-blind)
#7C5170
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8336b3;
/* rgb */ color: rgb(131, 54, 179);
/* oklch */ color: oklch(49.9% 0.192 309.3);
Tailwind
colors: {
  custom: {
    50: '#ab73ca',
    500: '#8336b3',
    950: '#000000',
  },
}
SCSS
$custom: #8336b3;
$custom-light: #ab73ca;
$custom-dark: #000000;
JSON
{
  "hex": "#8336b3",
  "rgb": {
    "r": 131,
    "g": 54,
    "b": 179
  },
  "hsl": {
    "h": 276.96,
    "s": 53.648,
    "l": 45.686
  },
  "oklch": {
    "l": 0.4988,
    "c": 0.19217,
    "h": 309.3
  },
  "luminance": 0.10718
}

Semantic roles & 50–950 ramp

primary
#8336B3
secondary
#9AC580
accent
#DD4B83
background
#FAF7FC
surface
#F5EDF8
border
#CFC8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8336B3

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

Preview Lab → · Contrast checker → · Palette generator →

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