#8336BC#8336BC

#8336BC is a mid, highly saturated violet. Relative luminance 0.111; OKLCH L 50.5% C 0.201 H 306.7°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#8336BC
RGBrgb(131, 54, 188)
HSLhsl(274, 55%, 47%)
HSVhsv(274, 71%, 74%)
CMYKcmyk(30.3%, 71.3%, 0%, 26.3%)
CIE-LABlab(39.74, 55.92, -56.82)
CIE-LCHlch(39.74, 79.72, 314.54°)
OKLaboklab(50.54% 0.1204 -0.1613)
OKLCHoklch(50.54% 0.201 306.7)
XYZxyz(19.7544, 11.0947, 48.6680)
Luminance0.1109 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8336BC #6FBC36
analogous
#4036BC #8336BC #BC36B2
triadic
#8336BC #BC8336 #36BC83
tetradic
#8336BC #BC4036 #6FBC36 #36B2BC
square
#8336BC #BC4036 #6FBC36 #36B2BC
split-complementary
#8336BC #B2BC36 #36BC40
monochromatic
#411B5D #62288C #8336BC #A05ED1 #BC8EDF

Accessibility & contrast

On white

6.52
#8336BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#8336BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8336BC
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8336BC#FFFFFF#000000##FFFFFF
##8336BC1.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC0
Deuteranopia (green-blind)
#025EB9
Tritanopia (blue-blind)
#795575
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8336bc;
/* rgb */ color: rgb(131, 54, 188);
/* oklch */ color: oklch(50.5% 0.201 306.7);
Tailwind
colors: {
  custom: {
    50: '#ac74d1',
    500: '#8336bc',
    950: '#000000',
  },
}
SCSS
$custom: #8336bc;
$custom-light: #ac74d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8336bc",
  "rgb": {
    "r": 131,
    "g": 54,
    "b": 188
  },
  "hsl": {
    "h": 274.478,
    "s": 55.372,
    "l": 47.451
  },
  "oklch": {
    "l": 0.50535,
    "c": 0.2013,
    "h": 306.7
  },
  "luminance": 0.11094
}

Semantic roles & 50–950 ramp

primary
#8336BC
secondary
#A2C985
accent
#DF4989
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8336BC

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

Preview Lab → · Contrast checker → · Palette generator →

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