#8331B5#8331B5

#8331B5 is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.5% C 0.200 H 309.2°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#8331B5
RGBrgb(131, 49, 181)
HSLhsl(277, 57%, 45%)
HSVhsv(277, 73%, 71%)
CMYKcmyk(27.6%, 72.9%, 0%, 29%)
CIE-LABlab(38.48, 56.49, -54.73)
CIE-LCHlch(38.48, 78.66, 315.90°)
OKLaboklab(49.48% 0.1265 -0.1551)
OKLCHoklch(49.48% 0.2 309.2)
XYZxyz(18.7972, 10.3585, 44.7163)
Luminance0.1036 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8331B5 #63B531
analogous
#4131B5 #8331B5 #B531A5
triadic
#8331B5 #B58331 #31B583
tetradic
#8331B5 #B54131 #63B531 #31A5B5
square
#8331B5 #B54131 #63B531 #31A5B5
split-complementary
#8331B5 #A5B531 #31B541
monochromatic
#3D1755 #602485 #8331B5 #A153D0 #BB83DD

Accessibility & contrast

On white

6.84
#8331B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#8331B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8331B5
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8331B5#FFFFFF#000000##FFFFFF
##8331B51.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B9
Deuteranopia (green-blind)
#0E5CB2
Tritanopia (blue-blind)
#7C4F70
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8331b5;
/* rgb */ color: rgb(131, 49, 181);
/* oklch */ color: oklch(49.5% 0.200 309.2);
Tailwind
colors: {
  custom: {
    50: '#ac71cc',
    500: '#8331b5',
    950: '#000000',
  },
}
SCSS
$custom: #8331b5;
$custom-light: #ac71cc;
$custom-dark: #000000;
JSON
{
  "hex": "#8331b5",
  "rgb": {
    "r": 131,
    "g": 49,
    "b": 181
  },
  "hsl": {
    "h": 277.273,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.4948,
    "c": 0.2002,
    "h": 309.2
  },
  "luminance": 0.10358
}

Semantic roles & 50–950 ramp

primary
#8331B5
secondary
#98C77B
accent
#E14781
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110813
muted
#807B82

Preview Lab

Preview with #8331B5

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

Preview Lab → · Contrast checker → · Palette generator →

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