#7524A4#7524A4

#7524A4 is a mid, vivid violet. Relative luminance 0.077; OKLCH L 45.1% C 0.194 H 309.3°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#7524A4
RGBrgb(117, 36, 164)
HSLhsl(278, 64%, 39%)
HSVhsv(278, 78%, 64%)
CMYKcmyk(28.7%, 78%, 0%, 35.7%)
CIE-LABlab(33.40, 55.24, -52.91)
CIE-LCHlch(33.40, 76.49, 316.24°)
OKLaboklab(45.08% 0.1228 -0.1502)
OKLCHoklch(45.08% 0.194 309.3)
XYZxyz(14.6665, 7.7243, 35.8331)
Luminance0.0772 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7524A4 #53A424
analogous
#3524A4 #7524A4 #A42493
triadic
#7524A4 #A47524 #24A475
tetradic
#7524A4 #A43524 #53A424 #2493A4
square
#7524A4 #A43524 #53A424 #2493A4
split-complementary
#7524A4 #93A424 #24A435
monochromatic
#2D0E40 #511972 #7524A4 #9833D2 #B165DD

Accessibility & contrast

On white

8.25
#7524A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#7524A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7524A4
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7524A4#FFFFFF#000000##FFFFFF
##7524A41.008.252.548.25
#FFFFFF8.251.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA8
Deuteranopia (green-blind)
#0050A1
Tritanopia (blue-blind)
#6E4463
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7524a4;
/* rgb */ color: rgb(117, 36, 164);
/* oklch */ color: oklch(45.1% 0.194 309.3);
Tailwind
colors: {
  custom: {
    50: '#a268c0',
    500: '#7524a4',
    950: '#000000',
  },
}
SCSS
$custom: #7524a4;
$custom-light: #a268c0;
$custom-dark: #000000;
JSON
{
  "hex": "#7524a4",
  "rgb": {
    "r": 117,
    "g": 36,
    "b": 164
  },
  "hsl": {
    "h": 277.969,
    "s": 64,
    "l": 39.216
  },
  "oklch": {
    "l": 0.45081,
    "c": 0.19398,
    "h": 309.3
  },
  "luminance": 0.07724
}

Semantic roles & 50–950 ramp

primary
#7524A4
secondary
#85C361
accent
#E7417E
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7524A4

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

Preview Lab → · Contrast checker → · Palette generator →

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