#7522AA#7522AA

#7522AA is a mid, highly saturated violet. Relative luminance 0.078; OKLCH L 45.4% C 0.202 H 307.6°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#7522AA
RGBrgb(117, 34, 170)
HSLhsl(277, 67%, 40%)
HSVhsv(277, 80%, 67%)
CMYKcmyk(31.2%, 80%, 0%, 33.3%)
CIE-LABlab(33.62, 57.28, -56.16)
CIE-LCHlch(33.62, 80.22, 315.57°)
OKLaboklab(45.38% 0.1231 -0.1597)
OKLCHoklch(45.38% 0.202 307.6)
XYZxyz(15.1623, 7.8285, 38.7347)
Luminance0.0783 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7522AA #57AA22
analogous
#3122AA #7522AA #AA229B
triadic
#7522AA #AA7522 #22AA75
tetradic
#7522AA #AA3122 #57AA22 #229BAA
square
#7522AA #AA3122 #57AA22 #229BAA
split-complementary
#7522AA #9BAA22 #22AA31
monochromatic
#2F0E44 #521877 #7522AA #9733D6 #B166E0

Accessibility & contrast

On white

8.19
#7522AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#7522AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7522AA#FFFFFF#000000##FFFFFF
##7522AA1.008.192.578.19
#FFFFFF8.191.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAE
Deuteranopia (green-blind)
#0050A7
Tritanopia (blue-blind)
#6C4566
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7522aa;
/* rgb */ color: rgb(117, 34, 170);
/* oklch */ color: oklch(45.4% 0.202 307.6);
Tailwind
colors: {
  custom: {
    50: '#a268c4',
    500: '#7522aa',
    950: '#000000',
  },
}
SCSS
$custom: #7522aa;
$custom-light: #a268c4;
$custom-dark: #000000;
JSON
{
  "hex": "#7522aa",
  "rgb": {
    "r": 117,
    "g": 34,
    "b": 170
  },
  "hsl": {
    "h": 276.618,
    "s": 66.667,
    "l": 40
  },
  "oklch": {
    "l": 0.45383,
    "c": 0.20161,
    "h": 307.6
  },
  "luminance": 0.07828
}

Semantic roles & 50–950 ramp

primary
#7522AA
secondary
#89C662
accent
#EA3E81
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7522AA

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

Preview Lab → · Contrast checker → · Palette generator →

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