#7520A6#7520A6

#7520A6 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.9% C 0.200 H 309.0°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#7520A6
RGBrgb(117, 32, 166)
HSLhsl(278, 68%, 39%)
HSVhsv(278, 81%, 65%)
CMYKcmyk(29.5%, 80.7%, 0%, 34.9%)
CIE-LABlab(33.07, 57.10, -54.66)
CIE-LCHlch(33.07, 79.04, 316.25°)
OKLaboklab(44.9% 0.1256 -0.1553)
OKLCHoklch(44.9% 0.2 309)
XYZxyz(14.7342, 7.5684, 36.7537)
Luminance0.0757 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7520A6 #51A620
analogous
#3220A6 #7520A6 #A62094
triadic
#7520A6 #A67520 #20A675
tetradic
#7520A6 #A63220 #51A620 #2094A6
square
#7520A6 #A63220 #51A620 #2094A6
split-complementary
#7520A6 #94A620 #20A632
monochromatic
#2D0C3F #511673 #7520A6 #982DD6 #B160E0

Accessibility & contrast

On white

8.35
#7520A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#7520A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7520A6
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7520A6#FFFFFF#000000##FFFFFF
##7520A61.008.352.518.35
#FFFFFF8.351.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAA
Deuteranopia (green-blind)
#004FA3
Tritanopia (blue-blind)
#6D4364
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7520a6;
/* rgb */ color: rgb(117, 32, 166);
/* oklch */ color: oklch(44.9% 0.200 309.0);
Tailwind
colors: {
  custom: {
    50: '#a267c1',
    500: '#7520a6',
    950: '#000000',
  },
}
SCSS
$custom: #7520a6;
$custom-light: #a267c1;
$custom-dark: #000000;
JSON
{
  "hex": "#7520a6",
  "rgb": {
    "r": 117,
    "g": 32,
    "b": 166
  },
  "hsl": {
    "h": 278.06,
    "s": 67.677,
    "l": 38.824
  },
  "oklch": {
    "l": 0.44895,
    "c": 0.19974,
    "h": 309
  },
  "luminance": 0.07568
}

Semantic roles & 50–950 ramp

primary
#7520A6
secondary
#83C55D
accent
#EB3D7D
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7520A6

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

Preview Lab → · Contrast checker → · Palette generator →

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