#7522AC#7522AC

#7522AC is a mid, highly saturated violet. Relative luminance 0.079; OKLCH L 45.5% C 0.203 H 307.0°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#7522AC
RGBrgb(117, 34, 172)
HSLhsl(276, 67%, 40%)
HSVhsv(276, 80%, 67%)
CMYKcmyk(32%, 80.2%, 0%, 32.5%)
CIE-LABlab(33.78, 57.72, -57.09)
CIE-LCHlch(33.78, 81.19, 315.31°)
OKLaboklab(45.55% 0.1225 -0.1625)
OKLCHoklch(45.55% 0.203 307)
XYZxyz(15.3529, 7.9047, 39.7387)
Luminance0.0790 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7522AC #59AC22
analogous
#3022AC #7522AC #AC229E
triadic
#7522AC #AC7522 #22AC75
tetradic
#7522AC #AC3022 #59AC22 #229EAC
square
#7522AC #AC3022 #59AC22 #229EAC
split-complementary
#7522AC #9EAC22 #22AC30
monochromatic
#2F0E46 #521879 #7522AC #9634D7 #B167E1

Accessibility & contrast

On white

8.14
#7522AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#7522AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7522AC
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7522AC#FFFFFF#000000##FFFFFF
##7522AC1.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB0
Deuteranopia (green-blind)
#0050A9
Tritanopia (blue-blind)
#6B4668
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7522ac;
/* rgb */ color: rgb(117, 34, 172);
/* oklch */ color: oklch(45.5% 0.203 307.0);
Tailwind
colors: {
  custom: {
    50: '#a268c6',
    500: '#7522ac',
    950: '#000000',
  },
}
SCSS
$custom: #7522ac;
$custom-light: #a268c6;
$custom-dark: #000000;
JSON
{
  "hex": "#7522ac",
  "rgb": {
    "r": 117,
    "g": 34,
    "b": 172
  },
  "hsl": {
    "h": 276.087,
    "s": 66.99,
    "l": 40.392
  },
  "oklch": {
    "l": 0.45545,
    "c": 0.20349,
    "h": 307
  },
  "luminance": 0.07905
}

Semantic roles & 50–950 ramp

primary
#7522AC
secondary
#8BC763
accent
#EA3E82
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7522AC

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

Preview Lab → · Contrast checker → · Palette generator →

#7522AC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva