#7528A3#7528A3

#7528A3 is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.4% C 0.189 H 309.2°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#7528A3
RGBrgb(117, 40, 163)
HSLhsl(278, 61%, 40%)
HSVhsv(278, 75%, 64%)
CMYKcmyk(28.2%, 75.5%, 0%, 36.1%)
CIE-LABlab(33.87, 53.47, -51.55)
CIE-LCHlch(33.87, 74.28, 316.05°)
OKLaboklab(45.38% 0.1194 -0.1462)
OKLCHoklch(45.38% 0.189 309.2)
XYZxyz(14.7044, 7.9441, 35.4020)
Luminance0.0794 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7528A3 #56A328
analogous
#3828A3 #7528A3 #A32894
triadic
#7528A3 #A37528 #28A375
tetradic
#7528A3 #A33828 #56A328 #2894A3
square
#7528A3 #A33828 #56A328 #2894A3
split-complementary
#7528A3 #94A328 #28A338
monochromatic
#2E1041 #521C72 #7528A3 #973ACF #B16BDB

Accessibility & contrast

On white

8.11
#7528A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#7528A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7528A3
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7528A3#FFFFFF#000000##FFFFFF
##7528A31.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA6
Deuteranopia (green-blind)
#0051A0
Tritanopia (blue-blind)
#6E4564
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7528a3;
/* rgb */ color: rgb(117, 40, 163);
/* oklch */ color: oklch(45.4% 0.189 309.2);
Tailwind
colors: {
  custom: {
    50: '#a16abf',
    500: '#7528a3',
    950: '#000000',
  },
}
SCSS
$custom: #7528a3;
$custom-light: #a16abf;
$custom-dark: #000000;
JSON
{
  "hex": "#7528a3",
  "rgb": {
    "r": 117,
    "g": 40,
    "b": 163
  },
  "hsl": {
    "h": 277.561,
    "s": 60.591,
    "l": 39.804
  },
  "oklch": {
    "l": 0.45384,
    "c": 0.18874,
    "h": 309.2
  },
  "luminance": 0.07944
}

Semantic roles & 50–950 ramp

primary
#7528A3
secondary
#88C166
accent
#E44480
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #7528A3

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

Preview Lab → · Contrast checker → · Palette generator →

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