#7524A7#7524A7

#7524A7 is a mid, vivid violet. Relative luminance 0.078; OKLCH L 45.3% C 0.197 H 308.3°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#7524A7
RGBrgb(117, 36, 167)
HSLhsl(277, 65%, 40%)
HSVhsv(277, 78%, 65%)
CMYKcmyk(29.9%, 78.4%, 0%, 34.5%)
CIE-LABlab(33.63, 55.90, -54.34)
CIE-LCHlch(33.63, 77.96, 315.81°)
OKLaboklab(45.32% 0.1221 -0.1544)
OKLCHoklch(45.32% 0.197 308.3)
XYZxyz(14.9406, 7.8339, 37.2768)
Luminance0.0783 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7524A7 #56A724
analogous
#3324A7 #7524A7 #A72498
triadic
#7524A7 #A77524 #24A775
tetradic
#7524A7 #A73324 #56A724 #2498A7
square
#7524A7 #A73324 #56A724 #2498A7
split-complementary
#7524A7 #98A724 #24A733
monochromatic
#2E0E42 #521975 #7524A7 #9735D3 #B167DE

Accessibility & contrast

On white

8.18
#7524A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#7524A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7524A7
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7524A7#FFFFFF#000000##FFFFFF
##7524A71.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAB
Deuteranopia (green-blind)
#0050A4
Tritanopia (blue-blind)
#6D4565
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7524a7;
/* rgb */ color: rgb(117, 36, 167);
/* oklch */ color: oklch(45.3% 0.197 308.3);
Tailwind
colors: {
  custom: {
    50: '#a268c2',
    500: '#7524a7',
    950: '#000000',
  },
}
SCSS
$custom: #7524a7;
$custom-light: #a268c2;
$custom-dark: #000000;
JSON
{
  "hex": "#7524a7",
  "rgb": {
    "r": 117,
    "g": 36,
    "b": 167
  },
  "hsl": {
    "h": 277.099,
    "s": 64.532,
    "l": 39.804
  },
  "oklch": {
    "l": 0.45317,
    "c": 0.19684,
    "h": 308.3
  },
  "luminance": 0.07834
}

Semantic roles & 50–950 ramp

primary
#7524A7
secondary
#88C463
accent
#E84080
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7524A7

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

Preview Lab → · Contrast checker → · Palette generator →

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