#7524C1#7524C1

#7524C1 is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.5% C 0.222 H 301.3°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#7524C1
RGBrgb(117, 36, 193)
HSLhsl(271, 69%, 45%)
HSVhsv(271, 81%, 76%)
CMYKcmyk(39.4%, 81.3%, 0%, 24.3%)
CIE-LABlab(35.78, 61.75, -66.28)
CIE-LCHlch(35.78, 90.59, 312.97°)
OKLaboklab(47.48% 0.1151 -0.1895)
OKLCHoklch(47.48% 0.222 301.3)
XYZxyz(17.5903, 8.8938, 51.2317)
Luminance0.0889 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7524C1 #70C124
analogous
#2624C1 #7524C1 #C124BF
triadic
#7524C1 #C17524 #24C175
tetradic
#7524C1 #C12624 #70C124 #24BFC1
square
#7524C1 #C12624 #70C124 #24BFC1
split-complementary
#7524C1 #BFC124 #24C126
monochromatic
#36115A #561A8D #7524C1 #9346DC #B179E6

Accessibility & contrast

On white

7.56
#7524C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#7524C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7524C1#FFFFFF#000000##FFFFFF
##7524C11.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C5
Deuteranopia (green-blind)
#0053BE
Tritanopia (blue-blind)
#645074
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7524c1;
/* rgb */ color: rgb(117, 36, 193);
/* oklch */ color: oklch(47.5% 0.222 301.3);
Tailwind
colors: {
  custom: {
    50: '#a46ad5',
    500: '#7524c1',
    950: '#000000',
  },
}
SCSS
$custom: #7524c1;
$custom-light: #a46ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#7524c1",
  "rgb": {
    "r": 117,
    "g": 36,
    "b": 193
  },
  "hsl": {
    "h": 270.955,
    "s": 68.559,
    "l": 44.902
  },
  "oklch": {
    "l": 0.47476,
    "c": 0.22166,
    "h": 301.3
  },
  "luminance": 0.08894
}

Semantic roles & 50–950 ramp

primary
#7524C1
secondary
#9FCE73
accent
#EB3C91
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100714
muted
#7F7A83

Preview Lab

Preview with #7524C1

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

Preview Lab → · Contrast checker → · Palette generator →

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