#7521AA#7521AA

#7521AA is a mid, highly saturated violet. Relative luminance 0.078; OKLCH L 45.3% C 0.203 H 307.7°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#7521AA
RGBrgb(117, 33, 170)
HSLhsl(277, 67%, 40%)
HSVhsv(277, 81%, 67%)
CMYKcmyk(31.2%, 80.6%, 0%, 33.3%)
CIE-LABlab(33.50, 57.63, -56.35)
CIE-LCHlch(33.50, 80.60, 315.64°)
OKLaboklab(45.3% 0.1238 -0.1603)
OKLCHoklch(45.3% 0.203 307.7)
XYZxyz(15.1341, 7.7721, 38.7253)
Luminance0.0777 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7521AA #56AA21
analogous
#3021AA #7521AA #AA219B
triadic
#7521AA #AA7521 #21AA75
tetradic
#7521AA #AA3021 #56AA21 #219BAA
square
#7521AA #AA3021 #56AA21 #219BAA
split-complementary
#7521AA #9BAA21 #21AA30
monochromatic
#2E0D43 #521777 #7521AA #9731D7 #B164E1

Accessibility & contrast

On white

8.22
#7521AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#7521AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7521AA#FFFFFF#000000##FFFFFF
##7521AA1.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAE
Deuteranopia (green-blind)
#004FA7
Tritanopia (blue-blind)
#6C4566
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7521aa;
/* rgb */ color: rgb(117, 33, 170);
/* oklch */ color: oklch(45.3% 0.203 307.7);
Tailwind
colors: {
  custom: {
    50: '#a267c4',
    500: '#7521aa',
    950: '#000000',
  },
}
SCSS
$custom: #7521aa;
$custom-light: #a267c4;
$custom-dark: #000000;
JSON
{
  "hex": "#7521aa",
  "rgb": {
    "r": 117,
    "g": 33,
    "b": 170
  },
  "hsl": {
    "h": 276.788,
    "s": 67.488,
    "l": 39.804
  },
  "oklch": {
    "l": 0.45299,
    "c": 0.20254,
    "h": 307.7
  },
  "luminance": 0.07772
}

Semantic roles & 50–950 ramp

primary
#7521AA
secondary
#88C661
accent
#EA3D80
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7521AA

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

Preview Lab → · Contrast checker → · Palette generator →

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