#8331A9#8331A9

#8331A9 is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.6% C 0.188 H 312.8°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#8331A9
RGBrgb(131, 49, 169)
HSLhsl(281, 55%, 43%)
HSVhsv(281, 71%, 66%)
CMYKcmyk(22.5%, 71%, 0%, 33.7%)
CIE-LABlab(37.64, 53.89, -48.96)
CIE-LCHlch(37.64, 72.80, 317.74°)
OKLaboklab(48.62% 0.1282 -0.1382)
OKLCHoklch(48.62% 0.188 312.8)
XYZxyz(17.6185, 9.8870, 38.5087)
Luminance0.0989 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8331A9 #57A931
analogous
#4731A9 #8331A9 #A93193
triadic
#8331A9 #A98331 #31A983
tetradic
#8331A9 #A94731 #57A931 #3193A9
square
#8331A9 #A94731 #57A931 #3193A9
split-complementary
#8331A9 #93A931 #31A947
monochromatic
#39154A #5E237A #8331A9 #A34CCB #BB7CD9

Accessibility & contrast

On white

7.05
#8331A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#8331A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8331A9
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8331A9#FFFFFF#000000##FFFFFF
##8331A91.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AC
Deuteranopia (green-blind)
#265AA6
Tritanopia (blue-blind)
#7F4A6A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8331a9;
/* rgb */ color: rgb(131, 49, 169);
/* oklch */ color: oklch(48.6% 0.188 312.8);
Tailwind
colors: {
  custom: {
    50: '#ab70c3',
    500: '#8331a9',
    950: '#000000',
  },
}
SCSS
$custom: #8331a9;
$custom-light: #ab70c3;
$custom-dark: #000000;
JSON
{
  "hex": "#8331a9",
  "rgb": {
    "r": 131,
    "g": 49,
    "b": 169
  },
  "hsl": {
    "h": 281,
    "s": 55.046,
    "l": 42.745
  },
  "oklch": {
    "l": 0.48618,
    "c": 0.18846,
    "h": 312.8
  },
  "luminance": 0.09886
}

Semantic roles & 50–950 ramp

primary
#8331A9
secondary
#8DC174
accent
#DE4979
background
#FAF7FC
surface
#F5EDF8
border
#CFC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #8331A9

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

Preview Lab → · Contrast checker → · Palette generator →

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