#8531E2#8531E2

#8531E2 is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 53.3% C 0.245 H 299.1°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#8531E2
RGBrgb(133, 49, 226)
HSLhsl(268, 75%, 54%)
HSVhsv(268, 78%, 89%)
CMYKcmyk(41.2%, 78.3%, 0%, 11.4%)
CIE-LABlab(42.27, 67.03, -74.66)
CIE-LCHlch(42.27, 100.34, 311.92°)
OKLaboklab(53.29% 0.119 -0.2136)
OKLCHoklch(53.29% 0.245 299.1)
XYZxyz(24.4951, 12.6738, 73.0925)
Luminance0.1267 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8531E2 #8EE231
analogous
#3136E2 #8531E2 #DE31E2
triadic
#8531E2 #E28531 #31E285
tetradic
#8531E2 #E23136 #8EE231 #31E2DE
square
#8531E2 #E23136 #8EE231 #31E2DE
split-complementary
#8531E2 #E2DE31 #36E231
monochromatic
#491386 #671ABB #8531E2 #A567EA #C59CF1

Accessibility & contrast

On white

5.94
#8531E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#8531E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8531E2
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8531E2#FFFFFF#000000##FFFFFF
##8531E21.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064E7
Deuteranopia (green-blind)
#0062DF
Tritanopia (blue-blind)
#6E628A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8531e2;
/* rgb */ color: rgb(133, 49, 226);
/* oklch */ color: oklch(53.3% 0.245 299.1);
Tailwind
colors: {
  custom: {
    50: '#b173ec',
    500: '#8531e2',
    950: '#000000',
  },
}
SCSS
$custom: #8531e2;
$custom-light: #b173ec;
$custom-dark: #000000;
JSON
{
  "hex": "#8531e2",
  "rgb": {
    "r": 133,
    "g": 49,
    "b": 226
  },
  "hsl": {
    "h": 268.475,
    "s": 75.319,
    "l": 53.922
  },
  "oklch": {
    "l": 0.53294,
    "c": 0.24453,
    "h": 299.1
  },
  "luminance": 0.12674
}

Semantic roles & 50–950 ramp

primary
#8531E2
secondary
#B9DD92
accent
#F23699
background
#FBF7FE
surface
#F6EDFD
border
#D0C8D5
text
#120916
muted
#817B84

Preview Lab

Preview with #8531E2

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

Preview Lab → · Contrast checker → · Palette generator →

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