#7524A3#7524A3

#7524A3 is a mid, vivid violet. Relative luminance 0.077; OKLCH L 45.0% C 0.193 H 309.6°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#7524A3
RGBrgb(117, 36, 163)
HSLhsl(278, 64%, 39%)
HSVhsv(278, 78%, 64%)
CMYKcmyk(28.2%, 77.9%, 0%, 36.1%)
CIE-LABlab(33.33, 55.03, -52.43)
CIE-LCHlch(33.33, 76.00, 316.39°)
OKLaboklab(45% 0.123 -0.1488)
OKLCHoklch(45% 0.193 309.6)
XYZxyz(14.5765, 7.6883, 35.3593)
Luminance0.0769 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7524A3 #52A324
analogous
#3624A3 #7524A3 #A32492
triadic
#7524A3 #A37524 #24A375
tetradic
#7524A3 #A33624 #52A324 #2492A3
square
#7524A3 #A33624 #52A324 #2492A3
split-complementary
#7524A3 #92A324 #24A336
monochromatic
#2D0E3F #511971 #7524A3 #9832D2 #B165DD

Accessibility & contrast

On white

8.28
#7524A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7524A3
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7524A3#FFFFFF#000000##FFFFFF
##7524A31.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)
#004BA6
Deuteranopia (green-blind)
#004FA0
Tritanopia (blue-blind)
#6E4363
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7524a3;
/* rgb */ color: rgb(117, 36, 163);
/* oklch */ color: oklch(45.0% 0.193 309.6);
Tailwind
colors: {
  custom: {
    50: '#a268bf',
    500: '#7524a3',
    950: '#000000',
  },
}
SCSS
$custom: #7524a3;
$custom-light: #a268bf;
$custom-dark: #000000;
JSON
{
  "hex": "#7524a3",
  "rgb": {
    "r": 117,
    "g": 36,
    "b": 163
  },
  "hsl": {
    "h": 278.268,
    "s": 63.819,
    "l": 39.02
  },
  "oklch": {
    "l": 0.45002,
    "c": 0.19303,
    "h": 309.6
  },
  "luminance": 0.07688
}

Semantic roles & 50–950 ramp

primary
#7524A3
secondary
#84C260
accent
#E7417D
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #7524A3

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

Preview Lab → · Contrast checker → · Palette generator →

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