#7524BB#7524BB

#7524BB is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 47.0% C 0.216 H 302.8°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#7524BB
RGBrgb(117, 36, 187)
HSLhsl(272, 68%, 44%)
HSVhsv(272, 81%, 73%)
CMYKcmyk(37.4%, 80.7%, 0%, 26.7%)
CIE-LABlab(35.26, 60.38, -63.59)
CIE-LCHlch(35.26, 87.69, 313.52°)
OKLaboklab(46.96% 0.1169 -0.1816)
OKLCHoklch(46.96% 0.216 302.8)
XYZxyz(16.9345, 8.6315, 47.7780)
Luminance0.0863 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7524BB #6ABB24
analogous
#2924BB #7524BB #BB24B5
triadic
#7524BB #BB7524 #24BB75
tetradic
#7524BB #BB2924 #6ABB24 #24B5BB
square
#7524BB #BB2924 #6ABB24 #24B5BB
split-complementary
#7524BB #B5BB24 #24BB29
monochromatic
#351054 #551A88 #7524BB #9442DB #B175E4

Accessibility & contrast

On white

7.70
#7524BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#7524BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7524BB#FFFFFF#000000##FFFFFF
##7524BB1.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BF
Deuteranopia (green-blind)
#0052B8
Tritanopia (blue-blind)
#664E71
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7524bb;
/* rgb */ color: rgb(117, 36, 187);
/* oklch */ color: oklch(47.0% 0.216 302.8);
Tailwind
colors: {
  custom: {
    50: '#a36ad1',
    500: '#7524bb',
    950: '#000000',
  },
}
SCSS
$custom: #7524bb;
$custom-light: #a36ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#7524bb",
  "rgb": {
    "r": 117,
    "g": 36,
    "b": 187
  },
  "hsl": {
    "h": 272.185,
    "s": 67.713,
    "l": 43.725
  },
  "oklch": {
    "l": 0.46961,
    "c": 0.21593,
    "h": 302.8
  },
  "luminance": 0.08632
}

Semantic roles & 50–950 ramp

primary
#7524BB
secondary
#9ACC6F
accent
#EB3D8E
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #7524BB

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

Preview Lab → · Contrast checker → · Palette generator →

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