#8331A1#8331A1

#8331A1 is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.1% C 0.181 H 315.5°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#8331A1
RGBrgb(131, 49, 161)
HSLhsl(284, 53%, 41%)
HSVhsv(284, 70%, 63%)
CMYKcmyk(18.6%, 69.6%, 0%, 36.9%)
CIE-LABlab(37.11, 52.20, -45.01)
CIE-LCHlch(37.11, 68.93, 319.23°)
OKLaboklab(48.07% 0.1289 -0.1266)
OKLCHoklch(48.07% 0.181 315.5)
XYZxyz(16.8904, 9.5957, 34.6737)
Luminance0.0959 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8331A1 #4FA131
analogous
#4B31A1 #8331A1 #A13187
triadic
#8331A1 #A18331 #31A183
tetradic
#8331A1 #A14B31 #4FA131 #3187A1
square
#8331A1 #A14B31 #4FA131 #3187A1
split-complementary
#8331A1 #87A131 #31A14B
monochromatic
#371443 #5D2372 #8331A1 #A548C7 #BC77D6

Accessibility & contrast

On white

7.19
#8331A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#8331A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8331A1#FFFFFF#000000##FFFFFF
##8331A11.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A4
Deuteranopia (green-blind)
#2F5A9E
Tritanopia (blue-blind)
#814765
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8331a1;
/* rgb */ color: rgb(131, 49, 161);
/* oklch */ color: oklch(48.1% 0.181 315.5);
Tailwind
colors: {
  custom: {
    50: '#ab70bd',
    500: '#8331a1',
    950: '#000000',
  },
}
SCSS
$custom: #8331a1;
$custom-light: #ab70bd;
$custom-dark: #000000;
JSON
{
  "hex": "#8331a1",
  "rgb": {
    "r": 131,
    "g": 49,
    "b": 161
  },
  "hsl": {
    "h": 283.929,
    "s": 53.333,
    "l": 41.176
  },
  "oklch": {
    "l": 0.48068,
    "c": 0.18068,
    "h": 315.5
  },
  "luminance": 0.09595
}

Semantic roles & 50–950 ramp

primary
#8331A1
secondary
#85BE70
accent
#DD4B72
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #8331A1

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

Preview Lab → · Contrast checker → · Palette generator →

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