#7527A4#7527A4

#7527A4 is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.4% C 0.191 H 309.0°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#7527A4
RGBrgb(117, 39, 164)
HSLhsl(277, 62%, 40%)
HSVhsv(277, 76%, 64%)
CMYKcmyk(28.7%, 76.2%, 0%, 35.7%)
CIE-LABlab(33.80, 54.09, -52.26)
CIE-LCHlch(33.80, 75.21, 315.99°)
OKLaboklab(45.36% 0.1201 -0.1483)
OKLCHoklch(45.36% 0.191 309)
XYZxyz(14.7611, 7.9136, 35.8646)
Luminance0.0791 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7527A4 #56A427
analogous
#3727A4 #7527A4 #A42795
triadic
#7527A4 #A47527 #27A475
tetradic
#7527A4 #A43727 #56A427 #2795A4
square
#7527A4 #A43727 #56A427 #2795A4
split-complementary
#7527A4 #95A427 #27A437
monochromatic
#2E0F41 #521B73 #7527A4 #9738D0 #B16ADC

Accessibility & contrast

On white

8.13
#7527A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#7527A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7527A4#FFFFFF#000000##FFFFFF
##7527A41.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA7
Deuteranopia (green-blind)
#0050A1
Tritanopia (blue-blind)
#6E4564
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7527a4;
/* rgb */ color: rgb(117, 39, 164);
/* oklch */ color: oklch(45.4% 0.191 309.0);
Tailwind
colors: {
  custom: {
    50: '#a16ac0',
    500: '#7527a4',
    950: '#000000',
  },
}
SCSS
$custom: #7527a4;
$custom-light: #a16ac0;
$custom-dark: #000000;
JSON
{
  "hex": "#7527a4",
  "rgb": {
    "r": 117,
    "g": 39,
    "b": 164
  },
  "hsl": {
    "h": 277.44,
    "s": 61.576,
    "l": 39.804
  },
  "oklch": {
    "l": 0.45362,
    "c": 0.19082,
    "h": 309
  },
  "luminance": 0.07913
}

Semantic roles & 50–950 ramp

primary
#7527A4
secondary
#88C265
accent
#E54380
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #7527A4

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

Preview Lab → · Contrast checker → · Palette generator →

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