#7522AD#7522AD

#7522AD is a mid, highly saturated violet. Relative luminance 0.079; OKLCH L 45.6% C 0.204 H 306.7°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#7522AD
RGBrgb(117, 34, 173)
HSLhsl(276, 67%, 41%)
HSVhsv(276, 80%, 68%)
CMYKcmyk(32.4%, 80.3%, 0%, 32.2%)
CIE-LABlab(33.86, 57.94, -57.56)
CIE-LCHlch(33.86, 81.67, 315.19°)
OKLaboklab(45.63% 0.1223 -0.1638)
OKLCHoklch(45.63% 0.204 306.7)
XYZxyz(15.4493, 7.9433, 40.2464)
Luminance0.0794 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7522AD #5AAD22
analogous
#2F22AD #7522AD #AD22A0
triadic
#7522AD #AD7522 #22AD75
tetradic
#7522AD #AD2F22 #5AAD22 #22A0AD
square
#7522AD #AD2F22 #5AAD22 #22A0AD
split-complementary
#7522AD #A0AD22 #22AD2F
monochromatic
#300E47 #52187A #7522AD #9635D7 #B068E1

Accessibility & contrast

On white

8.11
#7522AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#7522AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7522AD
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7522AD#FFFFFF#000000##FFFFFF
##7522AD1.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB1
Deuteranopia (green-blind)
#0050AA
Tritanopia (blue-blind)
#6B4768
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7522ad;
/* rgb */ color: rgb(117, 34, 173);
/* oklch */ color: oklch(45.6% 0.204 306.7);
Tailwind
colors: {
  custom: {
    50: '#a268c6',
    500: '#7522ad',
    950: '#000000',
  },
}
SCSS
$custom: #7522ad;
$custom-light: #a268c6;
$custom-dark: #000000;
JSON
{
  "hex": "#7522ad",
  "rgb": {
    "r": 117,
    "g": 34,
    "b": 173
  },
  "hsl": {
    "h": 275.827,
    "s": 67.15,
    "l": 40.588
  },
  "oklch": {
    "l": 0.45626,
    "c": 0.20443,
    "h": 306.7
  },
  "luminance": 0.07943
}

Semantic roles & 50–950 ramp

primary
#7522AD
secondary
#8CC764
accent
#EA3E83
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7522AD

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

Preview Lab → · Contrast checker → · Palette generator →

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