#8331B8#8331B8

#8331B8 is a mid, highly saturated violet. Relative luminance 0.105; OKLCH L 49.7% C 0.203 H 308.3°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#8331B8
RGBrgb(131, 49, 184)
HSLhsl(276, 58%, 46%)
HSVhsv(276, 73%, 72%)
CMYKcmyk(28.8%, 73.4%, 0%, 27.8%)
CIE-LABlab(38.70, 57.15, -56.15)
CIE-LCHlch(38.70, 80.12, 315.50°)
OKLaboklab(49.7% 0.126 -0.1593)
OKLCHoklch(49.7% 0.203 308.3)
XYZxyz(19.1083, 10.4829, 46.3549)
Luminance0.1048 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8331B8 #66B831
analogous
#3F31B8 #8331B8 #B831AA
triadic
#8331B8 #B88331 #31B883
tetradic
#8331B8 #B83F31 #66B831 #31AAB8
square
#8331B8 #B83F31 #66B831 #31AAB8
split-complementary
#8331B8 #AAB831 #31B83F
monochromatic
#3E1757 #612488 #8331B8 #A155D2 #BB85DE

Accessibility & contrast

On white

6.78
#8331B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#8331B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8331B8
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8331B8#FFFFFF#000000##FFFFFF
##8331B81.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BC
Deuteranopia (green-blind)
#025CB5
Tritanopia (blue-blind)
#7B5172
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8331b8;
/* rgb */ color: rgb(131, 49, 184);
/* oklch */ color: oklch(49.7% 0.203 308.3);
Tailwind
colors: {
  custom: {
    50: '#ac71ce',
    500: '#8331b8',
    950: '#000000',
  },
}
SCSS
$custom: #8331b8;
$custom-light: #ac71ce;
$custom-dark: #000000;
JSON
{
  "hex": "#8331b8",
  "rgb": {
    "r": 131,
    "g": 49,
    "b": 184
  },
  "hsl": {
    "h": 276.444,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.49703,
    "c": 0.20314,
    "h": 308.3
  },
  "luminance": 0.10483
}

Semantic roles & 50–950 ramp

primary
#8331B8
secondary
#9AC87D
accent
#E14783
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #8331B8

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

Preview Lab → · Contrast checker → · Palette generator →

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