#8331A3#8331A3

#8331A3 is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.2% C 0.183 H 314.8°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#8331A3
RGBrgb(131, 49, 163)
HSLhsl(283, 54%, 42%)
HSVhsv(283, 70%, 64%)
CMYKcmyk(19.6%, 69.9%, 0%, 36.1%)
CIE-LABlab(37.24, 52.62, -46.01)
CIE-LCHlch(37.24, 69.89, 318.83°)
OKLaboklab(48.2% 0.1288 -0.1295)
OKLCHoklch(48.2% 0.183 314.8)
XYZxyz(17.0682, 9.6669, 35.6100)
Luminance0.0967 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8331A3 #51A331
analogous
#4A31A3 #8331A3 #A3318A
triadic
#8331A3 #A38331 #31A383
tetradic
#8331A3 #A34A31 #51A331 #318AA3
square
#8331A3 #A34A31 #51A331 #318AA3
split-complementary
#8331A3 #8AA331 #31A34A
monochromatic
#371545 #5D2374 #8331A3 #A549C8 #BC78D6

Accessibility & contrast

On white

7.16
#8331A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#8331A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8331A3#FFFFFF#000000##FFFFFF
##8331A31.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A6
Deuteranopia (green-blind)
#2D5AA0
Tritanopia (blue-blind)
#804866
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8331a3;
/* rgb */ color: rgb(131, 49, 163);
/* oklch */ color: oklch(48.2% 0.183 314.8);
Tailwind
colors: {
  custom: {
    50: '#ab70bf',
    500: '#8331a3',
    950: '#000000',
  },
}
SCSS
$custom: #8331a3;
$custom-light: #ab70bf;
$custom-dark: #000000;
JSON
{
  "hex": "#8331a3",
  "rgb": {
    "r": 131,
    "g": 49,
    "b": 163
  },
  "hsl": {
    "h": 283.158,
    "s": 53.774,
    "l": 41.569
  },
  "oklch": {
    "l": 0.48203,
    "c": 0.18262,
    "h": 314.8
  },
  "luminance": 0.09666
}

Semantic roles & 50–950 ramp

primary
#8331A3
secondary
#87BF71
accent
#DD4B74
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #8331A3

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

Preview Lab → · Contrast checker → · Palette generator →

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