#8337B8#8337B8

#8337B8 is a mid, vivid violet. Relative luminance 0.110; OKLCH L 50.4% C 0.196 H 307.7°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#8337B8
RGBrgb(131, 55, 184)
HSLhsl(275, 54%, 47%)
HSVhsv(275, 70%, 72%)
CMYKcmyk(28.8%, 70.1%, 0%, 27.8%)
CIE-LABlab(39.61, 54.56, -54.67)
CIE-LCHlch(39.61, 77.24, 314.94°)
OKLaboklab(50.35% 0.12 -0.155)
OKLCHoklch(50.35% 0.196 307.7)
XYZxyz(19.3762, 11.0186, 46.4442)
Luminance0.1102 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8337B8 #6CB837
analogous
#4337B8 #8337B8 #B837AD
triadic
#8337B8 #B88337 #37B883
tetradic
#8337B8 #B84337 #6CB837 #37ADB8
square
#8337B8 #B84337 #6CB837 #37ADB8
split-complementary
#8337B8 #ADB837 #37B843
monochromatic
#401B5A #612989 #8337B8 #A05DCF #BC8DDD

Accessibility & contrast

On white

6.56
#8337B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8337B8
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8337B8#FFFFFF#000000##FFFFFF
##8337B81.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBC
Deuteranopia (green-blind)
#145EB5
Tritanopia (blue-blind)
#7A5474
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8337b8;
/* rgb */ color: rgb(131, 55, 184);
/* oklch */ color: oklch(50.4% 0.196 307.7);
Tailwind
colors: {
  custom: {
    50: '#ac74ce',
    500: '#8337b8',
    950: '#000000',
  },
}
SCSS
$custom: #8337b8;
$custom-light: #ac74ce;
$custom-dark: #000000;
JSON
{
  "hex": "#8337b8",
  "rgb": {
    "r": 131,
    "g": 55,
    "b": 184
  },
  "hsl": {
    "h": 275.349,
    "s": 53.975,
    "l": 46.863
  },
  "oklch": {
    "l": 0.50354,
    "c": 0.19601,
    "h": 307.7
  },
  "luminance": 0.11018
}

Semantic roles & 50–950 ramp

primary
#8337B8
secondary
#9FC784
accent
#DD4A87
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8337B8

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

Preview Lab → · Contrast checker → · Palette generator →

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