#8531B1#8531B1

#8531B1 is a mid, vivid violet. Relative luminance 0.104; OKLCH L 49.4% C 0.197 H 311.2°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#8531B1
RGBrgb(133, 49, 177)
HSLhsl(279, 57%, 44%)
HSVhsv(279, 72%, 69%)
CMYKcmyk(24.9%, 72.3%, 0%, 30.6%)
CIE-LABlab(38.48, 56.02, -52.35)
CIE-LCHlch(38.48, 76.67, 316.94°)
OKLaboklab(49.45% 0.1298 -0.1481)
OKLCHoklch(49.45% 0.197 311.2)
XYZxyz(18.7055, 10.3580, 42.6004)
Luminance0.1036 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8531B1 #5DB131
analogous
#4531B1 #8531B1 #B1319D
triadic
#8531B1 #B18531 #31B185
tetradic
#8531B1 #B14531 #5DB131 #319DB1
square
#8531B1 #B14531 #5DB131 #319DB1
split-complementary
#8531B1 #9DB131 #31B145
monochromatic
#3D1651 #612481 #8531B1 #A351CF #BD80DC

Accessibility & contrast

On white

6.84
#8531B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#8531B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8531B1
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8531B1#FFFFFF#000000##FFFFFF
##8531B11.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)
#0057B5
Deuteranopia (green-blind)
#1D5CAE
Tritanopia (blue-blind)
#7F4D6E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8531b1;
/* rgb */ color: rgb(133, 49, 177);
/* oklch */ color: oklch(49.4% 0.197 311.2);
Tailwind
colors: {
  custom: {
    50: '#ad71c9',
    500: '#8531b1',
    950: '#000000',
  },
}
SCSS
$custom: #8531b1;
$custom-light: #ad71c9;
$custom-dark: #000000;
JSON
{
  "hex": "#8531b1",
  "rgb": {
    "r": 133,
    "g": 49,
    "b": 177
  },
  "hsl": {
    "h": 279.375,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.49449,
    "c": 0.19691,
    "h": 311.2
  },
  "luminance": 0.10357
}

Semantic roles & 50–950 ramp

primary
#8531B1
secondary
#93C579
accent
#E0487C
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8531B1

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

Preview Lab → · Contrast checker → · Palette generator →

#8531B1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva