#8337B7#8337B7

#8337B7 is a mid, vivid violet. Relative luminance 0.110; OKLCH L 50.3% C 0.195 H 308.0°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#8337B7
RGBrgb(131, 55, 183)
HSLhsl(276, 54%, 47%)
HSVhsv(276, 70%, 72%)
CMYKcmyk(28.4%, 69.9%, 0%, 28.2%)
CIE-LABlab(39.54, 54.34, -54.19)
CIE-LCHlch(39.54, 76.74, 315.08°)
OKLaboklab(50.28% 0.1201 -0.1536)
OKLCHoklch(50.28% 0.195 308)
XYZxyz(19.2717, 10.9769, 45.8941)
Luminance0.1098 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8337B7 #6BB737
analogous
#4337B7 #8337B7 #B737AB
triadic
#8337B7 #B78337 #37B783
tetradic
#8337B7 #B74337 #6BB737 #37ABB7
square
#8337B7 #B74337 #6BB737 #37ABB7
split-complementary
#8337B7 #ABB737 #37B743
monochromatic
#401B59 #612988 #8337B7 #A05DCE #BC8CDC

Accessibility & contrast

On white

6.57
#8337B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#8337B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8337B7
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8337B7#FFFFFF#000000##FFFFFF
##8337B71.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABB
Deuteranopia (green-blind)
#175EB4
Tritanopia (blue-blind)
#7B5473
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8337b7;
/* rgb */ color: rgb(131, 55, 183);
/* oklch */ color: oklch(50.3% 0.195 308.0);
Tailwind
colors: {
  custom: {
    50: '#ab74cd',
    500: '#8337b7',
    950: '#000000',
  },
}
SCSS
$custom: #8337b7;
$custom-light: #ab74cd;
$custom-dark: #000000;
JSON
{
  "hex": "#8337b7",
  "rgb": {
    "r": 131,
    "g": 55,
    "b": 183
  },
  "hsl": {
    "h": 275.625,
    "s": 53.782,
    "l": 46.667
  },
  "oklch": {
    "l": 0.50281,
    "c": 0.19498,
    "h": 308
  },
  "luminance": 0.10977
}

Semantic roles & 50–950 ramp

primary
#8337B7
secondary
#9FC783
accent
#DD4B86
background
#FAF7FC
surface
#F5EDF9
border
#CFC8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8337B7

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

Preview Lab → · Contrast checker → · Palette generator →

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