#7527A1#7527A1

#7527A1 is a mid, vivid violet. Relative luminance 0.078; OKLCH L 45.1% C 0.188 H 310.0°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#7527A1
RGBrgb(117, 39, 161)
HSLhsl(278, 61%, 39%)
HSVhsv(278, 76%, 63%)
CMYKcmyk(27.3%, 75.8%, 0%, 36.9%)
CIE-LABlab(33.58, 53.43, -50.81)
CIE-LCHlch(33.58, 73.73, 316.44°)
OKLaboklab(45.13% 0.1207 -0.144)
OKLCHoklch(45.13% 0.188 310)
XYZxyz(14.4934, 7.8065, 34.4546)
Luminance0.0781 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7527A1 #53A127
analogous
#3827A1 #7527A1 #A12790
triadic
#7527A1 #A17527 #27A175
tetradic
#7527A1 #A13827 #53A127 #2790A1
square
#7527A1 #A13827 #53A127 #2790A1
split-complementary
#7527A1 #90A127 #27A138
monochromatic
#2D0F3E #511B70 #7527A1 #9837CE #B168DA

Accessibility & contrast

On white

8.20
#7527A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#7527A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7527A1#FFFFFF#000000##FFFFFF
##7527A11.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA4
Deuteranopia (green-blind)
#05509E
Tritanopia (blue-blind)
#6F4462
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7527a1;
/* rgb */ color: rgb(117, 39, 161);
/* oklch */ color: oklch(45.1% 0.188 310.0);
Tailwind
colors: {
  custom: {
    50: '#a16abe',
    500: '#7527a1',
    950: '#000000',
  },
}
SCSS
$custom: #7527a1;
$custom-light: #a16abe;
$custom-dark: #000000;
JSON
{
  "hex": "#7527a1",
  "rgb": {
    "r": 117,
    "g": 39,
    "b": 161
  },
  "hsl": {
    "h": 278.361,
    "s": 61,
    "l": 39.216
  },
  "oklch": {
    "l": 0.45132,
    "c": 0.18791,
    "h": 310
  },
  "luminance": 0.07806
}

Semantic roles & 50–950 ramp

primary
#7527A1
secondary
#85C063
accent
#E4447E
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #7527A1

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

Preview Lab → · Contrast checker → · Palette generator →

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