#8331BB#8331BB

#8331BB is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 49.9% C 0.206 H 307.5°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#8331BB
RGBrgb(131, 49, 187)
HSLhsl(276, 58%, 46%)
HSVhsv(276, 74%, 73%)
CMYKcmyk(29.9%, 73.8%, 0%, 26.7%)
CIE-LABlab(38.92, 57.82, -57.56)
CIE-LCHlch(38.92, 81.59, 315.13°)
OKLaboklab(49.93% 0.1255 -0.1635)
OKLCHoklch(49.93% 0.206 307.5)
XYZxyz(19.4261, 10.6100, 48.0286)
Luminance0.1061 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8331BB #69BB31
analogous
#3E31BB #8331BB #BB31AE
triadic
#8331BB #BB8331 #31BB83
tetradic
#8331BB #BB3E31 #69BB31 #31AEBB
square
#8331BB #BB3E31 #69BB31 #31AEBB
split-complementary
#8331BB #AEBB31 #31BB3E
monochromatic
#3F185A #61248B #8331BB #A056D3 #BC87E0

Accessibility & contrast

On white

6.73
#8331BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#8331BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8331BB
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8331BB#FFFFFF#000000##FFFFFF
##8331BB1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BF
Deuteranopia (green-blind)
#005CB8
Tritanopia (blue-blind)
#7A5274
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8331bb;
/* rgb */ color: rgb(131, 49, 187);
/* oklch */ color: oklch(49.9% 0.206 307.5);
Tailwind
colors: {
  custom: {
    50: '#ac71d0',
    500: '#8331bb',
    950: '#000000',
  },
}
SCSS
$custom: #8331bb;
$custom-light: #ac71d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8331bb",
  "rgb": {
    "r": 131,
    "g": 49,
    "b": 187
  },
  "hsl": {
    "h": 275.652,
    "s": 58.475,
    "l": 46.275
  },
  "oklch": {
    "l": 0.49928,
    "c": 0.20609,
    "h": 307.5
  },
  "luminance": 0.1061
}

Semantic roles & 50–950 ramp

primary
#8331BB
secondary
#9DC97F
accent
#E24685
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #8331BB

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

Preview Lab → · Contrast checker → · Palette generator →

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