#7527AA#7527AA

#7527AA is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.8% C 0.197 H 307.2°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#7527AA
RGBrgb(117, 39, 170)
HSLhsl(276, 63%, 41%)
HSVhsv(276, 77%, 67%)
CMYKcmyk(31.2%, 77.1%, 0%, 33.3%)
CIE-LABlab(34.26, 55.43, -55.11)
CIE-LCHlch(34.26, 78.17, 315.16°)
OKLaboklab(45.83% 0.1189 -0.1567)
OKLCHoklch(45.83% 0.197 307.2)
XYZxyz(15.3158, 8.1354, 38.7859)
Luminance0.0814 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7527AA #5CAA27
analogous
#3327AA #7527AA #AA279D
triadic
#7527AA #AA7527 #27AA75
tetradic
#7527AA #AA3327 #5CAA27 #279DAA
square
#7527AA #AA3327 #5CAA27 #279DAA
split-complementary
#7527AA #9DAA27 #27AA33
monochromatic
#301046 #531C78 #7527AA #953CD2 #B06EDE

Accessibility & contrast

On white

7.99
#7527AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#7527AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7527AA
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7527AA#FFFFFF#000000##FFFFFF
##7527AA1.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAE
Deuteranopia (green-blind)
#0051A7
Tritanopia (blue-blind)
#6C4868
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7527aa;
/* rgb */ color: rgb(117, 39, 170);
/* oklch */ color: oklch(45.8% 0.197 307.2);
Tailwind
colors: {
  custom: {
    50: '#a26ac4',
    500: '#7527aa',
    950: '#000000',
  },
}
SCSS
$custom: #7527aa;
$custom-light: #a26ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#7527aa",
  "rgb": {
    "r": 117,
    "g": 39,
    "b": 170
  },
  "hsl": {
    "h": 275.725,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.45831,
    "c": 0.19666,
    "h": 307.2
  },
  "luminance": 0.08135
}

Semantic roles & 50–950 ramp

primary
#7527AA
secondary
#8EC469
accent
#E64284
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7527AA

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

Preview Lab → · Contrast checker → · Palette generator →

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