#8337C2#8337C2

#8337C2 is a mid, highly saturated violet. Relative luminance 0.115; OKLCH L 51.1% C 0.206 H 305.1°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#8337C2
RGBrgb(131, 55, 194)
HSLhsl(273, 56%, 49%)
HSVhsv(273, 72%, 76%)
CMYKcmyk(32.5%, 71.6%, 0%, 23.9%)
CIE-LABlab(40.33, 56.85, -59.37)
CIE-LCHlch(40.33, 82.20, 313.76°)
OKLaboklab(51.09% 0.1185 -0.1688)
OKLCHoklch(51.09% 0.206 305.1)
XYZxyz(20.4617, 11.4528, 52.1611)
Luminance0.1145 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8337C2 #76C237
analogous
#3E37C2 #8337C2 #C237BC
triadic
#8337C2 #C28337 #37C283
tetradic
#8337C2 #C23E37 #76C237 #37BCC2
square
#8337C2 #C23E37 #76C237 #37BCC2
split-complementary
#8337C2 #BCC237 #37C23E
monochromatic
#431C63 #632992 #8337C2 #A063D3 #BD93E0

Accessibility & contrast

On white

6.38
#8337C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#8337C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8337C2
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8337C2#FFFFFF#000000##FFFFFF
##8337C21.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC6
Deuteranopia (green-blind)
#005FBF
Tritanopia (blue-blind)
#775879
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8337c2;
/* rgb */ color: rgb(131, 55, 194);
/* oklch */ color: oklch(51.1% 0.206 305.1);
Tailwind
colors: {
  custom: {
    50: '#ac74d5',
    500: '#8337c2',
    950: '#000000',
  },
}
SCSS
$custom: #8337c2;
$custom-light: #ac74d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8337c2",
  "rgb": {
    "r": 131,
    "g": 55,
    "b": 194
  },
  "hsl": {
    "h": 272.806,
    "s": 55.823,
    "l": 48.824
  },
  "oklch": {
    "l": 0.51094,
    "c": 0.20622,
    "h": 305.1
  },
  "luminance": 0.11453
}

Semantic roles & 50–950 ramp

primary
#8337C2
secondary
#A7CB89
accent
#DF498D
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8337C2

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

Preview Lab → · Contrast checker → · Palette generator →

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