#7532B4#7532B4

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

Color values

HEX#7532B4
RGBrgb(117, 50, 180)
HSLhsl(271, 57%, 45%)
HSVhsv(271, 72%, 71%)
CMYKcmyk(35%, 72.2%, 0%, 29.4%)
CIE-LABlab(36.67, 53.11, -57.17)
CIE-LCHlch(36.67, 78.03, 312.89°)
OKLaboklab(47.77% 0.1065 -0.1628)
OKLCHoklch(47.77% 0.195 303.2)
XYZxyz(16.7130, 9.3584, 44.0970)
Luminance0.0936 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7532B4 #71B432
analogous
#3432B4 #7532B4 #B432B2
triadic
#7532B4 #B47532 #32B475
tetradic
#7532B4 #B43432 #71B432 #32B2B4
square
#7532B4 #B43432 #71B432 #32B2B4
split-complementary
#7532B4 #B2B432 #32B434
monochromatic
#371754 #562584 #7532B4 #9454CF #B284DD

Accessibility & contrast

On white

7.31
#7532B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#7532B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7532B4#FFFFFF#000000##FFFFFF
##7532B41.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B8
Deuteranopia (green-blind)
#0056B1
Tritanopia (blue-blind)
#685170
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7532b4;
/* rgb */ color: rgb(117, 50, 180);
/* oklch */ color: oklch(47.8% 0.195 303.2);
Tailwind
colors: {
  custom: {
    50: '#a270cb',
    500: '#7532b4',
    950: '#000000',
  },
}
SCSS
$custom: #7532b4;
$custom-light: #a270cb;
$custom-dark: #000000;
JSON
{
  "hex": "#7532b4",
  "rgb": {
    "r": 117,
    "g": 50,
    "b": 180
  },
  "hsl": {
    "h": 270.923,
    "s": 56.522,
    "l": 45.098
  },
  "oklch": {
    "l": 0.47769,
    "c": 0.19453,
    "h": 303.2
  },
  "luminance": 0.09358
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7532B4

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

Preview Lab → · Contrast checker → · Palette generator →

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