#8336B8#8336B8

#8336B8 is a mid, vivid violet. Relative luminance 0.109; OKLCH L 50.2% C 0.197 H 307.9°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#8336B8
RGBrgb(131, 54, 184)
HSLhsl(276, 55%, 47%)
HSVhsv(276, 71%, 72%)
CMYKcmyk(28.8%, 70.7%, 0%, 27.8%)
CIE-LABlab(39.45, 55.01, -54.93)
CIE-LCHlch(39.45, 77.74, 315.04°)
OKLaboklab(50.24% 0.121 -0.1557)
OKLCHoklch(50.24% 0.197 307.9)
XYZxyz(19.3292, 10.9246, 46.4285)
Luminance0.1092 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8336B8 #6BB836
analogous
#4236B8 #8336B8 #B836AC
triadic
#8336B8 #B88336 #36B883
tetradic
#8336B8 #B84236 #6BB836 #36ACB8
square
#8336B8 #B84236 #6BB836 #36ACB8
split-complementary
#8336B8 #ACB836 #36B842
monochromatic
#401A59 #612889 #8336B8 #A05CCF #BC8BDD

Accessibility & contrast

On white

6.59
#8336B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#8336B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8336B8
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8336B8#FFFFFF#000000##FFFFFF
##8336B81.006.593.186.59
#FFFFFF6.591.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABC
Deuteranopia (green-blind)
#125EB5
Tritanopia (blue-blind)
#7B5373
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8336b8;
/* rgb */ color: rgb(131, 54, 184);
/* oklch */ color: oklch(50.2% 0.197 307.9);
Tailwind
colors: {
  custom: {
    50: '#ac74ce',
    500: '#8336b8',
    950: '#000000',
  },
}
SCSS
$custom: #8336b8;
$custom-light: #ac74ce;
$custom-dark: #000000;
JSON
{
  "hex": "#8336b8",
  "rgb": {
    "r": 131,
    "g": 54,
    "b": 184
  },
  "hsl": {
    "h": 275.538,
    "s": 54.622,
    "l": 46.667
  },
  "oklch": {
    "l": 0.50241,
    "c": 0.19724,
    "h": 307.9
  },
  "luminance": 0.10924
}

Semantic roles & 50–950 ramp

primary
#8336B8
secondary
#9FC782
accent
#DE4A86
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8336B8

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

Preview Lab → · Contrast checker → · Palette generator →

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