#7524A9#7524A9

#7524A9 is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.5% C 0.199 H 307.7°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#7524A9
RGBrgb(117, 36, 169)
HSLhsl(277, 65%, 40%)
HSVhsv(277, 79%, 66%)
CMYKcmyk(30.8%, 78.7%, 0%, 33.7%)
CIE-LABlab(33.79, 56.34, -55.28)
CIE-LCHlch(33.79, 78.93, 315.54°)
OKLaboklab(45.48% 0.1217 -0.1572)
OKLCHoklch(45.48% 0.199 307.7)
XYZxyz(15.1269, 7.9085, 38.2580)
Luminance0.0791 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7524A9 #58A924
analogous
#3224A9 #7524A9 #A9249B
triadic
#7524A9 #A97524 #24A975
tetradic
#7524A9 #A93224 #58A924 #249BA9
square
#7524A9 #A93224 #58A924 #249BA9
split-complementary
#7524A9 #9BA924 #24A932
monochromatic
#2F0F44 #521977 #7524A9 #9636D4 #B168DF

Accessibility & contrast

On white

8.13
#7524A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#7524A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7524A9
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7524A9#FFFFFF#000000##FFFFFF
##7524A91.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAD
Deuteranopia (green-blind)
#0050A6
Tritanopia (blue-blind)
#6C4666
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7524a9;
/* rgb */ color: rgb(117, 36, 169);
/* oklch */ color: oklch(45.5% 0.199 307.7);
Tailwind
colors: {
  custom: {
    50: '#a269c3',
    500: '#7524a9',
    950: '#000000',
  },
}
SCSS
$custom: #7524a9;
$custom-light: #a269c3;
$custom-dark: #000000;
JSON
{
  "hex": "#7524a9",
  "rgb": {
    "r": 117,
    "g": 36,
    "b": 169
  },
  "hsl": {
    "h": 276.541,
    "s": 64.878,
    "l": 40.196
  },
  "oklch": {
    "l": 0.45476,
    "c": 0.19874,
    "h": 307.7
  },
  "luminance": 0.07908
}

Semantic roles & 50–950 ramp

primary
#7524A9
secondary
#8AC564
accent
#E84082
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7524A9

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

Preview Lab → · Contrast checker → · Palette generator →

#7524A9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva