#8331A4#8331A4

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

Color values

HEX#8331A4
RGBrgb(131, 49, 164)
HSLhsl(283, 54%, 42%)
HSVhsv(283, 70%, 64%)
CMYKcmyk(20.1%, 70.1%, 0%, 35.7%)
CIE-LABlab(37.30, 52.83, -46.50)
CIE-LCHlch(37.30, 70.38, 318.64°)
OKLaboklab(48.27% 0.1287 -0.131)
OKLCHoklch(48.27% 0.184 314.5)
XYZxyz(17.1581, 9.7028, 36.0838)
Luminance0.0970 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8331A4 #52A431
analogous
#4A31A4 #8331A4 #A4318C
triadic
#8331A4 #A48331 #31A483
tetradic
#8331A4 #A44A31 #52A431 #318CA4
square
#8331A4 #A44A31 #52A431 #318CA4
split-complementary
#8331A4 #8CA431 #31A44A
monochromatic
#381546 #5D2375 #8331A4 #A449C9 #BC79D7

Accessibility & contrast

On white

7.14
#8331A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#8331A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8331A4#FFFFFF#000000##FFFFFF
##8331A41.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A7
Deuteranopia (green-blind)
#2C5AA1
Tritanopia (blue-blind)
#804867
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8331a4;
/* rgb */ color: rgb(131, 49, 164);
/* oklch */ color: oklch(48.3% 0.184 314.5);
Tailwind
colors: {
  custom: {
    50: '#ab70c0',
    500: '#8331a4',
    950: '#000000',
  },
}
SCSS
$custom: #8331a4;
$custom-light: #ab70c0;
$custom-dark: #000000;
JSON
{
  "hex": "#8331a4",
  "rgb": {
    "r": 131,
    "g": 49,
    "b": 164
  },
  "hsl": {
    "h": 282.783,
    "s": 53.991,
    "l": 41.765
  },
  "oklch": {
    "l": 0.48272,
    "c": 0.1836,
    "h": 314.5
  },
  "luminance": 0.09702
}

Semantic roles & 50–950 ramp

primary
#8331A4
secondary
#88BF72
accent
#DD4A75
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #8331A4

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

Preview Lab → · Contrast checker → · Palette generator →

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