#8331AB#8331AB

#8331AB is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.8% C 0.190 H 312.2°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#8331AB
RGBrgb(131, 49, 171)
HSLhsl(280, 55%, 43%)
HSVhsv(280, 71%, 67%)
CMYKcmyk(23.4%, 71.3%, 0%, 32.9%)
CIE-LABlab(37.78, 54.32, -49.93)
CIE-LCHlch(37.78, 73.78, 317.41°)
OKLaboklab(48.76% 0.1279 -0.141)
OKLCHoklch(48.76% 0.19 312.2)
XYZxyz(17.8077, 9.9627, 39.5051)
Luminance0.0996 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8331AB #59AB31
analogous
#4631AB #8331AB #AB3196
triadic
#8331AB #AB8331 #31AB83
tetradic
#8331AB #AB4631 #59AB31 #3196AB
square
#8331AB #AB4631 #59AB31 #3196AB
split-complementary
#8331AB #96AB31 #31AB46
monochromatic
#3A164C #5F237B #8331AB #A24DCC #BB7DDA

Accessibility & contrast

On white

7.02
#8331AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#8331AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8331AB
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8331AB#FFFFFF#000000##FFFFFF
##8331AB1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AF
Deuteranopia (green-blind)
#235BA8
Tritanopia (blue-blind)
#7E4B6B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8331ab;
/* rgb */ color: rgb(131, 49, 171);
/* oklch */ color: oklch(48.8% 0.190 312.2);
Tailwind
colors: {
  custom: {
    50: '#ab70c5',
    500: '#8331ab',
    950: '#000000',
  },
}
SCSS
$custom: #8331ab;
$custom-light: #ab70c5;
$custom-dark: #000000;
JSON
{
  "hex": "#8331ab",
  "rgb": {
    "r": 131,
    "g": 49,
    "b": 171
  },
  "hsl": {
    "h": 280.328,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.48758,
    "c": 0.19041,
    "h": 312.2
  },
  "luminance": 0.09962
}

Semantic roles & 50–950 ramp

primary
#8331AB
secondary
#8FC275
accent
#DF497A
background
#FAF7FC
surface
#F5EDF8
border
#CFC8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8331AB

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

Preview Lab → · Contrast checker → · Palette generator →

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