#7528AB#7528AB

#7528AB is a mid, vivid violet. Relative luminance 0.082; OKLCH L 46.0% C 0.197 H 306.8°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#7528AB
RGBrgb(117, 40, 171)
HSLhsl(275, 62%, 41%)
HSVhsv(275, 77%, 67%)
CMYKcmyk(31.6%, 76.6%, 0%, 32.9%)
CIE-LABlab(34.48, 55.27, -55.37)
CIE-LCHlch(34.48, 78.23, 314.95°)
OKLaboklab(46.01% 0.1177 -0.1574)
OKLCHoklch(46.01% 0.197 306.8)
XYZxyz(15.4440, 8.2399, 39.2970)
Luminance0.0824 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7528AB #5EAB28
analogous
#3428AB #7528AB #AB28A0
triadic
#7528AB #AB7528 #28AB75
tetradic
#7528AB #AB3428 #5EAB28 #28A0AB
square
#7528AB #AB3428 #5EAB28 #28A0AB
split-complementary
#7528AB #A0AB28 #28AB34
monochromatic
#311148 #531C79 #7528AB #953ED2 #B070DE

Accessibility & contrast

On white

7.93
#7528AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#7528AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7528AB
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7528AB#FFFFFF#000000##FFFFFF
##7528AB1.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAF
Deuteranopia (green-blind)
#0052A8
Tritanopia (blue-blind)
#6C4968
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7528ab;
/* rgb */ color: rgb(117, 40, 171);
/* oklch */ color: oklch(46.0% 0.197 306.8);
Tailwind
colors: {
  custom: {
    50: '#a26ac5',
    500: '#7528ab',
    950: '#000000',
  },
}
SCSS
$custom: #7528ab;
$custom-light: #a26ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#7528ab",
  "rgb": {
    "r": 117,
    "g": 40,
    "b": 171
  },
  "hsl": {
    "h": 275.267,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.46006,
    "c": 0.19658,
    "h": 306.8
  },
  "luminance": 0.0824
}

Semantic roles & 50–950 ramp

primary
#7528AB
secondary
#8FC46A
accent
#E54386
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7528AB

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

Preview Lab → · Contrast checker → · Palette generator →

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