#7521A2#7521A2

#7521A2 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.7% C 0.195 H 310.1°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#7521A2
RGBrgb(117, 33, 162)
HSLhsl(279, 66%, 38%)
HSVhsv(279, 80%, 64%)
CMYKcmyk(27.8%, 79.6%, 0%, 36.5%)
CIE-LABlab(32.87, 55.89, -52.56)
CIE-LCHlch(32.87, 76.72, 316.76°)
OKLaboklab(44.66% 0.1258 -0.1491)
OKLCHoklch(44.66% 0.195 310.1)
XYZxyz(14.4003, 7.4786, 34.8603)
Luminance0.0748 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7521A2 #4EA221
analogous
#3421A2 #7521A2 #A2218E
triadic
#7521A2 #A27521 #21A275
tetradic
#7521A2 #A23421 #4EA221 #218EA2
square
#7521A2 #A23421 #4EA221 #218EA2
split-complementary
#7521A2 #8EA221 #21A234
monochromatic
#2C0C3C #50176F #7521A2 #992CD4 #B25FDE

Accessibility & contrast

On white

8.41
#7521A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#7521A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7521A2
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7521A2#FFFFFF#000000##FFFFFF
##7521A21.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA5
Deuteranopia (green-blind)
#004E9F
Tritanopia (blue-blind)
#6F4162
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7521a2;
/* rgb */ color: rgb(117, 33, 162);
/* oklch */ color: oklch(44.7% 0.195 310.1);
Tailwind
colors: {
  custom: {
    50: '#a267be',
    500: '#7521a2',
    950: '#000000',
  },
}
SCSS
$custom: #7521a2;
$custom-light: #a267be;
$custom-dark: #000000;
JSON
{
  "hex": "#7521a2",
  "rgb": {
    "r": 117,
    "g": 33,
    "b": 162
  },
  "hsl": {
    "h": 279.07,
    "s": 66.154,
    "l": 38.235
  },
  "oklch": {
    "l": 0.44661,
    "c": 0.19508,
    "h": 310.1
  },
  "luminance": 0.07478
}

Semantic roles & 50–950 ramp

primary
#7521A2
secondary
#80C35C
accent
#E93F7A
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7521A2

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

Preview Lab → · Contrast checker → · Palette generator →

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