#7522A3#7522A3

#7522A3 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.8% C 0.195 H 309.7°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#7522A3
RGBrgb(117, 34, 163)
HSLhsl(279, 65%, 39%)
HSVhsv(279, 79%, 64%)
CMYKcmyk(28.2%, 79.1%, 0%, 36.1%)
CIE-LABlab(33.07, 55.76, -52.84)
CIE-LCHlch(33.07, 76.82, 316.54°)
OKLaboklab(44.83% 0.1247 -0.15)
OKLCHoklch(44.83% 0.195 309.7)
XYZxyz(14.5177, 7.5706, 35.3397)
Luminance0.0757 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7522A3 #50A322
analogous
#3522A3 #7522A3 #A32290
triadic
#7522A3 #A37522 #22A375
tetradic
#7522A3 #A33522 #50A322 #2290A3
square
#7522A3 #A33522 #50A322 #2290A3
split-complementary
#7522A3 #90A322 #22A335
monochromatic
#2C0D3E #511770 #7522A3 #992FD4 #B261DE

Accessibility & contrast

On white

8.35
#7522A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#7522A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7522A3#FFFFFF#000000##FFFFFF
##7522A31.008.352.518.35
#FFFFFF8.351.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA6
Deuteranopia (green-blind)
#004FA0
Tritanopia (blue-blind)
#6E4262
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7522a3;
/* rgb */ color: rgb(117, 34, 163);
/* oklch */ color: oklch(44.8% 0.195 309.7);
Tailwind
colors: {
  custom: {
    50: '#a267bf',
    500: '#7522a3',
    950: '#000000',
  },
}
SCSS
$custom: #7522a3;
$custom-light: #a267bf;
$custom-dark: #000000;
JSON
{
  "hex": "#7522a3",
  "rgb": {
    "r": 117,
    "g": 34,
    "b": 163
  },
  "hsl": {
    "h": 278.605,
    "s": 65.482,
    "l": 38.627
  },
  "oklch": {
    "l": 0.44825,
    "c": 0.19505,
    "h": 309.7
  },
  "luminance": 0.0757
}

Semantic roles & 50–950 ramp

primary
#7522A3
secondary
#82C35E
accent
#E83F7C
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7522A3

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

Preview Lab → · Contrast checker → · Palette generator →

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