#7527A7#7527A7

#7527A7 is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.6% C 0.194 H 308.1°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#7527A7
RGBrgb(117, 39, 167)
HSLhsl(277, 62%, 40%)
HSVhsv(277, 77%, 65%)
CMYKcmyk(29.9%, 76.6%, 0%, 34.5%)
CIE-LABlab(34.03, 54.76, -53.69)
CIE-LCHlch(34.03, 76.69, 315.57°)
OKLaboklab(45.6% 0.1195 -0.1525)
OKLCHoklch(45.6% 0.194 308.1)
XYZxyz(15.0352, 8.0232, 37.3083)
Luminance0.0802 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7527A7 #59A727
analogous
#3527A7 #7527A7 #A72799
triadic
#7527A7 #A77527 #27A775
tetradic
#7527A7 #A73527 #59A727 #2799A7
square
#7527A7 #A73527 #59A727 #2799A7
split-complementary
#7527A7 #99A727 #27A735
monochromatic
#2F1044 #521B75 #7527A7 #963AD1 #B16CDD

Accessibility & contrast

On white

8.06
#7527A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7527A7
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7527A7#FFFFFF#000000##FFFFFF
##7527A71.008.062.608.06
#FFFFFF8.061.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAB
Deuteranopia (green-blind)
#0051A4
Tritanopia (blue-blind)
#6D4666
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7527a7;
/* rgb */ color: rgb(117, 39, 167);
/* oklch */ color: oklch(45.6% 0.194 308.1);
Tailwind
colors: {
  custom: {
    50: '#a26ac2',
    500: '#7527a7',
    950: '#000000',
  },
}
SCSS
$custom: #7527a7;
$custom-light: #a26ac2;
$custom-dark: #000000;
JSON
{
  "hex": "#7527a7",
  "rgb": {
    "r": 117,
    "g": 39,
    "b": 167
  },
  "hsl": {
    "h": 276.563,
    "s": 62.136,
    "l": 40.392
  },
  "oklch": {
    "l": 0.45595,
    "c": 0.19374,
    "h": 308.1
  },
  "luminance": 0.08023
}

Semantic roles & 50–950 ramp

primary
#7527A7
secondary
#8BC367
accent
#E54382
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7527A7

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

Preview Lab → · Contrast checker → · Palette generator →

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