#8336D7#8336D7

#8336D7 is a mid, highly saturated violet. Relative luminance 0.124; OKLCH L 52.6% C 0.229 H 300.2°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#8336D7
RGBrgb(131, 54, 215)
HSLhsl(269, 67%, 53%)
HSVhsv(269, 75%, 84%)
CMYKcmyk(39.1%, 74.9%, 0%, 15.7%)
CIE-LABlab(41.80, 62.19, -69.14)
CIE-LCHlch(41.80, 92.99, 311.97°)
OKLaboklab(52.63% 0.1151 -0.1975)
OKLCHoklch(52.63% 0.229 300.2)
XYZxyz(22.9419, 12.3697, 65.4557)
Luminance0.1237 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8336D7 #8AD736
analogous
#3639D7 #8336D7 #D436D7
triadic
#8336D7 #D78336 #36D783
tetradic
#8336D7 #D73639 #8AD736 #36D7D4
square
#8336D7 #D73639 #8AD736 #36D7D4
split-complementary
#8336D7 #D7D436 #39D736
monochromatic
#47187A #6522AD #8336D7 #A269E1 #C29CEB

Accessibility & contrast

On white

6.04
#8336D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#8336D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8336D7
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8336D7#FFFFFF#000000##FFFFFF
##8336D71.006.043.476.04
#FFFFFF6.041.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062DC
Deuteranopia (green-blind)
#0061D4
Tritanopia (blue-blind)
#706085
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8336d7;
/* rgb */ color: rgb(131, 54, 215);
/* oklch */ color: oklch(52.6% 0.229 300.2);
Tailwind
colors: {
  custom: {
    50: '#ae75e4',
    500: '#8336d7',
    950: '#000000',
  },
}
SCSS
$custom: #8336d7;
$custom-light: #ae75e4;
$custom-dark: #000000;
JSON
{
  "hex": "#8336d7",
  "rgb": {
    "r": 131,
    "g": 54,
    "b": 215
  },
  "hsl": {
    "h": 268.696,
    "s": 66.805,
    "l": 52.745
  },
  "oklch": {
    "l": 0.52633,
    "c": 0.22861,
    "h": 300.2
  },
  "luminance": 0.1237
}

Semantic roles & 50–950 ramp

primary
#8336D7
secondary
#B6D792
accent
#EA3E98
background
#FBF7FE
surface
#F6EDFC
border
#D0C8D5
text
#110916
muted
#807B84

Preview Lab

Preview with #8336D7

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

Preview Lab → · Contrast checker → · Palette generator →

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