#8336BB#8336BB

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

Color values

HEX#8336BB
RGBrgb(131, 54, 187)
HSLhsl(275, 55%, 47%)
HSVhsv(275, 71%, 73%)
CMYKcmyk(29.9%, 71.1%, 0%, 26.7%)
CIE-LABlab(39.67, 55.69, -56.34)
CIE-LCHlch(39.67, 79.22, 314.66°)
OKLaboklab(50.46% 0.1206 -0.1599)
OKLCHoklch(50.46% 0.2 307)
XYZxyz(19.6470, 11.0517, 48.1023)
Luminance0.1105 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8336BB #6EBB36
analogous
#4136BB #8336BB #BB36B1
triadic
#8336BB #BB8336 #36BB83
tetradic
#8336BB #BB4136 #6EBB36 #36B1BB
square
#8336BB #BB4136 #6EBB36 #36B1BB
split-complementary
#8336BB #B1BB36 #36BB41
monochromatic
#401B5C #62288C #8336BB #A05ED0 #BC8DDE

Accessibility & contrast

On white

6.54
#8336BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#8336BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8336BB
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8336BB#FFFFFF#000000##FFFFFF
##8336BB1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBF
Deuteranopia (green-blind)
#065EB8
Tritanopia (blue-blind)
#7A5575
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8336bb;
/* rgb */ color: rgb(131, 54, 187);
/* oklch */ color: oklch(50.5% 0.200 307.0);
Tailwind
colors: {
  custom: {
    50: '#ac74d0',
    500: '#8336bb',
    950: '#000000',
  },
}
SCSS
$custom: #8336bb;
$custom-light: #ac74d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8336bb",
  "rgb": {
    "r": 131,
    "g": 54,
    "b": 187
  },
  "hsl": {
    "h": 274.737,
    "s": 55.187,
    "l": 47.255
  },
  "oklch": {
    "l": 0.50461,
    "c": 0.20029,
    "h": 307
  },
  "luminance": 0.11051
}

Semantic roles & 50–950 ramp

primary
#8336BB
secondary
#A1C984
accent
#DF4988
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8336BB

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

Preview Lab → · Contrast checker → · Palette generator →

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