#7528A2#7528A2

#7528A2 is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.3% C 0.188 H 309.5°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#7528A2
RGBrgb(117, 40, 162)
HSLhsl(278, 60%, 40%)
HSVhsv(278, 75%, 64%)
CMYKcmyk(27.8%, 75.3%, 0%, 36.5%)
CIE-LABlab(33.79, 53.25, -51.07)
CIE-LCHlch(33.79, 73.78, 316.20°)
OKLaboklab(45.31% 0.1195 -0.1448)
OKLCHoklch(45.31% 0.188 309.5)
XYZxyz(14.6152, 7.9084, 34.9320)
Luminance0.0791 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7528A2 #55A228
analogous
#3828A2 #7528A2 #A22892
triadic
#7528A2 #A27528 #28A275
tetradic
#7528A2 #A23828 #55A228 #2892A2
square
#7528A2 #A23828 #55A228 #2892A2
split-complementary
#7528A2 #92A228 #28A238
monochromatic
#2E1040 #521C71 #7528A2 #9739CE #B16ADA

Accessibility & contrast

On white

8.13
#7528A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#7528A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7528A2
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7528A2#FFFFFF#000000##FFFFFF
##7528A21.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA5
Deuteranopia (green-blind)
#04509F
Tritanopia (blue-blind)
#6E4563
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7528a2;
/* rgb */ color: rgb(117, 40, 162);
/* oklch */ color: oklch(45.3% 0.188 309.5);
Tailwind
colors: {
  custom: {
    50: '#a16abe',
    500: '#7528a2',
    950: '#000000',
  },
}
SCSS
$custom: #7528a2;
$custom-light: #a16abe;
$custom-dark: #000000;
JSON
{
  "hex": "#7528a2",
  "rgb": {
    "r": 117,
    "g": 40,
    "b": 162
  },
  "hsl": {
    "h": 277.869,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.45307,
    "c": 0.18776,
    "h": 309.5
  },
  "luminance": 0.07908
}

Semantic roles & 50–950 ramp

primary
#7528A2
secondary
#87C165
accent
#E4447F
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #7528A2

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

Preview Lab → · Contrast checker → · Palette generator →

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