#7532B5#7532B5

#7532B5 is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.8% C 0.196 H 302.9°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#7532B5
RGBrgb(117, 50, 181)
HSLhsl(271, 57%, 45%)
HSVhsv(271, 72%, 71%)
CMYKcmyk(35.4%, 72.4%, 0%, 29%)
CIE-LABlab(36.74, 53.35, -57.64)
CIE-LCHlch(36.74, 78.54, 312.79°)
OKLaboklab(47.85% 0.1063 -0.1642)
OKLCHoklch(47.85% 0.196 302.9)
XYZxyz(16.8152, 9.3993, 44.6355)
Luminance0.0940 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7532B5 #72B532
analogous
#3332B5 #7532B5 #B532B3
triadic
#7532B5 #B57532 #32B575
tetradic
#7532B5 #B53332 #72B532 #32B3B5
square
#7532B5 #B53332 #72B532 #32B3B5
split-complementary
#7532B5 #B3B532 #32B533
monochromatic
#371855 #562585 #7532B5 #9454D0 #B284DD

Accessibility & contrast

On white

7.29
#7532B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#7532B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7532B5#FFFFFF#000000##FFFFFF
##7532B51.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B9
Deuteranopia (green-blind)
#0056B2
Tritanopia (blue-blind)
#685270
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7532b5;
/* rgb */ color: rgb(117, 50, 181);
/* oklch */ color: oklch(47.8% 0.196 302.9);
Tailwind
colors: {
  custom: {
    50: '#a270cc',
    500: '#7532b5',
    950: '#000000',
  },
}
SCSS
$custom: #7532b5;
$custom-light: #a270cc;
$custom-dark: #000000;
JSON
{
  "hex": "#7532b5",
  "rgb": {
    "r": 117,
    "g": 50,
    "b": 181
  },
  "hsl": {
    "h": 270.687,
    "s": 56.71,
    "l": 45.294
  },
  "oklch": {
    "l": 0.47847,
    "c": 0.19558,
    "h": 302.9
  },
  "luminance": 0.09399
}

Semantic roles & 50–950 ramp

primary
#7532B5
secondary
#A1C77C
accent
#E04892
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7532B5

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

Preview Lab → · Contrast checker → · Palette generator →

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