#8531B2#8531B2

#8531B2 is a mid, vivid violet. Relative luminance 0.104; OKLCH L 49.5% C 0.198 H 310.9°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#8531B2
RGBrgb(133, 49, 178)
HSLhsl(279, 57%, 45%)
HSVhsv(279, 72%, 70%)
CMYKcmyk(25.3%, 72.5%, 0%, 30.2%)
CIE-LABlab(38.55, 56.23, -52.83)
CIE-LCHlch(38.55, 77.16, 316.79°)
OKLaboklab(49.52% 0.1296 -0.1495)
OKLCHoklch(49.52% 0.198 310.9)
XYZxyz(18.8055, 10.3980, 43.1272)
Luminance0.1040 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8531B2 #5EB231
analogous
#4531B2 #8531B2 #B2319F
triadic
#8531B2 #B28531 #31B285
tetradic
#8531B2 #B24531 #5EB231 #319FB2
square
#8531B2 #B24531 #5EB231 #319FB2
split-complementary
#8531B2 #9FB231 #31B245
monochromatic
#3D1752 #612482 #8531B2 #A351CF #BC81DC

Accessibility & contrast

On white

6.82
#8531B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#8531B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8531B2
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8531B2#FFFFFF#000000##FFFFFF
##8531B21.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)
#0057B6
Deuteranopia (green-blind)
#1B5CAF
Tritanopia (blue-blind)
#7F4E6F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8531b2;
/* rgb */ color: rgb(133, 49, 178);
/* oklch */ color: oklch(49.5% 0.198 310.9);
Tailwind
colors: {
  custom: {
    50: '#ad71ca',
    500: '#8531b2',
    950: '#000000',
  },
}
SCSS
$custom: #8531b2;
$custom-light: #ad71ca;
$custom-dark: #000000;
JSON
{
  "hex": "#8531b2",
  "rgb": {
    "r": 133,
    "g": 49,
    "b": 178
  },
  "hsl": {
    "h": 279.07,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.49521,
    "c": 0.19787,
    "h": 310.9
  },
  "luminance": 0.10398
}

Semantic roles & 50–950 ramp

primary
#8531B2
secondary
#94C579
accent
#E0487D
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8531B2

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

Preview Lab → · Contrast checker → · Palette generator →

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