#7520AC#7520AC

#7520AC is a mid, highly saturated violet. Relative luminance 0.078; OKLCH L 45.4% C 0.205 H 307.2°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#7520AC
RGBrgb(117, 32, 172)
HSLhsl(276, 69%, 40%)
HSVhsv(276, 81%, 67%)
CMYKcmyk(32%, 81.4%, 0%, 32.5%)
CIE-LABlab(33.55, 58.40, -57.47)
CIE-LCHlch(33.55, 81.94, 315.46°)
OKLaboklab(45.38% 0.1241 -0.1636)
OKLCHoklch(45.38% 0.205 307.2)
XYZxyz(15.2974, 7.7937, 39.7202)
Luminance0.0779 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7520AC #57AC20
analogous
#2F20AC #7520AC #AC209D
triadic
#7520AC #AC7520 #20AC75
tetradic
#7520AC #AC2F20 #57AC20 #209DAC
square
#7520AC #AC2F20 #57AC20 #209DAC
split-complementary
#7520AC #9DAC20 #20AC2F
monochromatic
#2F0D45 #521678 #7520AC #9731D9 #B164E2

Accessibility & contrast

On white

8.21
#7520AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#7520AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7520AC
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7520AC#FFFFFF#000000##FFFFFF
##7520AC1.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB0
Deuteranopia (green-blind)
#004FA9
Tritanopia (blue-blind)
#6B4667
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7520ac;
/* rgb */ color: rgb(117, 32, 172);
/* oklch */ color: oklch(45.4% 0.205 307.2);
Tailwind
colors: {
  custom: {
    50: '#a267c6',
    500: '#7520ac',
    950: '#000000',
  },
}
SCSS
$custom: #7520ac;
$custom-light: #a267c6;
$custom-dark: #000000;
JSON
{
  "hex": "#7520ac",
  "rgb": {
    "r": 117,
    "g": 32,
    "b": 172
  },
  "hsl": {
    "h": 276.429,
    "s": 68.627,
    "l": 40
  },
  "oklch": {
    "l": 0.45381,
    "c": 0.2053,
    "h": 307.2
  },
  "luminance": 0.07793
}

Semantic roles & 50–950 ramp

primary
#7520AC
secondary
#89C760
accent
#EB3C81
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7520AC

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

Preview Lab → · Contrast checker → · Palette generator →

#7520AC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva