#7521AC#7521AC

#7521AC is a mid, highly saturated violet. Relative luminance 0.078; OKLCH L 45.5% C 0.204 H 307.1°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#7521AC
RGBrgb(117, 33, 172)
HSLhsl(276, 68%, 40%)
HSVhsv(276, 81%, 67%)
CMYKcmyk(32%, 80.8%, 0%, 32.5%)
CIE-LABlab(33.67, 58.06, -57.29)
CIE-LCHlch(33.67, 81.57, 315.39°)
OKLaboklab(45.46% 0.1233 -0.163)
OKLCHoklch(45.46% 0.204 307.1)
XYZxyz(15.3248, 7.8484, 39.7293)
Luminance0.0785 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7521AC #58AC21
analogous
#2F21AC #7521AC #AC219D
triadic
#7521AC #AC7521 #21AC75
tetradic
#7521AC #AC2F21 #58AC21 #219DAC
square
#7521AC #AC2F21 #58AC21 #219DAC
split-complementary
#7521AC #9DAC21 #21AC2F
monochromatic
#2F0D45 #521779 #7521AC #9632D8 #B166E2

Accessibility & contrast

On white

8.17
#7521AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#7521AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7521AC
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7521AC#FFFFFF#000000##FFFFFF
##7521AC1.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB0
Deuteranopia (green-blind)
#0050A9
Tritanopia (blue-blind)
#6B4667
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7521ac;
/* rgb */ color: rgb(117, 33, 172);
/* oklch */ color: oklch(45.5% 0.204 307.1);
Tailwind
colors: {
  custom: {
    50: '#a267c6',
    500: '#7521ac',
    950: '#000000',
  },
}
SCSS
$custom: #7521ac;
$custom-light: #a267c6;
$custom-dark: #000000;
JSON
{
  "hex": "#7521ac",
  "rgb": {
    "r": 117,
    "g": 33,
    "b": 172
  },
  "hsl": {
    "h": 276.259,
    "s": 67.805,
    "l": 40.196
  },
  "oklch": {
    "l": 0.45462,
    "c": 0.2044,
    "h": 307.1
  },
  "luminance": 0.07848
}

Semantic roles & 50–950 ramp

primary
#7521AC
secondary
#8AC762
accent
#EB3D82
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7521AC

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

Preview Lab → · Contrast checker → · Palette generator →

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