#8331B6#8331B6

#8331B6 is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.6% C 0.201 H 308.9°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#8331B6
RGBrgb(131, 49, 182)
HSLhsl(277, 58%, 45%)
HSVhsv(277, 73%, 71%)
CMYKcmyk(28%, 73.1%, 0%, 28.6%)
CIE-LABlab(38.55, 56.71, -55.21)
CIE-LCHlch(38.55, 79.14, 315.77°)
OKLaboklab(49.55% 0.1264 -0.1565)
OKLCHoklch(49.55% 0.201 308.9)
XYZxyz(18.9002, 10.3997, 45.2586)
Luminance0.1040 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8331B6 #64B631
analogous
#4031B6 #8331B6 #B631A7
triadic
#8331B6 #B68331 #31B683
tetradic
#8331B6 #B64031 #64B631 #31A7B6
square
#8331B6 #B64031 #64B631 #31A7B6
split-complementary
#8331B6 #A7B631 #31B640
monochromatic
#3E1756 #602486 #8331B6 #A153D1 #BB84DE

Accessibility & contrast

On white

6.82
#8331B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#8331B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8331B6
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8331B6#FFFFFF#000000##FFFFFF
##8331B61.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BA
Deuteranopia (green-blind)
#0A5CB3
Tritanopia (blue-blind)
#7B5071
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8331b6;
/* rgb */ color: rgb(131, 49, 182);
/* oklch */ color: oklch(49.6% 0.201 308.9);
Tailwind
colors: {
  custom: {
    50: '#ac71cd',
    500: '#8331b6',
    950: '#000000',
  },
}
SCSS
$custom: #8331b6;
$custom-light: #ac71cd;
$custom-dark: #000000;
JSON
{
  "hex": "#8331b6",
  "rgb": {
    "r": 131,
    "g": 49,
    "b": 182
  },
  "hsl": {
    "h": 276.992,
    "s": 57.576,
    "l": 45.294
  },
  "oklch": {
    "l": 0.49554,
    "c": 0.20117,
    "h": 308.9
  },
  "luminance": 0.10399
}

Semantic roles & 50–950 ramp

primary
#8331B6
secondary
#99C77C
accent
#E14782
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110813
muted
#807B82

Preview Lab

Preview with #8331B6

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

Preview Lab → · Contrast checker → · Palette generator →

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