#7532B2#7532B2

#7532B2 is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.6% C 0.192 H 303.7°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#7532B2
RGBrgb(117, 50, 178)
HSLhsl(271, 56%, 45%)
HSVhsv(271, 72%, 70%)
CMYKcmyk(34.3%, 71.9%, 0%, 30.2%)
CIE-LABlab(36.51, 52.63, -56.23)
CIE-LCHlch(36.51, 77.02, 313.11°)
OKLaboklab(47.61% 0.1069 -0.16)
OKLCHoklch(47.61% 0.192 303.7)
XYZxyz(16.5107, 9.2775, 43.0318)
Luminance0.0928 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7532B2 #6FB232
analogous
#3532B2 #7532B2 #B232AF
triadic
#7532B2 #B27532 #32B275
tetradic
#7532B2 #B23532 #6FB232 #32AFB2
square
#7532B2 #B23532 #6FB232 #32AFB2
split-complementary
#7532B2 #AFB232 #32B235
monochromatic
#361752 #562582 #7532B2 #9453CF #B182DC

Accessibility & contrast

On white

7.35
#7532B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#7532B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7532B2#FFFFFF#000000##FFFFFF
##7532B21.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B6
Deuteranopia (green-blind)
#0056AF
Tritanopia (blue-blind)
#69516F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7532b2;
/* rgb */ color: rgb(117, 50, 178);
/* oklch */ color: oklch(47.6% 0.192 303.7);
Tailwind
colors: {
  custom: {
    50: '#a270ca',
    500: '#7532b2',
    950: '#000000',
  },
}
SCSS
$custom: #7532b2;
$custom-light: #a270ca;
$custom-dark: #000000;
JSON
{
  "hex": "#7532b2",
  "rgb": {
    "r": 117,
    "g": 50,
    "b": 178
  },
  "hsl": {
    "h": 271.406,
    "s": 56.14,
    "l": 44.706
  },
  "oklch": {
    "l": 0.47613,
    "c": 0.19242,
    "h": 303.7
  },
  "luminance": 0.09277
}

Semantic roles & 50–950 ramp

primary
#7532B2
secondary
#9EC57B
accent
#DF4890
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7532B2

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

Preview Lab → · Contrast checker → · Palette generator →

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