#7532AA#7532AA

#7532AA is a mid, vivid violet. Relative luminance 0.090; OKLCH L 47.0% C 0.184 H 306.0°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#7532AA
RGBrgb(117, 50, 170)
HSLhsl(274, 55%, 43%)
HSVhsv(274, 71%, 67%)
CMYKcmyk(31.2%, 70.6%, 0%, 33.3%)
CIE-LABlab(35.92, 50.74, -52.43)
CIE-LCHlch(35.92, 72.96, 314.06°)
OKLaboklab(47% 0.1081 -0.1489)
OKLCHoklch(47% 0.184 306)
XYZxyz(15.7308, 8.9655, 38.9242)
Luminance0.0896 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7532AA #67AA32
analogous
#3932AA #7532AA #AA32A3
triadic
#7532AA #AA7532 #32AA75
tetradic
#7532AA #AA3932 #67AA32 #32A3AA
square
#7532AA #AA3932 #67AA32 #32A3AA
split-complementary
#7532AA #A3AA32 #32AA39
monochromatic
#34164B #54247B #7532AA #944ECB #B17DD9

Accessibility & contrast

On white

7.52
#7532AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#7532AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7532AA
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7532AA#FFFFFF#000000##FFFFFF
##7532AA1.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AE
Deuteranopia (green-blind)
#0455A7
Tritanopia (blue-blind)
#6C4D6A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7532aa;
/* rgb */ color: rgb(117, 50, 170);
/* oklch */ color: oklch(47.0% 0.184 306.0);
Tailwind
colors: {
  custom: {
    50: '#a16fc4',
    500: '#7532aa',
    950: '#000000',
  },
}
SCSS
$custom: #7532aa;
$custom-light: #a16fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#7532aa",
  "rgb": {
    "r": 117,
    "g": 50,
    "b": 170
  },
  "hsl": {
    "h": 273.5,
    "s": 54.545,
    "l": 43.137
  },
  "oklch": {
    "l": 0.47002,
    "c": 0.18399,
    "h": 306
  },
  "luminance": 0.08965
}

Semantic roles & 50–950 ramp

primary
#7532AA
secondary
#97C276
accent
#DE4A8B
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #7532AA

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

Preview Lab → · Contrast checker → · Palette generator →

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