#8331BA#8331BA

#8331BA is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 49.9% C 0.205 H 307.8°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#8331BA
RGBrgb(131, 49, 186)
HSLhsl(276, 58%, 46%)
HSVhsv(276, 74%, 73%)
CMYKcmyk(29.6%, 73.7%, 0%, 27.1%)
CIE-LABlab(38.84, 57.59, -57.09)
CIE-LCHlch(38.84, 81.10, 315.25°)
OKLaboklab(49.85% 0.1257 -0.1621)
OKLCHoklch(49.85% 0.205 307.8)
XYZxyz(19.3194, 10.5674, 47.4668)
Luminance0.1057 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8331BA #68BA31
analogous
#3E31BA #8331BA #BA31AC
triadic
#8331BA #BA8331 #31BA83
tetradic
#8331BA #BA3E31 #68BA31 #31ACBA
square
#8331BA #BA3E31 #68BA31 #31ACBA
split-complementary
#8331BA #ACBA31 #31BA3E
monochromatic
#3F1759 #61248A #8331BA #A056D2 #BB86DF

Accessibility & contrast

On white

6.75
#8331BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8331BA
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8331BA#FFFFFF#000000##FFFFFF
##8331BA1.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BE
Deuteranopia (green-blind)
#005CB7
Tritanopia (blue-blind)
#7A5173
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8331ba;
/* rgb */ color: rgb(131, 49, 186);
/* oklch */ color: oklch(49.9% 0.205 307.8);
Tailwind
colors: {
  custom: {
    50: '#ac71d0',
    500: '#8331ba',
    950: '#000000',
  },
}
SCSS
$custom: #8331ba;
$custom-light: #ac71d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8331ba",
  "rgb": {
    "r": 131,
    "g": 49,
    "b": 186
  },
  "hsl": {
    "h": 275.912,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.49853,
    "c": 0.2051,
    "h": 307.8
  },
  "luminance": 0.10567
}

Semantic roles & 50–950 ramp

primary
#8331BA
secondary
#9CC97E
accent
#E24685
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #8331BA

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

Preview Lab → · Contrast checker → · Palette generator →

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