#7522A7#7522A7

#7522A7 is a mid, vivid violet. Relative luminance 0.077; OKLCH L 45.1% C 0.199 H 308.5°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#7522A7
RGBrgb(117, 34, 167)
HSLhsl(277, 66%, 39%)
HSVhsv(277, 80%, 65%)
CMYKcmyk(29.9%, 79.6%, 0%, 34.5%)
CIE-LABlab(33.38, 56.62, -54.74)
CIE-LCHlch(33.38, 78.76, 315.97°)
OKLaboklab(45.14% 0.1238 -0.1555)
OKLCHoklch(45.14% 0.199 308.5)
XYZxyz(14.8817, 7.7162, 37.2571)
Luminance0.0772 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7522A7 #54A722
analogous
#3322A7 #7522A7 #A72296
triadic
#7522A7 #A77522 #22A775
tetradic
#7522A7 #A73322 #54A722 #2296A7
square
#7522A7 #A73322 #54A722 #2296A7
split-complementary
#7522A7 #96A722 #22A733
monochromatic
#2E0D41 #511874 #7522A7 #9731D5 #B164DF

Accessibility & contrast

On white

8.26
#7522A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#7522A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7522A7#FFFFFF#000000##FFFFFF
##7522A71.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAB
Deuteranopia (green-blind)
#004FA4
Tritanopia (blue-blind)
#6D4465
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7522a7;
/* rgb */ color: rgb(117, 34, 167);
/* oklch */ color: oklch(45.1% 0.199 308.5);
Tailwind
colors: {
  custom: {
    50: '#a268c2',
    500: '#7522a7',
    950: '#000000',
  },
}
SCSS
$custom: #7522a7;
$custom-light: #a268c2;
$custom-dark: #000000;
JSON
{
  "hex": "#7522a7",
  "rgb": {
    "r": 117,
    "g": 34,
    "b": 167
  },
  "hsl": {
    "h": 277.444,
    "s": 66.169,
    "l": 39.412
  },
  "oklch": {
    "l": 0.45142,
    "c": 0.1988,
    "h": 308.5
  },
  "luminance": 0.07716
}

Semantic roles & 50–950 ramp

primary
#7522A7
secondary
#86C560
accent
#E93F7F
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7522A7

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

Preview Lab → · Contrast checker → · Palette generator →

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