#8331B9#8331B9

#8331B9 is a mid, highly saturated violet. Relative luminance 0.105; OKLCH L 49.8% C 0.204 H 308.1°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#8331B9
RGBrgb(131, 49, 185)
HSLhsl(276, 58%, 46%)
HSVhsv(276, 74%, 73%)
CMYKcmyk(29.2%, 73.5%, 0%, 27.5%)
CIE-LABlab(38.77, 57.37, -56.62)
CIE-LCHlch(38.77, 80.61, 315.38°)
OKLaboklab(49.78% 0.1259 -0.1607)
OKLCHoklch(49.78% 0.204 308.1)
XYZxyz(19.2135, 10.5250, 46.9089)
Luminance0.1052 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8331B9 #67B931
analogous
#3F31B9 #8331B9 #B931AB
triadic
#8331B9 #B98331 #31B983
tetradic
#8331B9 #B93F31 #67B931 #31ABB9
square
#8331B9 #B93F31 #67B931 #31ABB9
split-complementary
#8331B9 #ABB931 #31B93F
monochromatic
#3E1758 #612489 #8331B9 #A055D2 #BB86DF

Accessibility & contrast

On white

6.76
#8331B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#8331B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8331B9
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8331B9#FFFFFF#000000##FFFFFF
##8331B91.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BD
Deuteranopia (green-blind)
#005CB6
Tritanopia (blue-blind)
#7A5172
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8331b9;
/* rgb */ color: rgb(131, 49, 185);
/* oklch */ color: oklch(49.8% 0.204 308.1);
Tailwind
colors: {
  custom: {
    50: '#ac71cf',
    500: '#8331b9',
    950: '#000000',
  },
}
SCSS
$custom: #8331b9;
$custom-light: #ac71cf;
$custom-dark: #000000;
JSON
{
  "hex": "#8331b9",
  "rgb": {
    "r": 131,
    "g": 49,
    "b": 185
  },
  "hsl": {
    "h": 276.176,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.49778,
    "c": 0.20412,
    "h": 308.1
  },
  "luminance": 0.10525
}

Semantic roles & 50–950 ramp

primary
#8331B9
secondary
#9BC87D
accent
#E14684
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #8331B9

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

Preview Lab → · Contrast checker → · Palette generator →

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