#8336BD#8336BD

#8336BD is a mid, highly saturated violet. Relative luminance 0.111; OKLCH L 50.6% C 0.202 H 306.5°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#8336BD
RGBrgb(131, 54, 189)
HSLhsl(274, 56%, 48%)
HSVhsv(274, 71%, 74%)
CMYKcmyk(30.7%, 71.4%, 0%, 25.9%)
CIE-LABlab(39.81, 56.14, -57.28)
CIE-LCHlch(39.81, 80.21, 314.42°)
OKLaboklab(50.61% 0.1203 -0.1627)
OKLCHoklch(50.61% 0.202 306.5)
XYZxyz(19.8626, 11.1380, 49.2377)
Luminance0.1114 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8336BD #70BD36
analogous
#3F36BD #8336BD #BD36B4
triadic
#8336BD #BD8336 #36BD83
tetradic
#8336BD #BD3F36 #70BD36 #36B4BD
square
#8336BD #BD3F36 #70BD36 #36B4BD
split-complementary
#8336BD #B4BD36 #36BD3F
monochromatic
#411B5E #62288D #8336BD #A05FD1 #BC8FDF

Accessibility & contrast

On white

6.51
#8336BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#8336BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8336BD
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8336BD#FFFFFF#000000##FFFFFF
##8336BD1.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC1
Deuteranopia (green-blind)
#005EBA
Tritanopia (blue-blind)
#795576
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8336bd;
/* rgb */ color: rgb(131, 54, 189);
/* oklch */ color: oklch(50.6% 0.202 306.5);
Tailwind
colors: {
  custom: {
    50: '#ac74d2',
    500: '#8336bd',
    950: '#000000',
  },
}
SCSS
$custom: #8336bd;
$custom-light: #ac74d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8336bd",
  "rgb": {
    "r": 131,
    "g": 54,
    "b": 189
  },
  "hsl": {
    "h": 274.222,
    "s": 55.556,
    "l": 47.647
  },
  "oklch": {
    "l": 0.50609,
    "c": 0.20231,
    "h": 306.5
  },
  "luminance": 0.11138
}

Semantic roles & 50–950 ramp

primary
#8336BD
secondary
#A3C985
accent
#DF4989
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8336BD

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

Preview Lab → · Contrast checker → · Palette generator →

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