#7527A6#7527A6

#7527A6 is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.5% C 0.193 H 308.4°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#7527A6
RGBrgb(117, 39, 166)
HSLhsl(277, 62%, 40%)
HSVhsv(277, 77%, 65%)
CMYKcmyk(29.5%, 76.5%, 0%, 34.9%)
CIE-LABlab(33.95, 54.54, -53.21)
CIE-LCHlch(33.95, 76.20, 315.70°)
OKLaboklab(45.52% 0.1197 -0.1511)
OKLCHoklch(45.52% 0.193 308.4)
XYZxyz(14.9431, 7.9864, 36.8233)
Luminance0.0799 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7527A6 #58A627
analogous
#3527A6 #7527A6 #A62798
triadic
#7527A6 #A67527 #27A675
tetradic
#7527A6 #A63527 #58A627 #2798A6
square
#7527A6 #A63527 #58A627 #2798A6
split-complementary
#7527A6 #98A627 #27A635
monochromatic
#2F1043 #521B74 #7527A6 #963AD1 #B16BDC

Accessibility & contrast

On white

8.09
#7527A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#7527A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7527A6#FFFFFF#000000##FFFFFF
##7527A61.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAA
Deuteranopia (green-blind)
#0051A3
Tritanopia (blue-blind)
#6D4665
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7527a6;
/* rgb */ color: rgb(117, 39, 166);
/* oklch */ color: oklch(45.5% 0.193 308.4);
Tailwind
colors: {
  custom: {
    50: '#a26ac1',
    500: '#7527a6',
    950: '#000000',
  },
}
SCSS
$custom: #7527a6;
$custom-light: #a26ac1;
$custom-dark: #000000;
JSON
{
  "hex": "#7527a6",
  "rgb": {
    "r": 117,
    "g": 39,
    "b": 166
  },
  "hsl": {
    "h": 276.85,
    "s": 61.951,
    "l": 40.196
  },
  "oklch": {
    "l": 0.45517,
    "c": 0.19277,
    "h": 308.4
  },
  "luminance": 0.07986
}

Semantic roles & 50–950 ramp

primary
#7527A6
secondary
#8AC366
accent
#E54381
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #7527A6

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

Preview Lab → · Contrast checker → · Palette generator →

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