#7524A5#7524A5

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

Color values

HEX#7524A5
RGBrgb(117, 36, 165)
HSLhsl(278, 64%, 39%)
HSVhsv(278, 78%, 65%)
CMYKcmyk(29.1%, 78.2%, 0%, 35.3%)
CIE-LABlab(33.48, 55.46, -53.38)
CIE-LCHlch(33.48, 76.98, 316.09°)
OKLaboklab(45.16% 0.1226 -0.1516)
OKLCHoklch(45.16% 0.195 309)
XYZxyz(14.7571, 7.7605, 36.3105)
Luminance0.0776 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7524A5 #54A524
analogous
#3424A5 #7524A5 #A52495
triadic
#7524A5 #A57524 #24A575
tetradic
#7524A5 #A53424 #54A524 #2495A5
square
#7524A5 #A53424 #54A524 #2495A5
split-complementary
#7524A5 #95A524 #24A534
monochromatic
#2E0E41 #511973 #7524A5 #9734D3 #B166DE

Accessibility & contrast

On white

8.23
#7524A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#7524A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7524A5
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7524A5#FFFFFF#000000##FFFFFF
##7524A51.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)
#004CA9
Deuteranopia (green-blind)
#0050A2
Tritanopia (blue-blind)
#6E4464
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7524a5;
/* rgb */ color: rgb(117, 36, 165);
/* oklch */ color: oklch(45.2% 0.195 309.0);
Tailwind
colors: {
  custom: {
    50: '#a268c1',
    500: '#7524a5',
    950: '#000000',
  },
}
SCSS
$custom: #7524a5;
$custom-light: #a268c1;
$custom-dark: #000000;
JSON
{
  "hex": "#7524a5",
  "rgb": {
    "r": 117,
    "g": 36,
    "b": 165
  },
  "hsl": {
    "h": 277.674,
    "s": 64.179,
    "l": 39.412
  },
  "oklch": {
    "l": 0.45159,
    "c": 0.19493,
    "h": 309
  },
  "luminance": 0.0776
}

Semantic roles & 50–950 ramp

primary
#7524A5
secondary
#86C362
accent
#E7417F
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7524A5

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

Preview Lab → · Contrast checker → · Palette generator →

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