#8331AD#8331AD

#8331AD is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.9% C 0.192 H 311.6°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#8331AD
RGBrgb(131, 49, 173)
HSLhsl(280, 56%, 44%)
HSVhsv(280, 72%, 68%)
CMYKcmyk(24.3%, 71.7%, 0%, 32.2%)
CIE-LABlab(37.91, 54.75, -50.90)
CIE-LCHlch(37.91, 74.75, 317.08°)
OKLaboklab(48.9% 0.1277 -0.1439)
OKLCHoklch(48.9% 0.192 311.6)
XYZxyz(17.9998, 10.0395, 40.5167)
Luminance0.1004 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8331AD #5BAD31
analogous
#4531AD #8331AD #AD3199
triadic
#8331AD #AD8331 #31AD83
tetradic
#8331AD #AD4531 #5BAD31 #3199AD
square
#8331AD #AD4531 #5BAD31 #3199AD
split-complementary
#8331AD #99AD31 #31AD45
monochromatic
#3B164E #5F237D #8331AD #A24ECD #BB7EDA

Accessibility & contrast

On white

6.98
#8331AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#8331AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8331AD
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8331AD#FFFFFF#000000##FFFFFF
##8331AD1.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B1
Deuteranopia (green-blind)
#205BAA
Tritanopia (blue-blind)
#7E4C6C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8331ad;
/* rgb */ color: rgb(131, 49, 173);
/* oklch */ color: oklch(48.9% 0.192 311.6);
Tailwind
colors: {
  custom: {
    50: '#ab70c6',
    500: '#8331ad',
    950: '#000000',
  },
}
SCSS
$custom: #8331ad;
$custom-light: #ab70c6;
$custom-dark: #000000;
JSON
{
  "hex": "#8331ad",
  "rgb": {
    "r": 131,
    "g": 49,
    "b": 173
  },
  "hsl": {
    "h": 279.677,
    "s": 55.856,
    "l": 43.529
  },
  "oklch": {
    "l": 0.489,
    "c": 0.19237,
    "h": 311.6
  },
  "luminance": 0.10039
}

Semantic roles & 50–950 ramp

primary
#8331AD
secondary
#91C377
accent
#DF497C
background
#FAF7FC
surface
#F5EDF8
border
#CFC8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8331AD

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

Preview Lab → · Contrast checker → · Palette generator →

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