#7524C5#7524C5

#7524C5 is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.8% C 0.225 H 300.3°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#7524C5
RGBrgb(117, 36, 197)
HSLhsl(270, 69%, 46%)
HSVhsv(270, 82%, 77%)
CMYKcmyk(40.6%, 81.7%, 0%, 22.7%)
CIE-LABlab(36.13, 62.67, -68.06)
CIE-LCHlch(36.13, 92.52, 312.64°)
OKLaboklab(47.82% 0.1138 -0.1947)
OKLCHoklch(47.82% 0.225 300.3)
XYZxyz(18.0425, 9.0747, 53.6135)
Luminance0.0907 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7524C5 #74C524
analogous
#2424C5 #7524C5 #C524C5
triadic
#7524C5 #C57524 #24C575
tetradic
#7524C5 #C52424 #74C524 #24C5C5
square
#7524C5 #C52424 #74C524 #24C5C5
split-complementary
#7524C5 #C5C524 #24C524
monochromatic
#38115E #561B91 #7524C5 #9449DE #B27CE7

Accessibility & contrast

On white

7.46
#7524C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#7524C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7524C5#FFFFFF#000000##FFFFFF
##7524C51.007.462.817.46
#FFFFFF7.461.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C9
Deuteranopia (green-blind)
#0054C2
Tritanopia (blue-blind)
#625276
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7524c5;
/* rgb */ color: rgb(117, 36, 197);
/* oklch */ color: oklch(47.8% 0.225 300.3);
Tailwind
colors: {
  custom: {
    50: '#a46ad8',
    500: '#7524c5',
    950: '#000000',
  },
}
SCSS
$custom: #7524c5;
$custom-light: #a46ad8;
$custom-dark: #000000;
JSON
{
  "hex": "#7524c5",
  "rgb": {
    "r": 117,
    "g": 36,
    "b": 197
  },
  "hsl": {
    "h": 270.186,
    "s": 69.099,
    "l": 45.686
  },
  "oklch": {
    "l": 0.47824,
    "c": 0.22549,
    "h": 300.3
  },
  "luminance": 0.09075
}

Semantic roles & 50–950 ramp

primary
#7524C5
secondary
#A2CF76
accent
#EC3C93
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100715
muted
#7F7A83

Preview Lab

Preview with #7524C5

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

Preview Lab → · Contrast checker → · Palette generator →

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