#8331B1#8331B1

#8331B1 is a mid, vivid violet. Relative luminance 0.102; OKLCH L 49.2% C 0.196 H 310.4°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#8331B1
RGBrgb(131, 49, 177)
HSLhsl(278, 57%, 44%)
HSVhsv(278, 72%, 69%)
CMYKcmyk(26%, 72.3%, 0%, 30.6%)
CIE-LABlab(38.19, 55.61, -52.83)
CIE-LCHlch(38.19, 76.70, 316.47°)
OKLaboklab(49.19% 0.1271 -0.1495)
OKLCHoklch(49.19% 0.196 310.4)
XYZxyz(18.3927, 10.1967, 42.5857)
Luminance0.1020 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8331B1 #5FB131
analogous
#4331B1 #8331B1 #B1319F
triadic
#8331B1 #B18331 #31B183
tetradic
#8331B1 #B14331 #5FB131 #319FB1
square
#8331B1 #B14331 #5FB131 #319FB1
split-complementary
#8331B1 #9FB131 #31B143
monochromatic
#3C1651 #602481 #8331B1 #A151CF #BB80DC

Accessibility & contrast

On white

6.91
#8331B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#8331B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8331B1
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8331B1#FFFFFF#000000##FFFFFF
##8331B11.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B5
Deuteranopia (green-blind)
#195BAE
Tritanopia (blue-blind)
#7D4E6E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8331b1;
/* rgb */ color: rgb(131, 49, 177);
/* oklch */ color: oklch(49.2% 0.196 310.4);
Tailwind
colors: {
  custom: {
    50: '#ab71c9',
    500: '#8331b1',
    950: '#000000',
  },
}
SCSS
$custom: #8331b1;
$custom-light: #ab71c9;
$custom-dark: #000000;
JSON
{
  "hex": "#8331b1",
  "rgb": {
    "r": 131,
    "g": 49,
    "b": 177
  },
  "hsl": {
    "h": 278.438,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.49188,
    "c": 0.19627,
    "h": 310.4
  },
  "luminance": 0.10196
}

Semantic roles & 50–950 ramp

primary
#8331B1
secondary
#94C579
accent
#E0487F
background
#FAF7FC
surface
#F5EDF8
border
#CFC8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8331B1

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

Preview Lab → · Contrast checker → · Palette generator →

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