#7522A9#7522A9

#7522A9 is a mid, highly saturated violet. Relative luminance 0.078; OKLCH L 45.3% C 0.201 H 307.9°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#7522A9
RGBrgb(117, 34, 169)
HSLhsl(277, 67%, 40%)
HSVhsv(277, 80%, 66%)
CMYKcmyk(30.8%, 79.9%, 0%, 33.7%)
CIE-LABlab(33.54, 57.06, -55.69)
CIE-LCHlch(33.54, 79.73, 315.70°)
OKLaboklab(45.3% 0.1233 -0.1583)
OKLCHoklch(45.3% 0.201 307.9)
XYZxyz(15.0681, 7.7908, 38.2384)
Luminance0.0779 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7522A9 #56A922
analogous
#3222A9 #7522A9 #A92299
triadic
#7522A9 #A97522 #22A975
tetradic
#7522A9 #A93222 #56A922 #2299A9
square
#7522A9 #A93222 #56A922 #2299A9
split-complementary
#7522A9 #99A922 #22A932
monochromatic
#2E0D43 #521876 #7522A9 #9732D6 #B165E0

Accessibility & contrast

On white

8.21
#7522A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#7522A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7522A9#FFFFFF#000000##FFFFFF
##7522A91.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7522a9;
/* rgb */ color: rgb(117, 34, 169);
/* oklch */ color: oklch(45.3% 0.201 307.9);
Tailwind
colors: {
  custom: {
    50: '#a268c3',
    500: '#7522a9',
    950: '#000000',
  },
}
SCSS
$custom: #7522a9;
$custom-light: #a268c3;
$custom-dark: #000000;
JSON
{
  "hex": "#7522a9",
  "rgb": {
    "r": 117,
    "g": 34,
    "b": 169
  },
  "hsl": {
    "h": 276.889,
    "s": 66.502,
    "l": 39.804
  },
  "oklch": {
    "l": 0.45302,
    "c": 0.20067,
    "h": 307.9
  },
  "luminance": 0.07791
}

Semantic roles & 50–950 ramp

primary
#7522A9
secondary
#88C561
accent
#E93E80
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7522A9

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

Preview Lab → · Contrast checker → · Palette generator →

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