#7524B1#7524B1

#7524B1 is a mid, highly saturated violet. Relative luminance 0.082; OKLCH L 46.1% C 0.206 H 305.4°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#7524B1
RGBrgb(117, 36, 177)
HSLhsl(274, 66%, 42%)
HSVhsv(274, 80%, 69%)
CMYKcmyk(33.9%, 79.7%, 0%, 30.6%)
CIE-LABlab(34.43, 58.12, -59.02)
CIE-LCHlch(34.43, 82.84, 314.56°)
OKLaboklab(46.12% 0.1197 -0.1681)
OKLCHoklch(46.12% 0.206 305.4)
XYZxyz(15.9010, 8.2181, 42.3350)
Luminance0.0822 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7524B1 #60B124
analogous
#2F24B1 #7524B1 #B124A7
triadic
#7524B1 #B17524 #24B175
tetradic
#7524B1 #B12F24 #60B124 #24A7B1
square
#7524B1 #B12F24 #60B124 #24A7B1
split-complementary
#7524B1 #A7B124 #24B12F
monochromatic
#320F4B #531A7E #7524B1 #953BD7 #B06EE1

Accessibility & contrast

On white

7.94
#7524B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#7524B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7524B1#FFFFFF#000000##FFFFFF
##7524B11.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB5
Deuteranopia (green-blind)
#0051AE
Tritanopia (blue-blind)
#6A496B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7524b1;
/* rgb */ color: rgb(117, 36, 177);
/* oklch */ color: oklch(46.1% 0.206 305.4);
Tailwind
colors: {
  custom: {
    50: '#a369c9',
    500: '#7524b1',
    950: '#000000',
  },
}
SCSS
$custom: #7524b1;
$custom-light: #a369c9;
$custom-dark: #000000;
JSON
{
  "hex": "#7524b1",
  "rgb": {
    "r": 117,
    "g": 36,
    "b": 177
  },
  "hsl": {
    "h": 274.468,
    "s": 66.197,
    "l": 41.765
  },
  "oklch": {
    "l": 0.46124,
    "c": 0.20637,
    "h": 305.4
  },
  "luminance": 0.08218
}

Semantic roles & 50–950 ramp

primary
#7524B1
secondary
#91C869
accent
#E93F87
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7524B1

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

Preview Lab → · Contrast checker → · Palette generator →

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