#8331AE#8331AE

#8331AE is a mid, vivid violet. Relative luminance 0.101; OKLCH L 49.0% C 0.193 H 311.3°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#8331AE
RGBrgb(131, 49, 174)
HSLhsl(279, 56%, 44%)
HSVhsv(279, 72%, 68%)
CMYKcmyk(24.7%, 71.8%, 0%, 31.8%)
CIE-LABlab(37.98, 54.96, -51.38)
CIE-LCHlch(37.98, 75.24, 316.93°)
OKLaboklab(48.97% 0.1276 -0.1453)
OKLCHoklch(48.97% 0.193 311.3)
XYZxyz(18.0969, 10.0784, 41.0282)
Luminance0.1008 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8331AE #5CAE31
analogous
#4431AE #8331AE #AE319A
triadic
#8331AE #AE8331 #31AE83
tetradic
#8331AE #AE4431 #5CAE31 #319AAE
square
#8331AE #AE4431 #5CAE31 #319AAE
split-complementary
#8331AE #9AAE31 #31AE44
monochromatic
#3B164E #5F247E #8331AE #A24FCD #BB7FDB

Accessibility & contrast

On white

6.96
#8331AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#8331AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8331AE
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8331AE#FFFFFF#000000##FFFFFF
##8331AE1.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B2
Deuteranopia (green-blind)
#1E5BAB
Tritanopia (blue-blind)
#7E4D6C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8331ae;
/* rgb */ color: rgb(131, 49, 174);
/* oklch */ color: oklch(49.0% 0.193 311.3);
Tailwind
colors: {
  custom: {
    50: '#ab71c7',
    500: '#8331ae',
    950: '#000000',
  },
}
SCSS
$custom: #8331ae;
$custom-light: #ab71c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8331ae",
  "rgb": {
    "r": 131,
    "g": 49,
    "b": 174
  },
  "hsl": {
    "h": 279.36,
    "s": 56.054,
    "l": 43.725
  },
  "oklch": {
    "l": 0.48972,
    "c": 0.19335,
    "h": 311.3
  },
  "luminance": 0.10078
}

Semantic roles & 50–950 ramp

primary
#8331AE
secondary
#91C477
accent
#DF487C
background
#FAF7FC
surface
#F5EDF8
border
#CFC8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8331AE

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

Preview Lab → · Contrast checker → · Palette generator →

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