#7528C5#7528C5

#7528C5 is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 48.2% C 0.222 H 300.0°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#7528C5
RGBrgb(117, 40, 197)
HSLhsl(269, 66%, 46%)
HSVhsv(269, 80%, 77%)
CMYKcmyk(40.6%, 79.7%, 0%, 22.7%)
CIE-LABlab(36.61, 61.25, -67.26)
CIE-LCHlch(36.61, 90.97, 312.32°)
OKLaboklab(48.16% 0.111 -0.1924)
OKLCHoklch(48.16% 0.222 300)
XYZxyz(18.1704, 9.3305, 53.6562)
Luminance0.0933 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7528C5 #78C528
analogous
#2829C5 #7528C5 #C428C5
triadic
#7528C5 #C57528 #28C575
tetradic
#7528C5 #C52829 #78C528 #28C5C4
square
#7528C5 #C52829 #78C528 #28C5C4
split-complementary
#7528C5 #C5C428 #29C528
monochromatic
#39135F #571E92 #7528C5 #944FDB #B382E6

Accessibility & contrast

On white

7.33
#7528C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#7528C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7528C5
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7528C5#FFFFFF#000000##FFFFFF
##7528C51.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C9
Deuteranopia (green-blind)
#0055C2
Tritanopia (blue-blind)
#625477
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7528c5;
/* rgb */ color: rgb(117, 40, 197);
/* oklch */ color: oklch(48.2% 0.222 300.0);
Tailwind
colors: {
  custom: {
    50: '#a46cd8',
    500: '#7528c5',
    950: '#000000',
  },
}
SCSS
$custom: #7528c5;
$custom-light: #a46cd8;
$custom-dark: #000000;
JSON
{
  "hex": "#7528c5",
  "rgb": {
    "r": 117,
    "g": 40,
    "b": 197
  },
  "hsl": {
    "h": 269.427,
    "s": 66.245,
    "l": 46.471
  },
  "oklch": {
    "l": 0.48161,
    "c": 0.22208,
    "h": 300
  },
  "luminance": 0.09331
}

Semantic roles & 50–950 ramp

primary
#7528C5
secondary
#A5CE7A
accent
#E93F96
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100715
muted
#7F7A83

Preview Lab

Preview with #7528C5

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

Preview Lab → · Contrast checker → · Palette generator →

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