#7524A6#7524A6

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

Color values

HEX#7524A6
RGBrgb(117, 36, 166)
HSLhsl(277, 64%, 40%)
HSVhsv(277, 78%, 65%)
CMYKcmyk(29.5%, 78.3%, 0%, 34.9%)
CIE-LABlab(33.56, 55.68, -53.86)
CIE-LCHlch(33.56, 77.47, 315.95°)
OKLaboklab(45.24% 0.1224 -0.153)
OKLCHoklch(45.24% 0.196 308.7)
XYZxyz(14.8485, 7.7971, 36.7918)
Luminance0.0780 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7524A6 #55A624
analogous
#3424A6 #7524A6 #A62496
triadic
#7524A6 #A67524 #24A675
tetradic
#7524A6 #A63424 #55A624 #2496A6
square
#7524A6 #A63424 #55A624 #2496A6
split-complementary
#7524A6 #96A624 #24A634
monochromatic
#2E0E41 #521974 #7524A6 #9734D3 #B166DE

Accessibility & contrast

On white

8.21
#7524A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#7524A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7524A6
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7524A6#FFFFFF#000000##FFFFFF
##7524A61.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAA
Deuteranopia (green-blind)
#0050A3
Tritanopia (blue-blind)
#6D4565
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7524a6;
/* rgb */ color: rgb(117, 36, 166);
/* oklch */ color: oklch(45.2% 0.196 308.7);
Tailwind
colors: {
  custom: {
    50: '#a268c1',
    500: '#7524a6',
    950: '#000000',
  },
}
SCSS
$custom: #7524a6;
$custom-light: #a268c1;
$custom-dark: #000000;
JSON
{
  "hex": "#7524a6",
  "rgb": {
    "r": 117,
    "g": 36,
    "b": 166
  },
  "hsl": {
    "h": 277.385,
    "s": 64.356,
    "l": 39.608
  },
  "oklch": {
    "l": 0.45238,
    "c": 0.19588,
    "h": 308.7
  },
  "luminance": 0.07797
}

Semantic roles & 50–950 ramp

primary
#7524A6
secondary
#87C462
accent
#E7407F
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7524A6

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

Preview Lab → · Contrast checker → · Palette generator →

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