#8336BE#8336BE

#8336BE is a mid, highly saturated violet. Relative luminance 0.112; OKLCH L 50.7% C 0.203 H 306.2°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#8336BE
RGBrgb(131, 54, 190)
HSLhsl(274, 56%, 48%)
HSVhsv(274, 72%, 75%)
CMYKcmyk(31.1%, 71.6%, 0%, 25.5%)
CIE-LABlab(39.88, 56.37, -57.75)
CIE-LCHlch(39.88, 80.70, 314.31°)
OKLaboklab(50.68% 0.1201 -0.164)
OKLCHoklch(50.68% 0.203 306.2)
XYZxyz(19.9715, 11.1815, 49.8113)
Luminance0.1118 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8336BE #71BE36
analogous
#3F36BE #8336BE #BE36B5
triadic
#8336BE #BE8336 #36BE83
tetradic
#8336BE #BE3F36 #71BE36 #36B5BE
square
#8336BE #BE3F36 #71BE36 #36B5BE
split-complementary
#8336BE #B5BE36 #36BE3F
monochromatic
#411B5F #62288E #8336BE #A060D2 #BC8FDF

Accessibility & contrast

On white

6.49
#8336BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#8336BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8336BE
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8336BE#FFFFFF#000000##FFFFFF
##8336BE1.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC2
Deuteranopia (green-blind)
#005EBB
Tritanopia (blue-blind)
#795677
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8336be;
/* rgb */ color: rgb(131, 54, 190);
/* oklch */ color: oklch(50.7% 0.203 306.2);
Tailwind
colors: {
  custom: {
    50: '#ac74d2',
    500: '#8336be',
    950: '#000000',
  },
}
SCSS
$custom: #8336be;
$custom-light: #ac74d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8336be",
  "rgb": {
    "r": 131,
    "g": 54,
    "b": 190
  },
  "hsl": {
    "h": 273.971,
    "s": 55.738,
    "l": 47.843
  },
  "oklch": {
    "l": 0.50684,
    "c": 0.20333,
    "h": 306.2
  },
  "luminance": 0.11181
}

Semantic roles & 50–950 ramp

primary
#8336BE
secondary
#A3CA86
accent
#DF498A
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8336BE

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

Preview Lab → · Contrast checker → · Palette generator →

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