#8337C9#8337C9

#8337C9 is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.6% C 0.213 H 303.3°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#8337C9
RGBrgb(131, 55, 201)
HSLhsl(271, 57%, 50%)
HSVhsv(271, 73%, 79%)
CMYKcmyk(34.8%, 72.6%, 0%, 21.2%)
CIE-LABlab(40.86, 58.48, -62.59)
CIE-LCHlch(40.86, 85.66, 313.05°)
OKLaboklab(51.63% 0.1172 -0.1783)
OKLCHoklch(51.63% 0.213 303.3)
XYZxyz(21.2664, 11.7747, 56.3994)
Luminance0.1177 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8337C9 #7DC937
analogous
#3A37C9 #8337C9 #C937C6
triadic
#8337C9 #C98337 #37C983
tetradic
#8337C9 #C93A37 #7DC937 #37C6C9
square
#8337C9 #C93A37 #7DC937 #37C6C9
split-complementary
#8337C9 #C6C937 #37C93A
monochromatic
#441C69 #642999 #8337C9 #A167D6 #BF97E3

Accessibility & contrast

On white

6.26
#8337C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#8337C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8337C9
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8337C9#FFFFFF#000000##FFFFFF
##8337C91.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCD
Deuteranopia (green-blind)
#0060C6
Tritanopia (blue-blind)
#755B7D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8337c9;
/* rgb */ color: rgb(131, 55, 201);
/* oklch */ color: oklch(51.6% 0.213 303.3);
Tailwind
colors: {
  custom: {
    50: '#ad75da',
    500: '#8337c9',
    950: '#000000',
  },
}
SCSS
$custom: #8337c9;
$custom-light: #ad75da;
$custom-dark: #000000;
JSON
{
  "hex": "#8337c9",
  "rgb": {
    "r": 131,
    "g": 55,
    "b": 201
  },
  "hsl": {
    "h": 271.233,
    "s": 57.48,
    "l": 50.196
  },
  "oklch": {
    "l": 0.51629,
    "c": 0.21336,
    "h": 303.3
  },
  "luminance": 0.11775
}

Semantic roles & 50–950 ramp

primary
#8337C9
secondary
#ADCF8D
accent
#E14791
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8337C9

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

Preview Lab → · Contrast checker → · Palette generator →

#8337C9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva