#8331A6#8331A6

#8331A6 is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.4% C 0.186 H 313.8°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#8331A6
RGBrgb(131, 49, 166)
HSLhsl(282, 54%, 42%)
HSVhsv(282, 70%, 65%)
CMYKcmyk(21.1%, 70.5%, 0%, 34.9%)
CIE-LABlab(37.44, 53.25, -47.49)
CIE-LCHlch(37.44, 71.35, 318.27°)
OKLaboklab(48.41% 0.1285 -0.1339)
OKLCHoklch(48.41% 0.186 313.8)
XYZxyz(17.3401, 9.7756, 37.0425)
Luminance0.0978 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8331A6 #54A631
analogous
#4831A6 #8331A6 #A6318F
triadic
#8331A6 #A68331 #31A683
tetradic
#8331A6 #A64831 #54A631 #318FA6
square
#8331A6 #A64831 #54A631 #318FA6
split-complementary
#8331A6 #8FA631 #31A648
monochromatic
#381547 #5E2377 #8331A6 #A44ACA #BC7AD8

Accessibility & contrast

On white

7.11
#8331A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8331A6
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8331A6#FFFFFF#000000##FFFFFF
##8331A61.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A9
Deuteranopia (green-blind)
#2A5AA3
Tritanopia (blue-blind)
#804968
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8331a6;
/* rgb */ color: rgb(131, 49, 166);
/* oklch */ color: oklch(48.4% 0.186 313.8);
Tailwind
colors: {
  custom: {
    50: '#ab70c1',
    500: '#8331a6',
    950: '#000000',
  },
}
SCSS
$custom: #8331a6;
$custom-light: #ab70c1;
$custom-dark: #000000;
JSON
{
  "hex": "#8331a6",
  "rgb": {
    "r": 131,
    "g": 49,
    "b": 166
  },
  "hsl": {
    "h": 282.051,
    "s": 54.419,
    "l": 42.157
  },
  "oklch": {
    "l": 0.48409,
    "c": 0.18554,
    "h": 313.8
  },
  "luminance": 0.09775
}

Semantic roles & 50–950 ramp

primary
#8331A6
secondary
#8AC073
accent
#DE4A76
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #8331A6

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

Preview Lab → · Contrast checker → · Palette generator →

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