#7528A7#7528A7

#7528A7 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.7% C 0.193 H 308.0°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#7528A7
RGBrgb(117, 40, 167)
HSLhsl(276, 61%, 41%)
HSVhsv(276, 76%, 65%)
CMYKcmyk(29.9%, 76%, 0%, 34.5%)
CIE-LABlab(34.17, 54.37, -53.47)
CIE-LCHlch(34.17, 76.25, 315.48°)
OKLaboklab(45.69% 0.1186 -0.1519)
OKLCHoklch(45.69% 0.193 308)
XYZxyz(15.0685, 8.0897, 37.3194)
Luminance0.0809 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7528A7 #5AA728
analogous
#3528A7 #7528A7 #A72899
triadic
#7528A7 #A77528 #28A775
tetradic
#7528A7 #A73528 #5AA728 #2899A7
square
#7528A7 #A73528 #5AA728 #2899A7
split-complementary
#7528A7 #99A728 #28A735
monochromatic
#301044 #521C76 #7528A7 #963CD0 #B06DDC

Accessibility & contrast

On white

8.02
#7528A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#7528A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7528A7
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7528A7#FFFFFF#000000##FFFFFF
##7528A71.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7528a7;
/* rgb */ color: rgb(117, 40, 167);
/* oklch */ color: oklch(45.7% 0.193 308.0);
Tailwind
colors: {
  custom: {
    50: '#a26ac2',
    500: '#7528a7',
    950: '#000000',
  },
}
SCSS
$custom: #7528a7;
$custom-light: #a26ac2;
$custom-dark: #000000;
JSON
{
  "hex": "#7528a7",
  "rgb": {
    "r": 117,
    "g": 40,
    "b": 167
  },
  "hsl": {
    "h": 276.378,
    "s": 61.353,
    "l": 40.588
  },
  "oklch": {
    "l": 0.45692,
    "c": 0.19266,
    "h": 308
  },
  "luminance": 0.0809
}

Semantic roles & 50–950 ramp

primary
#7528A7
secondary
#8CC368
accent
#E44383
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #7528A7

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

Preview Lab → · Contrast checker → · Palette generator →

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