#8331B0#8331B0

#8331B0 is a mid, vivid violet. Relative luminance 0.102; OKLCH L 49.1% C 0.195 H 310.7°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#8331B0
RGBrgb(131, 49, 176)
HSLhsl(279, 56%, 44%)
HSVhsv(279, 72%, 69%)
CMYKcmyk(25.6%, 72.2%, 0%, 31%)
CIE-LABlab(38.12, 55.40, -52.35)
CIE-LCHlch(38.12, 76.22, 316.62°)
OKLaboklab(49.12% 0.1273 -0.1481)
OKLCHoklch(49.12% 0.195 310.7)
XYZxyz(18.2934, 10.1569, 42.0627)
Luminance0.1016 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8331B0 #5EB031
analogous
#4431B0 #8331B0 #B0319E
triadic
#8331B0 #B08331 #31B083
tetradic
#8331B0 #B04431 #5EB031 #319EB0
square
#8331B0 #B04431 #5EB031 #319EB0
split-complementary
#8331B0 #9EB031 #31B044
monochromatic
#3C1650 #5F2480 #8331B0 #A250CE #BB80DC

Accessibility & contrast

On white

6.93
#8331B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#8331B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8331B0
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8331B0#FFFFFF#000000##FFFFFF
##8331B01.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B4
Deuteranopia (green-blind)
#1B5BAD
Tritanopia (blue-blind)
#7D4D6D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8331b0;
/* rgb */ color: rgb(131, 49, 176);
/* oklch */ color: oklch(49.1% 0.195 310.7);
Tailwind
colors: {
  custom: {
    50: '#ab71c8',
    500: '#8331b0',
    950: '#000000',
  },
}
SCSS
$custom: #8331b0;
$custom-light: #ab71c8;
$custom-dark: #000000;
JSON
{
  "hex": "#8331b0",
  "rgb": {
    "r": 131,
    "g": 49,
    "b": 176
  },
  "hsl": {
    "h": 278.74,
    "s": 56.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.49116,
    "c": 0.19529,
    "h": 310.7
  },
  "luminance": 0.10157
}

Semantic roles & 50–950 ramp

primary
#8331B0
secondary
#93C578
accent
#E0487E
background
#FAF7FC
surface
#F5EDF8
border
#CFC8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8331B0

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

Preview Lab → · Contrast checker → · Palette generator →

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