#7527A5#7527A5

#7527A5 is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.4% C 0.192 H 308.7°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#7527A5
RGBrgb(117, 39, 165)
HSLhsl(277, 62%, 40%)
HSVhsv(277, 76%, 65%)
CMYKcmyk(29.1%, 76.4%, 0%, 35.3%)
CIE-LABlab(33.88, 54.32, -52.74)
CIE-LCHlch(33.88, 75.71, 315.85°)
OKLaboklab(45.44% 0.1199 -0.1497)
OKLCHoklch(45.44% 0.192 308.7)
XYZxyz(14.8518, 7.9498, 36.3421)
Luminance0.0795 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7527A5 #57A527
analogous
#3627A5 #7527A5 #A52796
triadic
#7527A5 #A57527 #27A575
tetradic
#7527A5 #A53627 #57A527 #2796A5
square
#7527A5 #A53627 #57A527 #2796A5
split-complementary
#7527A5 #96A527 #27A536
monochromatic
#2F1042 #521B74 #7527A5 #9739D0 #B16ADC

Accessibility & contrast

On white

8.11
#7527A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#7527A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7527A5
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7527A5#FFFFFF#000000##FFFFFF
##7527A51.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA9
Deuteranopia (green-blind)
#0051A2
Tritanopia (blue-blind)
#6E4665
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7527a5;
/* rgb */ color: rgb(117, 39, 165);
/* oklch */ color: oklch(45.4% 0.192 308.7);
Tailwind
colors: {
  custom: {
    50: '#a26ac0',
    500: '#7527a5',
    950: '#000000',
  },
}
SCSS
$custom: #7527a5;
$custom-light: #a26ac0;
$custom-dark: #000000;
JSON
{
  "hex": "#7527a5",
  "rgb": {
    "r": 117,
    "g": 39,
    "b": 165
  },
  "hsl": {
    "h": 277.143,
    "s": 61.765,
    "l": 40
  },
  "oklch": {
    "l": 0.4544,
    "c": 0.1918,
    "h": 308.7
  },
  "luminance": 0.0795
}

Semantic roles & 50–950 ramp

primary
#7527A5
secondary
#89C266
accent
#E54381
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #7527A5

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

Preview Lab → · Contrast checker → · Palette generator →

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