#7528AC#7528AC

#7528AC is a mid, vivid violet. Relative luminance 0.083; OKLCH L 46.1% C 0.198 H 306.5°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#7528AC
RGBrgb(117, 40, 172)
HSLhsl(275, 62%, 42%)
HSVhsv(275, 77%, 67%)
CMYKcmyk(32%, 76.7%, 0%, 32.5%)
CIE-LABlab(34.56, 55.49, -55.84)
CIE-LCHlch(34.56, 78.72, 314.82°)
OKLaboklab(46.09% 0.1175 -0.1588)
OKLCHoklch(46.09% 0.198 306.5)
XYZxyz(15.5397, 8.2782, 39.8009)
Luminance0.0828 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7528AC #5FAC28
analogous
#3328AC #7528AC #AC28A1
triadic
#7528AC #AC7528 #28AC75
tetradic
#7528AC #AC3328 #5FAC28 #28A1AC
square
#7528AC #AC3328 #5FAC28 #28A1AC
split-complementary
#7528AC #A1AC28 #28AC33
monochromatic
#311149 #531C7A #7528AC #953FD2 #B071DE

Accessibility & contrast

On white

7.91
#7528AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7528AC
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7528AC#FFFFFF#000000##FFFFFF
##7528AC1.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7528ac;
/* rgb */ color: rgb(117, 40, 172);
/* oklch */ color: oklch(46.1% 0.198 306.5);
Tailwind
colors: {
  custom: {
    50: '#a26bc6',
    500: '#7528ac',
    950: '#000000',
  },
}
SCSS
$custom: #7528ac;
$custom-light: #a26bc6;
$custom-dark: #000000;
JSON
{
  "hex": "#7528ac",
  "rgb": {
    "r": 117,
    "g": 40,
    "b": 172
  },
  "hsl": {
    "h": 275,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.46086,
    "c": 0.19756,
    "h": 306.5
  },
  "luminance": 0.08278
}

Semantic roles & 50–950 ramp

primary
#7528AC
secondary
#90C56B
accent
#E54286
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7528AC

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

Preview Lab → · Contrast checker → · Palette generator →

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