#8336CF#8336CF

#8336CF is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 52.0% C 0.221 H 302.0°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#8336CF
RGBrgb(131, 54, 207)
HSLhsl(270, 61%, 51%)
HSVhsv(270, 74%, 81%)
CMYKcmyk(36.7%, 73.9%, 0%, 18.8%)
CIE-LABlab(41.17, 60.31, -65.56)
CIE-LCHlch(41.17, 89.08, 312.61°)
OKLaboklab(51.99% 0.1169 -0.187)
OKLCHoklch(51.99% 0.221 302)
XYZxyz(21.9390, 11.9685, 60.1737)
Luminance0.1197 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8336CF #82CF36
analogous
#3636CF #8336CF #CF36CF
triadic
#8336CF #CF8336 #36CF83
tetradic
#8336CF #CF3636 #82CF36 #36CFCF
square
#8336CF #CF3636 #82CF36 #36CFCF
split-complementary
#8336CF #CFCF36 #36CF36
monochromatic
#461B70 #6427A1 #8336CF #A167DB #C099E7

Accessibility & contrast

On white

6.19
#8336CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#8336CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8336CF
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8336CF#FFFFFF#000000##FFFFFF
##8336CF1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D3
Deuteranopia (green-blind)
#0060CC
Tritanopia (blue-blind)
#735D80
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8336cf;
/* rgb */ color: rgb(131, 54, 207);
/* oklch */ color: oklch(52.0% 0.221 302.0);
Tailwind
colors: {
  custom: {
    50: '#ad74df',
    500: '#8336cf',
    950: '#000000',
  },
}
SCSS
$custom: #8336cf;
$custom-light: #ad74df;
$custom-dark: #000000;
JSON
{
  "hex": "#8336cf",
  "rgb": {
    "r": 131,
    "g": 54,
    "b": 207
  },
  "hsl": {
    "h": 270.196,
    "s": 61.446,
    "l": 51.176
  },
  "oklch": {
    "l": 0.51992,
    "c": 0.22055,
    "h": 302
  },
  "luminance": 0.11969
}

Semantic roles & 50–950 ramp

primary
#8336CF
secondary
#B0D28F
accent
#E54393
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8336CF

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

Preview Lab → · Contrast checker → · Palette generator →

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