#7524AA#7524AA

#7524AA is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.6% C 0.200 H 307.4°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#7524AA
RGBrgb(117, 36, 170)
HSLhsl(276, 65%, 40%)
HSVhsv(276, 79%, 67%)
CMYKcmyk(31.2%, 78.8%, 0%, 33.3%)
CIE-LABlab(33.87, 56.56, -55.75)
CIE-LCHlch(33.87, 79.42, 315.41°)
OKLaboklab(45.56% 0.1214 -0.1585)
OKLCHoklch(45.56% 0.2 307.4)
XYZxyz(15.2211, 7.9461, 38.7543)
Luminance0.0795 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7524AA #59AA24
analogous
#3224AA #7524AA #AA249C
triadic
#7524AA #AA7524 #24AA75
tetradic
#7524AA #AA3224 #59AA24 #249CAA
square
#7524AA #AA3224 #59AA24 #249CAA
split-complementary
#7524AA #9CAA24 #24AA32
monochromatic
#2F0F45 #521977 #7524AA #9637D5 #B169DF

Accessibility & contrast

On white

8.11
#7524AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#7524AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7524AA#FFFFFF#000000##FFFFFF
##7524AA1.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAE
Deuteranopia (green-blind)
#0050A7
Tritanopia (blue-blind)
#6C4667
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7524aa;
/* rgb */ color: rgb(117, 36, 170);
/* oklch */ color: oklch(45.6% 0.200 307.4);
Tailwind
colors: {
  custom: {
    50: '#a269c4',
    500: '#7524aa',
    950: '#000000',
  },
}
SCSS
$custom: #7524aa;
$custom-light: #a269c4;
$custom-dark: #000000;
JSON
{
  "hex": "#7524aa",
  "rgb": {
    "r": 117,
    "g": 36,
    "b": 170
  },
  "hsl": {
    "h": 276.269,
    "s": 65.049,
    "l": 40.392
  },
  "oklch": {
    "l": 0.45556,
    "c": 0.19969,
    "h": 307.4
  },
  "luminance": 0.07946
}

Semantic roles & 50–950 ramp

primary
#7524AA
secondary
#8BC565
accent
#E84082
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7524AA

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

Preview Lab → · Contrast checker → · Palette generator →

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