#7528AE#7528AE

#7528AE is a mid, vivid violet. Relative luminance 0.084; OKLCH L 46.2% C 0.200 H 305.9°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#7528AE
RGBrgb(117, 40, 174)
HSLhsl(274, 63%, 42%)
HSVhsv(274, 77%, 68%)
CMYKcmyk(32.8%, 77%, 0%, 31.8%)
CIE-LABlab(34.71, 55.94, -56.78)
CIE-LCHlch(34.71, 79.71, 314.58°)
OKLaboklab(46.25% 0.1171 -0.1616)
OKLCHoklch(46.25% 0.2 305.9)
XYZxyz(15.7332, 8.3556, 40.8201)
Luminance0.0835 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7528AE #61AE28
analogous
#3228AE #7528AE #AE28A4
triadic
#7528AE #AE7528 #28AE75
tetradic
#7528AE #AE3228 #61AE28 #28A4AE
square
#7528AE #AE3228 #61AE28 #28A4AE
split-complementary
#7528AE #A4AE28 #28AE32
monochromatic
#32114A #541D7C #7528AE #9540D3 #B072DF

Accessibility & contrast

On white

7.86
#7528AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#7528AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7528AE
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7528AE#FFFFFF#000000##FFFFFF
##7528AE1.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB2
Deuteranopia (green-blind)
#0052AB
Tritanopia (blue-blind)
#6B4A6A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7528ae;
/* rgb */ color: rgb(117, 40, 174);
/* oklch */ color: oklch(46.2% 0.200 305.9);
Tailwind
colors: {
  custom: {
    50: '#a26bc7',
    500: '#7528ae',
    950: '#000000',
  },
}
SCSS
$custom: #7528ae;
$custom-light: #a26bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#7528ae",
  "rgb": {
    "r": 117,
    "g": 40,
    "b": 174
  },
  "hsl": {
    "h": 274.478,
    "s": 62.617,
    "l": 41.961
  },
  "oklch": {
    "l": 0.46245,
    "c": 0.19953,
    "h": 305.9
  },
  "luminance": 0.08355
}

Semantic roles & 50–950 ramp

primary
#7528AE
secondary
#92C66C
accent
#E64288
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7528AE

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

Preview Lab → · Contrast checker → · Palette generator →

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