#8337C6#8337C6

#8337C6 is a mid, highly saturated violet. Relative luminance 0.116; OKLCH L 51.4% C 0.210 H 304.1°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#8337C6
RGBrgb(131, 55, 198)
HSLhsl(272, 57%, 50%)
HSVhsv(272, 72%, 78%)
CMYKcmyk(33.8%, 72.2%, 0%, 22.4%)
CIE-LABlab(40.63, 57.78, -61.22)
CIE-LCHlch(40.63, 84.18, 313.35°)
OKLaboklab(51.4% 0.1178 -0.1742)
OKLCHoklch(51.4% 0.21 304.1)
XYZxyz(20.9170, 11.6349, 54.5589)
Luminance0.1163 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8337C6 #7AC637
analogous
#3B37C6 #8337C6 #C637C2
triadic
#8337C6 #C68337 #37C683
tetradic
#8337C6 #C63B37 #7AC637 #37C2C6
square
#8337C6 #C63B37 #7AC637 #37C2C6
split-complementary
#8337C6 #C2C637 #37C63B
monochromatic
#441C66 #632A96 #8337C6 #A166D4 #BE96E2

Accessibility & contrast

On white

6.31
#8337C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#8337C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8337C6
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8337C6#FFFFFF#000000##FFFFFF
##8337C61.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECA
Deuteranopia (green-blind)
#0060C3
Tritanopia (blue-blind)
#765A7B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8337c6;
/* rgb */ color: rgb(131, 55, 198);
/* oklch */ color: oklch(51.4% 0.210 304.1);
Tailwind
colors: {
  custom: {
    50: '#ad75d8',
    500: '#8337c6',
    950: '#000000',
  },
}
SCSS
$custom: #8337c6;
$custom-light: #ad75d8;
$custom-dark: #000000;
JSON
{
  "hex": "#8337c6",
  "rgb": {
    "r": 131,
    "g": 55,
    "b": 198
  },
  "hsl": {
    "h": 271.888,
    "s": 56.522,
    "l": 49.608
  },
  "oklch": {
    "l": 0.51398,
    "c": 0.2103,
    "h": 304.1
  },
  "luminance": 0.11635
}

Semantic roles & 50–950 ramp

primary
#8337C6
secondary
#AACD8C
accent
#E0488F
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110915
muted
#807B83

Preview Lab

Preview with #8337C6

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

Preview Lab → · Contrast checker → · Palette generator →

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