#8337C0#8337C0

#8337C0 is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 50.9% C 0.204 H 305.6°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#8337C0
RGBrgb(131, 55, 192)
HSLhsl(273, 55%, 48%)
HSVhsv(273, 71%, 75%)
CMYKcmyk(31.8%, 71.4%, 0%, 24.7%)
CIE-LABlab(40.19, 56.39, -58.44)
CIE-LCHlch(40.19, 81.21, 313.98°)
OKLaboklab(50.94% 0.1188 -0.1661)
OKLCHoklch(50.94% 0.204 305.6)
XYZxyz(20.2386, 11.3636, 50.9861)
Luminance0.1136 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8337C0 #74C037
analogous
#3E37C0 #8337C0 #C037B8
triadic
#8337C0 #C08337 #37C083
tetradic
#8337C0 #C03E37 #74C037 #37B8C0
square
#8337C0 #C03E37 #74C037 #37B8C0
split-complementary
#8337C0 #B8C037 #37C03E
monochromatic
#421C61 #632990 #8337C0 #A062D2 #BD92E0

Accessibility & contrast

On white

6.42
#8337C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#8337C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8337C0
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8337C0#FFFFFF#000000##FFFFFF
##8337C01.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC4
Deuteranopia (green-blind)
#005FBD
Tritanopia (blue-blind)
#785778
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8337c0;
/* rgb */ color: rgb(131, 55, 192);
/* oklch */ color: oklch(50.9% 0.204 305.6);
Tailwind
colors: {
  custom: {
    50: '#ac74d4',
    500: '#8337c0',
    950: '#000000',
  },
}
SCSS
$custom: #8337c0;
$custom-light: #ac74d4;
$custom-dark: #000000;
JSON
{
  "hex": "#8337c0",
  "rgb": {
    "r": 131,
    "g": 55,
    "b": 192
  },
  "hsl": {
    "h": 273.285,
    "s": 55.466,
    "l": 48.431
  },
  "oklch": {
    "l": 0.50944,
    "c": 0.20418,
    "h": 305.6
  },
  "luminance": 0.11363
}

Semantic roles & 50–950 ramp

primary
#8337C0
secondary
#A6CB88
accent
#DF498C
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8337C0

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

Preview Lab → · Contrast checker → · Palette generator →

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