#8337BB#8337BB

#8337BB is a mid, vivid violet. Relative luminance 0.111; OKLCH L 50.6% C 0.199 H 306.9°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#8337BB
RGBrgb(131, 55, 187)
HSLhsl(275, 55%, 47%)
HSVhsv(275, 71%, 73%)
CMYKcmyk(29.9%, 70.6%, 0%, 26.7%)
CIE-LABlab(39.83, 55.25, -56.09)
CIE-LCHlch(39.83, 78.73, 314.57°)
OKLaboklab(50.57% 0.1196 -0.1592)
OKLCHoklch(50.57% 0.199 306.9)
XYZxyz(19.6940, 11.1458, 48.1179)
Luminance0.1115 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8337BB #6FBB37
analogous
#4137BB #8337BB #BB37B1
triadic
#8337BB #BB8337 #37BB83
tetradic
#8337BB #BB4137 #6FBB37 #37B1BB
square
#8337BB #BB4137 #6FBB37 #37B1BB
split-complementary
#8337BB #B1BB37 #37BB41
monochromatic
#411B5C #62298C #8337BB #A05FD0 #BC8EDE

Accessibility & contrast

On white

6.50
#8337BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#8337BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8337BB
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8337BB#FFFFFF#000000##FFFFFF
##8337BB1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBF
Deuteranopia (green-blind)
#0A5EB8
Tritanopia (blue-blind)
#7A5575
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8337bb;
/* rgb */ color: rgb(131, 55, 187);
/* oklch */ color: oklch(50.6% 0.199 306.9);
Tailwind
colors: {
  custom: {
    50: '#ac74d0',
    500: '#8337bb',
    950: '#000000',
  },
}
SCSS
$custom: #8337bb;
$custom-light: #ac74d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8337bb",
  "rgb": {
    "r": 131,
    "g": 55,
    "b": 187
  },
  "hsl": {
    "h": 274.545,
    "s": 54.545,
    "l": 47.451
  },
  "oklch": {
    "l": 0.50573,
    "c": 0.19907,
    "h": 306.9
  },
  "luminance": 0.11146
}

Semantic roles & 50–950 ramp

primary
#8337BB
secondary
#A2C985
accent
#DE4A89
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8337BB

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

Preview Lab → · Contrast checker → · Palette generator →

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