#8337C4#8337C4

#8337C4 is a mid, highly saturated violet. Relative luminance 0.115; OKLCH L 51.2% C 0.208 H 304.6°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#8337C4
RGBrgb(131, 55, 196)
HSLhsl(272, 56%, 49%)
HSVhsv(272, 72%, 77%)
CMYKcmyk(33.2%, 71.9%, 0%, 23.1%)
CIE-LABlab(40.48, 57.31, -60.29)
CIE-LCHlch(40.48, 83.19, 313.55°)
OKLaboklab(51.25% 0.1181 -0.1715)
OKLCHoklch(51.25% 0.208 304.6)
XYZxyz(20.6878, 11.5433, 53.3520)
Luminance0.1154 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8337C4 #78C437
analogous
#3C37C4 #8337C4 #C437BF
triadic
#8337C4 #C48337 #37C483
tetradic
#8337C4 #C43C37 #78C437 #37BFC4
square
#8337C4 #C43C37 #78C437 #37BFC4
split-complementary
#8337C4 #BFC437 #37C43C
monochromatic
#431C64 #632A94 #8337C4 #A065D4 #BE94E1

Accessibility & contrast

On white

6.35
#8337C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#8337C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8337C4
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8337C4#FFFFFF#000000##FFFFFF
##8337C41.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC8
Deuteranopia (green-blind)
#005FC1
Tritanopia (blue-blind)
#77597A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8337c4;
/* rgb */ color: rgb(131, 55, 196);
/* oklch */ color: oklch(51.2% 0.208 304.6);
Tailwind
colors: {
  custom: {
    50: '#ac75d7',
    500: '#8337c4',
    950: '#000000',
  },
}
SCSS
$custom: #8337c4;
$custom-light: #ac75d7;
$custom-dark: #000000;
JSON
{
  "hex": "#8337c4",
  "rgb": {
    "r": 131,
    "g": 55,
    "b": 196
  },
  "hsl": {
    "h": 272.34,
    "s": 56.175,
    "l": 49.216
  },
  "oklch": {
    "l": 0.51246,
    "c": 0.20826,
    "h": 304.6
  },
  "luminance": 0.11543
}

Semantic roles & 50–950 ramp

primary
#8337C4
secondary
#A9CC8B
accent
#DF488E
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8337C4

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

Preview Lab → · Contrast checker → · Palette generator →

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