#8337BA#8337BA

#8337BA is a mid, vivid violet. Relative luminance 0.111; OKLCH L 50.5% C 0.198 H 307.2°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#8337BA
RGBrgb(131, 55, 186)
HSLhsl(275, 54%, 47%)
HSVhsv(275, 70%, 73%)
CMYKcmyk(29.6%, 70.4%, 0%, 27.1%)
CIE-LABlab(39.75, 55.02, -55.62)
CIE-LCHlch(39.75, 78.23, 314.69°)
OKLaboklab(50.5% 0.1197 -0.1578)
OKLCHoklch(50.5% 0.198 307.2)
XYZxyz(19.5873, 11.1031, 47.5561)
Luminance0.1110 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8337BA #6EBA37
analogous
#4137BA #8337BA #BA37B0
triadic
#8337BA #BA8337 #37BA83
tetradic
#8337BA #BA4137 #6EBA37 #37B0BA
square
#8337BA #BA4137 #6EBA37 #37B0BA
split-complementary
#8337BA #B0BA37 #37BA41
monochromatic
#401B5C #62298B #8337BA #A05FD0 #BC8EDE

Accessibility & contrast

On white

6.52
#8337BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#8337BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8337BA
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8337BA#FFFFFF#000000##FFFFFF
##8337BA1.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8337ba;
/* rgb */ color: rgb(131, 55, 186);
/* oklch */ color: oklch(50.5% 0.198 307.2);
Tailwind
colors: {
  custom: {
    50: '#ac74d0',
    500: '#8337ba',
    950: '#000000',
  },
}
SCSS
$custom: #8337ba;
$custom-light: #ac74d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8337ba",
  "rgb": {
    "r": 131,
    "g": 55,
    "b": 186
  },
  "hsl": {
    "h": 274.809,
    "s": 54.357,
    "l": 47.255
  },
  "oklch": {
    "l": 0.505,
    "c": 0.19805,
    "h": 307.2
  },
  "luminance": 0.11103
}

Semantic roles & 50–950 ramp

primary
#8337BA
secondary
#A1C885
accent
#DE4A88
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8337BA

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

Preview Lab → · Contrast checker → · Palette generator →

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