#7527AB#7527AB

#7527AB is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.9% C 0.198 H 306.9°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#7527AB
RGBrgb(117, 39, 171)
HSLhsl(275, 63%, 41%)
HSVhsv(275, 77%, 67%)
CMYKcmyk(31.6%, 77.2%, 0%, 32.9%)
CIE-LABlab(34.34, 55.66, -55.59)
CIE-LCHlch(34.34, 78.66, 315.04°)
OKLaboklab(45.91% 0.1186 -0.1581)
OKLCHoklch(45.91% 0.198 306.9)
XYZxyz(15.4107, 8.1734, 39.2860)
Luminance0.0817 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7527AB #5DAB27
analogous
#3327AB #7527AB #AB279F
triadic
#7527AB #AB7527 #27AB75
tetradic
#7527AB #AB3327 #5DAB27 #279FAB
square
#7527AB #AB3327 #5DAB27 #279FAB
split-complementary
#7527AB #9FAB27 #27AB33
monochromatic
#311047 #531C79 #7527AB #953DD3 #B06EDE

Accessibility & contrast

On white

7.97
#7527AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##7527AB#FFFFFF#000000##FFFFFF
##7527AB1.007.972.637.97
#FFFFFF7.971.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7527ab;
/* rgb */ color: rgb(117, 39, 171);
/* oklch */ color: oklch(45.9% 0.198 306.9);
Tailwind
colors: {
  custom: {
    50: '#a26ac5',
    500: '#7527ab',
    950: '#000000',
  },
}
SCSS
$custom: #7527ab;
$custom-light: #a26ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#7527ab",
  "rgb": {
    "r": 117,
    "g": 39,
    "b": 171
  },
  "hsl": {
    "h": 275.455,
    "s": 62.857,
    "l": 41.176
  },
  "oklch": {
    "l": 0.45911,
    "c": 0.19763,
    "h": 306.9
  },
  "luminance": 0.08173
}

Semantic roles & 50–950 ramp

primary
#7527AB
secondary
#8FC569
accent
#E64285
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7527AB

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

Preview Lab → · Contrast checker → · Palette generator →

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