#7524AF#7524AF

#7524AF is a mid, highly saturated violet. Relative luminance 0.081; OKLCH L 46.0% C 0.204 H 306.0°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#7524AF
RGBrgb(117, 36, 175)
HSLhsl(275, 66%, 41%)
HSVhsv(275, 79%, 69%)
CMYKcmyk(33.1%, 79.4%, 0%, 31.4%)
CIE-LABlab(34.27, 57.68, -58.09)
CIE-LCHlch(34.27, 81.86, 314.79°)
OKLaboklab(45.96% 0.1202 -0.1654)
OKLCHoklch(45.96% 0.204 306)
XYZxyz(15.7031, 8.1389, 41.2928)
Luminance0.0814 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7524AF #5EAF24
analogous
#3024AF #7524AF #AF24A4
triadic
#7524AF #AF7524 #24AF75
tetradic
#7524AF #AF3024 #5EAF24 #24A4AF
square
#7524AF #AF3024 #5EAF24 #24A4AF
split-complementary
#7524AF #A4AF24 #24AF30
monochromatic
#310F49 #531A7C #7524AF #953AD6 #B06DE1

Accessibility & contrast

On white

7.99
#7524AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#7524AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7524AF#FFFFFF#000000##FFFFFF
##7524AF1.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB3
Deuteranopia (green-blind)
#0051AC
Tritanopia (blue-blind)
#6A496A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7524af;
/* rgb */ color: rgb(117, 36, 175);
/* oklch */ color: oklch(46.0% 0.204 306.0);
Tailwind
colors: {
  custom: {
    50: '#a269c8',
    500: '#7524af',
    950: '#000000',
  },
}
SCSS
$custom: #7524af;
$custom-light: #a269c8;
$custom-dark: #000000;
JSON
{
  "hex": "#7524af",
  "rgb": {
    "r": 117,
    "g": 36,
    "b": 175
  },
  "hsl": {
    "h": 274.964,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.4596,
    "c": 0.20446,
    "h": 306
  },
  "luminance": 0.08139
}

Semantic roles & 50–950 ramp

primary
#7524AF
secondary
#8FC768
accent
#E93F86
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7524AF

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

Preview Lab → · Contrast checker → · Palette generator →

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