#8331A8#8331A8

#8331A8 is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.5% C 0.187 H 313.2°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#8331A8
RGBrgb(131, 49, 168)
HSLhsl(281, 55%, 43%)
HSVhsv(281, 71%, 66%)
CMYKcmyk(22%, 70.8%, 0%, 34.1%)
CIE-LABlab(37.57, 53.67, -48.47)
CIE-LCHlch(37.57, 72.32, 317.92°)
OKLaboklab(48.55% 0.1283 -0.1367)
OKLCHoklch(48.55% 0.187 313.2)
XYZxyz(17.5250, 9.8496, 38.0162)
Luminance0.0985 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8331A8 #56A831
analogous
#4831A8 #8331A8 #A83191
triadic
#8331A8 #A88331 #31A883
tetradic
#8331A8 #A84831 #56A831 #3191A8
square
#8331A8 #A84831 #56A831 #3191A8
split-complementary
#8331A8 #91A831 #31A848
monochromatic
#391549 #5E2379 #8331A8 #A34CCB #BB7BD8

Accessibility & contrast

On white

7.07
#8331A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#8331A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8331A8
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8331A8#FFFFFF#000000##FFFFFF
##8331A81.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AB
Deuteranopia (green-blind)
#275AA5
Tritanopia (blue-blind)
#7F4A69
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8331a8;
/* rgb */ color: rgb(131, 49, 168);
/* oklch */ color: oklch(48.5% 0.187 313.2);
Tailwind
colors: {
  custom: {
    50: '#ab70c2',
    500: '#8331a8',
    950: '#000000',
  },
}
SCSS
$custom: #8331a8;
$custom-light: #ab70c2;
$custom-dark: #000000;
JSON
{
  "hex": "#8331a8",
  "rgb": {
    "r": 131,
    "g": 49,
    "b": 168
  },
  "hsl": {
    "h": 281.345,
    "s": 54.839,
    "l": 42.549
  },
  "oklch": {
    "l": 0.48548,
    "c": 0.18749,
    "h": 313.2
  },
  "luminance": 0.09849
}

Semantic roles & 50–950 ramp

primary
#8331A8
secondary
#8CC174
accent
#DE4A78
background
#FAF7FC
surface
#F5EDF8
border
#CFC8D1
text
#100812
muted
#7F7B81

Preview Lab

Preview with #8331A8

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

Preview Lab → · Contrast checker → · Palette generator →

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