#8522C1#8522C1

#8522C1 is a mid, highly saturated violet. Relative luminance 0.100; OKLCH L 49.4% C 0.227 H 307.9°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#8522C1
RGBrgb(133, 34, 193)
HSLhsl(277, 70%, 45%)
HSVhsv(277, 82%, 76%)
CMYKcmyk(31.1%, 82.4%, 0%, 24.3%)
CIE-LABlab(37.81, 64.81, -62.87)
CIE-LCHlch(37.81, 90.30, 315.87°)
OKLaboklab(49.36% 0.1391 -0.1789)
OKLCHoklch(49.36% 0.227 307.9)
XYZxyz(19.8685, 9.9812, 51.3216)
Luminance0.0998 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8522C1 #5EC122
analogous
#3522C1 #8522C1 #C122AE
triadic
#8522C1 #C18522 #22C185
tetradic
#8522C1 #C13522 #5EC122 #22AEC1
square
#8522C1 #C13522 #5EC122 #22AEC1
split-complementary
#8522C1 #AEC122 #22C135
monochromatic
#3D1059 #61198D #8522C1 #A342DE #BC76E7

Accessibility & contrast

On white

7.01
#8522C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#8522C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8522C1
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8522C1#FFFFFF#000000##FFFFFF
##8522C11.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C5
Deuteranopia (green-blind)
#005ABE
Tritanopia (blue-blind)
#7B4E74
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8522c1;
/* rgb */ color: rgb(133, 34, 193);
/* oklch */ color: oklch(49.4% 0.227 307.9);
Tailwind
colors: {
  custom: {
    50: '#ae6bd5',
    500: '#8522c1',
    950: '#000000',
  },
}
SCSS
$custom: #8522c1;
$custom-light: #ae6bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#8522c1",
  "rgb": {
    "r": 133,
    "g": 34,
    "b": 193
  },
  "hsl": {
    "h": 277.358,
    "s": 70.044,
    "l": 44.51
  },
  "oklch": {
    "l": 0.49355,
    "c": 0.22658,
    "h": 307.9
  },
  "luminance": 0.09981
}

Semantic roles & 50–950 ramp

primary
#8522C1
secondary
#94CE71
accent
#ED3B7E
background
#FBF6FD
surface
#F6ECFA
border
#D0C7D3
text
#110714
muted
#807A83

Preview Lab

Preview with #8522C1

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

Preview Lab → · Contrast checker → · Palette generator →

#8522C1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva