#7524A8#7524A8

#7524A8 is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.4% C 0.198 H 308.0°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#7524A8
RGBrgb(117, 36, 168)
HSLhsl(277, 65%, 40%)
HSVhsv(277, 79%, 66%)
CMYKcmyk(30.4%, 78.6%, 0%, 34.1%)
CIE-LABlab(33.71, 56.12, -54.81)
CIE-LCHlch(33.71, 78.45, 315.68°)
OKLaboklab(45.4% 0.1219 -0.1558)
OKLCHoklch(45.4% 0.198 308)
XYZxyz(15.0334, 7.8710, 37.7655)
Luminance0.0787 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7524A8 #57A824
analogous
#3324A8 #7524A8 #A82499
triadic
#7524A8 #A87524 #24A875
tetradic
#7524A8 #A83324 #57A824 #2499A8
square
#7524A8 #A83324 #57A824 #2499A8
split-complementary
#7524A8 #99A824 #24A833
monochromatic
#2F0E43 #521976 #7524A8 #9735D4 #B168DF

Accessibility & contrast

On white

8.16
#7524A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#7524A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7524A8
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7524A8#FFFFFF#000000##FFFFFF
##7524A81.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAC
Deuteranopia (green-blind)
#0050A5
Tritanopia (blue-blind)
#6D4566
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7524a8;
/* rgb */ color: rgb(117, 36, 168);
/* oklch */ color: oklch(45.4% 0.198 308.0);
Tailwind
colors: {
  custom: {
    50: '#a268c3',
    500: '#7524a8',
    950: '#000000',
  },
}
SCSS
$custom: #7524a8;
$custom-light: #a268c3;
$custom-dark: #000000;
JSON
{
  "hex": "#7524a8",
  "rgb": {
    "r": 117,
    "g": 36,
    "b": 168
  },
  "hsl": {
    "h": 276.818,
    "s": 64.706,
    "l": 40
  },
  "oklch": {
    "l": 0.45396,
    "c": 0.19778,
    "h": 308
  },
  "luminance": 0.07871
}

Semantic roles & 50–950 ramp

primary
#7524A8
secondary
#89C463
accent
#E84081
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7524A8

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

Preview Lab → · Contrast checker → · Palette generator →

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