#7528A4#7528A4

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

Color values

HEX#7528A4
RGBrgb(117, 40, 164)
HSLhsl(277, 61%, 40%)
HSVhsv(277, 76%, 64%)
CMYKcmyk(28.7%, 75.6%, 0%, 35.7%)
CIE-LABlab(33.94, 53.70, -52.03)
CIE-LCHlch(33.94, 74.77, 315.90°)
OKLaboklab(45.46% 0.1192 -0.1476)
OKLCHoklch(45.46% 0.19 308.9)
XYZxyz(14.7944, 7.9801, 35.8757)
Luminance0.0798 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7528A4 #57A428
analogous
#3728A4 #7528A4 #A42895
triadic
#7528A4 #A47528 #28A475
tetradic
#7528A4 #A43728 #57A428 #2895A4
square
#7528A4 #A43728 #57A428 #2895A4
split-complementary
#7528A4 #95A428 #28A437
monochromatic
#2F1042 #521C73 #7528A4 #973ACF #B16BDB

Accessibility & contrast

On white

8.09
#7528A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#7528A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7528A4
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7528A4#FFFFFF#000000##FFFFFF
##7528A41.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)
#004DA7
Deuteranopia (green-blind)
#0051A1
Tritanopia (blue-blind)
#6E4664
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7528a4;
/* rgb */ color: rgb(117, 40, 164);
/* oklch */ color: oklch(45.5% 0.190 308.9);
Tailwind
colors: {
  custom: {
    50: '#a16ac0',
    500: '#7528a4',
    950: '#000000',
  },
}
SCSS
$custom: #7528a4;
$custom-light: #a16ac0;
$custom-dark: #000000;
JSON
{
  "hex": "#7528a4",
  "rgb": {
    "r": 117,
    "g": 40,
    "b": 164
  },
  "hsl": {
    "h": 277.258,
    "s": 60.784,
    "l": 40
  },
  "oklch": {
    "l": 0.4546,
    "c": 0.18972,
    "h": 308.9
  },
  "luminance": 0.0798
}

Semantic roles & 50–950 ramp

primary
#7528A4
secondary
#89C166
accent
#E44481
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #7528A4

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

Preview Lab → · Contrast checker → · Palette generator →

#7528A4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva