#7522A8#7522A8

#7522A8 is a mid, vivid violet. Relative luminance 0.078; OKLCH L 45.2% C 0.200 H 308.2°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#7522A8
RGBrgb(117, 34, 168)
HSLhsl(277, 66%, 40%)
HSVhsv(277, 80%, 66%)
CMYKcmyk(30.4%, 79.8%, 0%, 34.1%)
CIE-LABlab(33.46, 56.84, -55.21)
CIE-LCHlch(33.46, 79.24, 315.83°)
OKLaboklab(45.22% 0.1236 -0.1569)
OKLCHoklch(45.22% 0.2 308.2)
XYZxyz(14.9745, 7.7534, 37.7459)
Luminance0.0775 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7522A8 #55A822
analogous
#3222A8 #7522A8 #A82298
triadic
#7522A8 #A87522 #22A875
tetradic
#7522A8 #A83222 #55A822 #2298A8
square
#7522A8 #A83222 #55A822 #2298A8
split-complementary
#7522A8 #98A822 #22A832
monochromatic
#2E0D42 #521875 #7522A8 #9732D5 #B165E0

Accessibility & contrast

On white

8.23
#7522A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#7522A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7522A8
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7522A8#FFFFFF#000000##FFFFFF
##7522A81.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAC
Deuteranopia (green-blind)
#004FA5
Tritanopia (blue-blind)
#6D4565
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7522a8;
/* rgb */ color: rgb(117, 34, 168);
/* oklch */ color: oklch(45.2% 0.200 308.2);
Tailwind
colors: {
  custom: {
    50: '#a268c3',
    500: '#7522a8',
    950: '#000000',
  },
}
SCSS
$custom: #7522a8;
$custom-light: #a268c3;
$custom-dark: #000000;
JSON
{
  "hex": "#7522a8",
  "rgb": {
    "r": 117,
    "g": 34,
    "b": 168
  },
  "hsl": {
    "h": 277.164,
    "s": 66.337,
    "l": 39.608
  },
  "oklch": {
    "l": 0.45222,
    "c": 0.19974,
    "h": 308.2
  },
  "luminance": 0.07753
}

Semantic roles & 50–950 ramp

primary
#7522A8
secondary
#87C561
accent
#E93F80
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7522A8

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

Preview Lab → · Contrast checker → · Palette generator →

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