#8331A7#8331A7

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

Color values

HEX#8331A7
RGBrgb(131, 49, 167)
HSLhsl(282, 55%, 42%)
HSVhsv(282, 71%, 65%)
CMYKcmyk(21.6%, 70.7%, 0%, 34.5%)
CIE-LABlab(37.50, 53.46, -47.98)
CIE-LCHlch(37.50, 71.83, 318.09°)
OKLaboklab(48.48% 0.1284 -0.1353)
OKLCHoklch(48.48% 0.187 313.5)
XYZxyz(17.4322, 9.8125, 37.5274)
Luminance0.0981 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8331A7 #55A731
analogous
#4831A7 #8331A7 #A73190
triadic
#8331A7 #A78331 #31A783
tetradic
#8331A7 #A74831 #55A731 #3190A7
square
#8331A7 #A74831 #55A731 #3190A7
split-complementary
#8331A7 #90A731 #31A748
monochromatic
#391548 #5E2378 #8331A7 #A34BCA #BB7AD8

Accessibility & contrast

On white

7.09
#8331A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#8331A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8331A7
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8331A7#FFFFFF#000000##FFFFFF
##8331A71.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AA
Deuteranopia (green-blind)
#295AA4
Tritanopia (blue-blind)
#7F4A68
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8331a7;
/* rgb */ color: rgb(131, 49, 167);
/* oklch */ color: oklch(48.5% 0.187 313.5);
Tailwind
colors: {
  custom: {
    50: '#ab70c2',
    500: '#8331a7',
    950: '#000000',
  },
}
SCSS
$custom: #8331a7;
$custom-light: #ab70c2;
$custom-dark: #000000;
JSON
{
  "hex": "#8331a7",
  "rgb": {
    "r": 131,
    "g": 49,
    "b": 167
  },
  "hsl": {
    "h": 281.695,
    "s": 54.63,
    "l": 42.353
  },
  "oklch": {
    "l": 0.48478,
    "c": 0.18651,
    "h": 313.5
  },
  "luminance": 0.09812
}

Semantic roles & 50–950 ramp

primary
#8331A7
secondary
#8BC173
accent
#DE4A77
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100812
muted
#7F7B81

Preview Lab

Preview with #8331A7

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

Preview Lab → · Contrast checker → · Palette generator →

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