#7520A8#7520A8

#7520A8 is a mid, highly saturated violet. Relative luminance 0.076; OKLCH L 45.1% C 0.202 H 308.4°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#7520A8
RGBrgb(117, 32, 168)
HSLhsl(278, 68%, 39%)
HSVhsv(278, 81%, 66%)
CMYKcmyk(30.4%, 81%, 0%, 34.1%)
CIE-LABlab(33.23, 57.53, -55.60)
CIE-LCHlch(33.23, 80.01, 315.98°)
OKLaboklab(45.06% 0.1251 -0.1581)
OKLCHoklch(45.06% 0.202 308.4)
XYZxyz(14.9190, 7.6423, 37.7274)
Luminance0.0764 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7520A8 #53A820
analogous
#3120A8 #7520A8 #A82097
triadic
#7520A8 #A87520 #20A875
tetradic
#7520A8 #A83120 #53A820 #2097A8
square
#7520A8 #A83120 #53A820 #2097A8
split-complementary
#7520A8 #97A820 #20A831
monochromatic
#2D0C41 #511675 #7520A8 #982ED7 #B161E1

Accessibility & contrast

On white

8.31
#7520A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#7520A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7520A8
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7520A8#FFFFFF#000000##FFFFFF
##7520A81.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAC
Deuteranopia (green-blind)
#004FA5
Tritanopia (blue-blind)
#6D4465
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7520a8;
/* rgb */ color: rgb(117, 32, 168);
/* oklch */ color: oklch(45.1% 0.202 308.4);
Tailwind
colors: {
  custom: {
    50: '#a267c3',
    500: '#7520a8',
    950: '#000000',
  },
}
SCSS
$custom: #7520a8;
$custom-light: #a267c3;
$custom-dark: #000000;
JSON
{
  "hex": "#7520a8",
  "rgb": {
    "r": 117,
    "g": 32,
    "b": 168
  },
  "hsl": {
    "h": 277.5,
    "s": 68,
    "l": 39.216
  },
  "oklch": {
    "l": 0.45056,
    "c": 0.20159,
    "h": 308.4
  },
  "luminance": 0.07642
}

Semantic roles & 50–950 ramp

primary
#7520A8
secondary
#85C65E
accent
#EB3D7E
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7520A8

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

Preview Lab → · Contrast checker → · Palette generator →

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