#8331A5#8331A5

#8331A5 is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.3% C 0.185 H 314.2°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#8331A5
RGBrgb(131, 49, 165)
HSLhsl(282, 54%, 42%)
HSVhsv(282, 70%, 65%)
CMYKcmyk(20.6%, 70.3%, 0%, 35.3%)
CIE-LABlab(37.37, 53.04, -46.99)
CIE-LCHlch(37.37, 70.86, 318.46°)
OKLaboklab(48.34% 0.1286 -0.1324)
OKLCHoklch(48.34% 0.185 314.2)
XYZxyz(17.2488, 9.7391, 36.5612)
Luminance0.0974 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8331A5 #53A531
analogous
#4931A5 #8331A5 #A5318D
triadic
#8331A5 #A58331 #31A583
tetradic
#8331A5 #A54931 #53A531 #318DA5
square
#8331A5 #A54931 #53A531 #318DA5
split-complementary
#8331A5 #8DA531 #31A549
monochromatic
#381547 #5E2376 #8331A5 #A44AC9 #BC79D7

Accessibility & contrast

On white

7.12
#8331A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#8331A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8331A5#FFFFFF#000000##FFFFFF
##8331A51.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A8
Deuteranopia (green-blind)
#2B5AA2
Tritanopia (blue-blind)
#804967
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8331a5;
/* rgb */ color: rgb(131, 49, 165);
/* oklch */ color: oklch(48.3% 0.185 314.2);
Tailwind
colors: {
  custom: {
    50: '#ab70c0',
    500: '#8331a5',
    950: '#000000',
  },
}
SCSS
$custom: #8331a5;
$custom-light: #ab70c0;
$custom-dark: #000000;
JSON
{
  "hex": "#8331a5",
  "rgb": {
    "r": 131,
    "g": 49,
    "b": 165
  },
  "hsl": {
    "h": 282.414,
    "s": 54.206,
    "l": 41.961
  },
  "oklch": {
    "l": 0.4834,
    "c": 0.18456,
    "h": 314.2
  },
  "luminance": 0.09739
}

Semantic roles & 50–950 ramp

primary
#8331A5
secondary
#89C072
accent
#DE4A75
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #8331A5

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

Preview Lab → · Contrast checker → · Palette generator →

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