#8337AC#8337AC

#8337AC is a mid, vivid violet. Relative luminance 0.105; OKLCH L 49.5% C 0.184 H 311.3°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#8337AC
RGBrgb(131, 55, 172)
HSLhsl(279, 52%, 45%)
HSVhsv(279, 68%, 67%)
CMYKcmyk(23.8%, 68%, 0%, 32.5%)
CIE-LABlab(38.79, 51.88, -48.89)
CIE-LCHlch(38.79, 71.29, 316.70°)
OKLaboklab(49.5% 0.1213 -0.138)
OKLCHoklch(49.5% 0.184 311.3)
XYZxyz(18.1713, 10.5367, 40.0983)
Luminance0.1054 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8337AC #60AC37
analogous
#4837AC #8337AC #AC379B
triadic
#8337AC #AC8337 #37AC83
tetradic
#8337AC #AC4837 #60AC37 #379BAC
square
#8337AC #AC4837 #60AC37 #379BAC
split-complementary
#8337AC #9BAC37 #37AC48
monochromatic
#3C194F #60287E #8337AC #A157C9 #BB85D8

Accessibility & contrast

On white

6.76
#8337AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#8337AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8337AC
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8337AC#FFFFFF#000000##FFFFFF
##8337AC1.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AF
Deuteranopia (green-blind)
#295DA9
Tritanopia (blue-blind)
#7E4F6D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8337ac;
/* rgb */ color: rgb(131, 55, 172);
/* oklch */ color: oklch(49.5% 0.184 311.3);
Tailwind
colors: {
  custom: {
    50: '#ab74c5',
    500: '#8337ac',
    950: '#000000',
  },
}
SCSS
$custom: #8337ac;
$custom-light: #ab74c5;
$custom-dark: #000000;
JSON
{
  "hex": "#8337ac",
  "rgb": {
    "r": 131,
    "g": 55,
    "b": 172
  },
  "hsl": {
    "h": 278.974,
    "s": 51.542,
    "l": 44.51
  },
  "oklch": {
    "l": 0.49504,
    "c": 0.18376,
    "h": 311.3
  },
  "luminance": 0.10536
}

Semantic roles & 50–950 ramp

primary
#8337AC
secondary
#95C27D
accent
#DB4D7F
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #8337AC

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

Preview Lab → · Contrast checker → · Palette generator →

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