#7520A1#7520A1

#7520A1 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.5% C 0.195 H 310.5°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#7520A1
RGBrgb(117, 32, 161)
HSLhsl(280, 67%, 38%)
HSVhsv(280, 80%, 63%)
CMYKcmyk(27.3%, 80.1%, 0%, 36.9%)
CIE-LABlab(32.68, 56.03, -52.27)
CIE-LCHlch(32.68, 76.63, 316.98°)
OKLaboklab(44.5% 0.1268 -0.1483)
OKLCHoklch(44.5% 0.195 310.5)
XYZxyz(14.2844, 7.3885, 34.3849)
Luminance0.0739 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7520A1 #4CA120
analogous
#3520A1 #7520A1 #A1208C
triadic
#7520A1 #A17520 #20A175
tetradic
#7520A1 #A13520 #4CA120 #208CA1
square
#7520A1 #A13520 #4CA120 #208CA1
split-complementary
#7520A1 #8CA120 #20A135
monochromatic
#2B0C3B #50166E #7520A1 #9A2AD4 #B25DDF

Accessibility & contrast

On white

8.48
#7520A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#7520A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7520A1
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7520A1#FFFFFF#000000##FFFFFF
##7520A11.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A4
Deuteranopia (green-blind)
#004E9E
Tritanopia (blue-blind)
#6F4161
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7520a1;
/* rgb */ color: rgb(117, 32, 161);
/* oklch */ color: oklch(44.5% 0.195 310.5);
Tailwind
colors: {
  custom: {
    50: '#a266be',
    500: '#7520a1',
    950: '#000000',
  },
}
SCSS
$custom: #7520a1;
$custom-light: #a266be;
$custom-dark: #000000;
JSON
{
  "hex": "#7520a1",
  "rgb": {
    "r": 117,
    "g": 32,
    "b": 161
  },
  "hsl": {
    "h": 279.535,
    "s": 66.839,
    "l": 37.843
  },
  "oklch": {
    "l": 0.44498,
    "c": 0.19512,
    "h": 310.5
  },
  "luminance": 0.07388
}

Semantic roles & 50–950 ramp

primary
#7520A1
secondary
#7EC35A
accent
#EA3E79
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #7520A1

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

Preview Lab → · Contrast checker → · Palette generator →

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