#7528AD#7528AD

#7528AD is a mid, vivid violet. Relative luminance 0.083; OKLCH L 46.2% C 0.199 H 306.2°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#7528AD
RGBrgb(117, 40, 173)
HSLhsl(275, 62%, 42%)
HSVhsv(275, 77%, 68%)
CMYKcmyk(32.4%, 76.9%, 0%, 32.2%)
CIE-LABlab(34.63, 55.72, -56.31)
CIE-LCHlch(34.63, 79.21, 314.70°)
OKLaboklab(46.17% 0.1173 -0.1602)
OKLCHoklch(46.17% 0.199 306.2)
XYZxyz(15.6361, 8.3168, 40.3086)
Luminance0.0832 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7528AD #60AD28
analogous
#3328AD #7528AD #AD28A3
triadic
#7528AD #AD7528 #28AD75
tetradic
#7528AD #AD3328 #60AD28 #28A3AD
square
#7528AD #AD3328 #60AD28 #28A3AD
split-complementary
#7528AD #A3AD28 #28AD33
monochromatic
#32114A #531D7B #7528AD #953FD3 #B071DE

Accessibility & contrast

On white

7.88
#7528AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#7528AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7528AD
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7528AD#FFFFFF#000000##FFFFFF
##7528AD1.007.882.667.88
#FFFFFF7.881.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB1
Deuteranopia (green-blind)
#0052AA
Tritanopia (blue-blind)
#6B4969
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7528ad;
/* rgb */ color: rgb(117, 40, 173);
/* oklch */ color: oklch(46.2% 0.199 306.2);
Tailwind
colors: {
  custom: {
    50: '#a26bc6',
    500: '#7528ad',
    950: '#000000',
  },
}
SCSS
$custom: #7528ad;
$custom-light: #a26bc6;
$custom-dark: #000000;
JSON
{
  "hex": "#7528ad",
  "rgb": {
    "r": 117,
    "g": 40,
    "b": 173
  },
  "hsl": {
    "h": 274.737,
    "s": 62.441,
    "l": 41.765
  },
  "oklch": {
    "l": 0.46165,
    "c": 0.19855,
    "h": 306.2
  },
  "luminance": 0.08317
}

Semantic roles & 50–950 ramp

primary
#7528AD
secondary
#91C56C
accent
#E64287
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7528AD

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

Preview Lab → · Contrast checker → · Palette generator →

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