#8336BF#8336BF

#8336BF is a mid, highly saturated violet. Relative luminance 0.112; OKLCH L 50.8% C 0.204 H 305.9°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#8336BF
RGBrgb(131, 54, 191)
HSLhsl(274, 56%, 48%)
HSVhsv(274, 72%, 75%)
CMYKcmyk(31.4%, 71.7%, 0%, 25.1%)
CIE-LABlab(39.96, 56.60, -58.22)
CIE-LCHlch(39.96, 81.20, 314.19°)
OKLaboklab(50.76% 0.12 -0.1654)
OKLCHoklch(50.76% 0.204 305.9)
XYZxyz(20.0811, 11.2254, 50.3889)
Luminance0.1123 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8336BF #72BF36
analogous
#3F36BF #8336BF #BF36B6
triadic
#8336BF #BF8336 #36BF83
tetradic
#8336BF #BF3F36 #72BF36 #36B6BF
square
#8336BF #BF3F36 #72BF36 #36B6BF
split-complementary
#8336BF #B6BF36 #36BF3F
monochromatic
#421B60 #62298F #8336BF #A060D2 #BD90E0

Accessibility & contrast

On white

6.47
#8336BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#8336BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8336BF
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8336BF#FFFFFF#000000##FFFFFF
##8336BF1.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC3
Deuteranopia (green-blind)
#005EBC
Tritanopia (blue-blind)
#785677
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8336bf;
/* rgb */ color: rgb(131, 54, 191);
/* oklch */ color: oklch(50.8% 0.204 305.9);
Tailwind
colors: {
  custom: {
    50: '#ac74d3',
    500: '#8336bf',
    950: '#000000',
  },
}
SCSS
$custom: #8336bf;
$custom-light: #ac74d3;
$custom-dark: #000000;
JSON
{
  "hex": "#8336bf",
  "rgb": {
    "r": 131,
    "g": 54,
    "b": 191
  },
  "hsl": {
    "h": 273.723,
    "s": 55.918,
    "l": 48.039
  },
  "oklch": {
    "l": 0.50759,
    "c": 0.20434,
    "h": 305.9
  },
  "luminance": 0.11225
}

Semantic roles & 50–950 ramp

primary
#8336BF
secondary
#A4CA87
accent
#DF498B
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8336BF

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

Preview Lab → · Contrast checker → · Palette generator →

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