#7522A5#7522A5

#7522A5 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 45.0% C 0.197 H 309.1°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#7522A5
RGBrgb(117, 34, 165)
HSLhsl(278, 66%, 39%)
HSVhsv(278, 79%, 65%)
CMYKcmyk(29.1%, 79.4%, 0%, 35.3%)
CIE-LABlab(33.23, 56.19, -53.79)
CIE-LCHlch(33.23, 77.79, 316.25°)
OKLaboklab(44.98% 0.1243 -0.1528)
OKLCHoklch(44.98% 0.197 309.1)
XYZxyz(14.6983, 7.6429, 36.2909)
Luminance0.0764 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7522A5 #52A522
analogous
#3422A5 #7522A5 #A52294
triadic
#7522A5 #A57522 #22A575
tetradic
#7522A5 #A53422 #52A522 #2294A5
square
#7522A5 #A53422 #52A522 #2294A5
split-complementary
#7522A5 #94A522 #22A534
monochromatic
#2D0D40 #511872 #7522A5 #9830D4 #B163DF

Accessibility & contrast

On white

8.30
#7522A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#7522A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7522A5#FFFFFF#000000##FFFFFF
##7522A51.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA9
Deuteranopia (green-blind)
#004FA2
Tritanopia (blue-blind)
#6E4364
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7522a5;
/* rgb */ color: rgb(117, 34, 165);
/* oklch */ color: oklch(45.0% 0.197 309.1);
Tailwind
colors: {
  custom: {
    50: '#a267c1',
    500: '#7522a5',
    950: '#000000',
  },
}
SCSS
$custom: #7522a5;
$custom-light: #a267c1;
$custom-dark: #000000;
JSON
{
  "hex": "#7522a5",
  "rgb": {
    "r": 117,
    "g": 34,
    "b": 165
  },
  "hsl": {
    "h": 278.015,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.44983,
    "c": 0.19692,
    "h": 309.1
  },
  "luminance": 0.07643
}

Semantic roles & 50–950 ramp

primary
#7522A5
secondary
#84C45F
accent
#E93F7D
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7522A5

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

Preview Lab → · Contrast checker → · Palette generator →

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