#7522A6#7522A6

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

Color values

HEX#7522A6
RGBrgb(117, 34, 166)
HSLhsl(278, 66%, 39%)
HSVhsv(278, 80%, 65%)
CMYKcmyk(29.5%, 79.5%, 0%, 34.9%)
CIE-LABlab(33.31, 56.41, -54.27)
CIE-LCHlch(33.31, 78.27, 316.11°)
OKLaboklab(45.06% 0.124 -0.1542)
OKLCHoklch(45.06% 0.198 308.8)
XYZxyz(14.7897, 7.6794, 36.7722)
Luminance0.0768 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7522A6 #53A622
analogous
#3322A6 #7522A6 #A62295
triadic
#7522A6 #A67522 #22A675
tetradic
#7522A6 #A63322 #53A622 #2295A6
square
#7522A6 #A63322 #53A622 #2295A6
split-complementary
#7522A6 #95A622 #22A633
monochromatic
#2D0D40 #511873 #7522A6 #9830D5 #B163DF

Accessibility & contrast

On white

8.28
#7522A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7522A6
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7522A6#FFFFFF#000000##FFFFFF
##7522A61.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAA
Deuteranopia (green-blind)
#004FA3
Tritanopia (blue-blind)
#6D4464
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7522a6;
/* rgb */ color: rgb(117, 34, 166);
/* oklch */ color: oklch(45.1% 0.198 308.8);
Tailwind
colors: {
  custom: {
    50: '#a268c1',
    500: '#7522a6',
    950: '#000000',
  },
}
SCSS
$custom: #7522a6;
$custom-light: #a268c1;
$custom-dark: #000000;
JSON
{
  "hex": "#7522a6",
  "rgb": {
    "r": 117,
    "g": 34,
    "b": 166
  },
  "hsl": {
    "h": 277.727,
    "s": 66,
    "l": 39.216
  },
  "oklch": {
    "l": 0.45062,
    "c": 0.19786,
    "h": 308.8
  },
  "luminance": 0.07679
}

Semantic roles & 50–950 ramp

primary
#7522A6
secondary
#85C45F
accent
#E93F7E
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7522A6

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

Preview Lab → · Contrast checker → · Palette generator →

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