#7527AC#7527AC

#7527AC is a mid, vivid violet. Relative luminance 0.082; OKLCH L 46.0% C 0.199 H 306.6°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#7527AC
RGBrgb(117, 39, 172)
HSLhsl(275, 63%, 41%)
HSVhsv(275, 77%, 67%)
CMYKcmyk(32%, 77.3%, 0%, 32.5%)
CIE-LABlab(34.42, 55.88, -56.06)
CIE-LCHlch(34.42, 79.15, 314.91°)
OKLaboklab(45.99% 0.1184 -0.1594)
OKLCHoklch(45.99% 0.199 306.6)
XYZxyz(15.5064, 8.2117, 39.7898)
Luminance0.0821 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7527AC #5EAC27
analogous
#3327AC #7527AC #AC27A1
triadic
#7527AC #AC7527 #27AC75
tetradic
#7527AC #AC3327 #5EAC27 #27A1AC
square
#7527AC #AC3327 #5EAC27 #27A1AC
split-complementary
#7527AC #A1AC27 #27AC33
monochromatic
#311048 #531C7A #7527AC #953DD3 #B06FDE

Accessibility & contrast

On white

7.95
#7527AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#7527AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7527AC#FFFFFF#000000##FFFFFF
##7527AC1.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB0
Deuteranopia (green-blind)
#0051A9
Tritanopia (blue-blind)
#6B4969
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7527ac;
/* rgb */ color: rgb(117, 39, 172);
/* oklch */ color: oklch(46.0% 0.199 306.6);
Tailwind
colors: {
  custom: {
    50: '#a26ac6',
    500: '#7527ac',
    950: '#000000',
  },
}
SCSS
$custom: #7527ac;
$custom-light: #a26ac6;
$custom-dark: #000000;
JSON
{
  "hex": "#7527ac",
  "rgb": {
    "r": 117,
    "g": 39,
    "b": 172
  },
  "hsl": {
    "h": 275.188,
    "s": 63.033,
    "l": 41.373
  },
  "oklch": {
    "l": 0.4599,
    "c": 0.1986,
    "h": 306.6
  },
  "luminance": 0.08212
}

Semantic roles & 50–950 ramp

primary
#7527AC
secondary
#8FC56A
accent
#E64286
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7527AC

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

Preview Lab → · Contrast checker → · Palette generator →

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