#7528B5#7528B5

#7528B5 is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 46.8% C 0.206 H 304.0°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#7528B5
RGBrgb(117, 40, 181)
HSLhsl(273, 64%, 43%)
HSVhsv(273, 78%, 71%)
CMYKcmyk(35.4%, 77.9%, 0%, 29%)
CIE-LABlab(35.27, 57.54, -60.03)
CIE-LCHlch(35.27, 83.15, 313.79°)
OKLaboklab(46.81% 0.1154 -0.1711)
OKLCHoklch(46.81% 0.206 304)
XYZxyz(16.4335, 8.6357, 44.5082)
Luminance0.0864 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7528B5 #68B528
analogous
#2E28B5 #7528B5 #B528AE
triadic
#7528B5 #B57528 #28B575
tetradic
#7528B5 #B52E28 #68B528 #28AEB5
square
#7528B5 #B52E28 #68B528 #28AEB5
split-complementary
#7528B5 #AEB528 #28B52E
monochromatic
#341251 #551D83 #7528B5 #9444D6 #B177E1

Accessibility & contrast

On white

7.70
#7528B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#7528B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7528B5
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7528B5#FFFFFF#000000##FFFFFF
##7528B51.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B9
Deuteranopia (green-blind)
#0053B2
Tritanopia (blue-blind)
#684D6E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7528b5;
/* rgb */ color: rgb(117, 40, 181);
/* oklch */ color: oklch(46.8% 0.206 304.0);
Tailwind
colors: {
  custom: {
    50: '#a36bcc',
    500: '#7528b5',
    950: '#000000',
  },
}
SCSS
$custom: #7528b5;
$custom-light: #a36bcc;
$custom-dark: #000000;
JSON
{
  "hex": "#7528b5",
  "rgb": {
    "r": 117,
    "g": 40,
    "b": 181
  },
  "hsl": {
    "h": 272.766,
    "s": 63.801,
    "l": 43.333
  },
  "oklch": {
    "l": 0.46813,
    "c": 0.2064,
    "h": 304
  },
  "luminance": 0.08636
}

Semantic roles & 50–950 ramp

primary
#7528B5
secondary
#98C870
accent
#E7418C
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7528B5

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

Preview Lab → · Contrast checker → · Palette generator →

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