#7522A0#7522A0

#7522A0 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.6% C 0.192 H 310.7°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#7522A0
RGBrgb(117, 34, 160)
HSLhsl(280, 65%, 38%)
HSVhsv(280, 79%, 63%)
CMYKcmyk(26.9%, 78.8%, 0%, 37.3%)
CIE-LABlab(32.84, 55.11, -51.40)
CIE-LCHlch(32.84, 75.36, 317.00°)
OKLaboklab(44.59% 0.1254 -0.1457)
OKLCHoklch(44.59% 0.192 310.7)
XYZxyz(14.2521, 7.4644, 33.9409)
Luminance0.0746 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7522A0 #4DA022
analogous
#3622A0 #7522A0 #A0228C
triadic
#7522A0 #A07522 #22A075
tetradic
#7522A0 #A03622 #4DA022 #228CA0
square
#7522A0 #A03622 #4DA022 #228CA0
split-complementary
#7522A0 #8CA022 #22A036
monochromatic
#2B0D3B #50176E #7522A0 #9A2DD2 #B25FDD

Accessibility & contrast

On white

8.42
#7522A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#7522A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7522A0#FFFFFF#000000##FFFFFF
##7522A01.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA3
Deuteranopia (green-blind)
#004F9D
Tritanopia (blue-blind)
#6F4161
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7522a0;
/* rgb */ color: rgb(117, 34, 160);
/* oklch */ color: oklch(44.6% 0.192 310.7);
Tailwind
colors: {
  custom: {
    50: '#a167bd',
    500: '#7522a0',
    950: '#000000',
  },
}
SCSS
$custom: #7522a0;
$custom-light: #a167bd;
$custom-dark: #000000;
JSON
{
  "hex": "#7522a0",
  "rgb": {
    "r": 117,
    "g": 34,
    "b": 160
  },
  "hsl": {
    "h": 279.524,
    "s": 64.948,
    "l": 38.039
  },
  "oklch": {
    "l": 0.44591,
    "c": 0.19223,
    "h": 310.7
  },
  "luminance": 0.07464
}

Semantic roles & 50–950 ramp

primary
#7522A0
secondary
#7FC25C
accent
#E84079
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #7522A0

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

Preview Lab → · Contrast checker → · Palette generator →

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