#8331AA#8331AA

#8331AA is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.7% C 0.189 H 312.5°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#8331AA
RGBrgb(131, 49, 170)
HSLhsl(281, 55%, 43%)
HSVhsv(281, 71%, 67%)
CMYKcmyk(22.9%, 71.2%, 0%, 33.3%)
CIE-LABlab(37.71, 54.10, -49.44)
CIE-LCHlch(37.71, 73.29, 317.58°)
OKLaboklab(48.69% 0.1281 -0.1396)
OKLCHoklch(48.69% 0.189 312.5)
XYZxyz(17.7128, 9.9247, 39.0050)
Luminance0.0992 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8331AA #58AA31
analogous
#4631AA #8331AA #AA3194
triadic
#8331AA #AA8331 #31AA83
tetradic
#8331AA #AA4631 #58AA31 #3194AA
square
#8331AA #AA4631 #58AA31 #3194AA
split-complementary
#8331AA #94AA31 #31AA46
monochromatic
#3A164B #5E237A #8331AA #A34DCC #BB7CD9

Accessibility & contrast

On white

7.04
#8331AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#8331AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8331AA#FFFFFF#000000##FFFFFF
##8331AA1.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AD
Deuteranopia (green-blind)
#255AA7
Tritanopia (blue-blind)
#7F4B6A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8331aa;
/* rgb */ color: rgb(131, 49, 170);
/* oklch */ color: oklch(48.7% 0.189 312.5);
Tailwind
colors: {
  custom: {
    50: '#ab70c4',
    500: '#8331aa',
    950: '#000000',
  },
}
SCSS
$custom: #8331aa;
$custom-light: #ab70c4;
$custom-dark: #000000;
JSON
{
  "hex": "#8331aa",
  "rgb": {
    "r": 131,
    "g": 49,
    "b": 170
  },
  "hsl": {
    "h": 280.661,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.48688,
    "c": 0.18943,
    "h": 312.5
  },
  "luminance": 0.09924
}

Semantic roles & 50–950 ramp

primary
#8331AA
secondary
#8EC275
accent
#DF4979
background
#FAF7FC
surface
#F5EDF8
border
#CFC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #8331AA

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

Preview Lab → · Contrast checker → · Palette generator →

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