#8331A0#8331A0

#8331A0 is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.0% C 0.180 H 315.9°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#8331A0
RGBrgb(131, 49, 160)
HSLhsl(284, 53%, 41%)
HSVhsv(284, 69%, 63%)
CMYKcmyk(18.1%, 69.4%, 0%, 37.3%)
CIE-LABlab(37.04, 51.99, -44.52)
CIE-LCHlch(37.04, 68.44, 319.43°)
OKLaboklab(48% 0.129 -0.1251)
OKLCHoklch(48% 0.18 315.9)
XYZxyz(16.8026, 9.5606, 34.2112)
Luminance0.0956 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8331A0 #4EA031
analogous
#4B31A0 #8331A0 #A03185
triadic
#8331A0 #A08331 #31A083
tetradic
#8331A0 #A04B31 #4EA031 #3185A0
square
#8331A0 #A04B31 #4EA031 #3185A0
split-complementary
#8331A0 #85A031 #31A04B
monochromatic
#361442 #5D2371 #8331A0 #A647C7 #BC76D5

Accessibility & contrast

On white

7.21
#8331A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#8331A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8331A0#FFFFFF#000000##FFFFFF
##8331A01.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A3
Deuteranopia (green-blind)
#30599D
Tritanopia (blue-blind)
#814765
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8331a0;
/* rgb */ color: rgb(131, 49, 160);
/* oklch */ color: oklch(48.0% 0.180 315.9);
Tailwind
colors: {
  custom: {
    50: '#aa70bd',
    500: '#8331a0',
    950: '#000000',
  },
}
SCSS
$custom: #8331a0;
$custom-light: #aa70bd;
$custom-dark: #000000;
JSON
{
  "hex": "#8331a0",
  "rgb": {
    "r": 131,
    "g": 49,
    "b": 160
  },
  "hsl": {
    "h": 284.324,
    "s": 53.11,
    "l": 40.98
  },
  "oklch": {
    "l": 0.48001,
    "c": 0.17971,
    "h": 315.9
  },
  "luminance": 0.0956
}

Semantic roles & 50–950 ramp

primary
#8331A0
secondary
#84BD70
accent
#DD4B71
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #8331A0

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

Preview Lab → · Contrast checker → · Palette generator →

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