#7528AA#7528AA

#7528AA is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.9% C 0.196 H 307.1°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#7528AA
RGBrgb(117, 40, 170)
HSLhsl(276, 62%, 41%)
HSVhsv(276, 76%, 67%)
CMYKcmyk(31.2%, 76.5%, 0%, 33.3%)
CIE-LABlab(34.40, 55.04, -54.89)
CIE-LCHlch(34.40, 77.73, 315.08°)
OKLaboklab(45.93% 0.118 -0.156)
OKLCHoklch(45.93% 0.196 307.1)
XYZxyz(15.3490, 8.2020, 38.7970)
Luminance0.0820 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7528AA #5DAA28
analogous
#3428AA #7528AA #AA289E
triadic
#7528AA #AA7528 #28AA75
tetradic
#7528AA #AA3428 #5DAA28 #289EAA
square
#7528AA #AA3428 #5DAA28 #289EAA
split-complementary
#7528AA #9EAA28 #28AA34
monochromatic
#311147 #531C78 #7528AA #953ED2 #B06FDD

Accessibility & contrast

On white

7.95
#7528AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#7528AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7528AA#FFFFFF#000000##FFFFFF
##7528AA1.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAE
Deuteranopia (green-blind)
#0051A7
Tritanopia (blue-blind)
#6C4868
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7528aa;
/* rgb */ color: rgb(117, 40, 170);
/* oklch */ color: oklch(45.9% 0.196 307.1);
Tailwind
colors: {
  custom: {
    50: '#a26ac4',
    500: '#7528aa',
    950: '#000000',
  },
}
SCSS
$custom: #7528aa;
$custom-light: #a26ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#7528aa",
  "rgb": {
    "r": 117,
    "g": 40,
    "b": 170
  },
  "hsl": {
    "h": 275.538,
    "s": 61.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.45927,
    "c": 0.1956,
    "h": 307.1
  },
  "luminance": 0.08202
}

Semantic roles & 50–950 ramp

primary
#7528AA
secondary
#8FC46A
accent
#E54385
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7528AA

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

Preview Lab → · Contrast checker → · Palette generator →

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