#7532BA#7532BA

#7532BA is a mid, highly saturated violet. Relative luminance 0.096; OKLCH L 48.2% C 0.201 H 301.6°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#7532BA
RGBrgb(117, 50, 186)
HSLhsl(270, 58%, 46%)
HSVhsv(270, 73%, 73%)
CMYKcmyk(37.1%, 73.1%, 0%, 27.1%)
CIE-LABlab(37.13, 54.56, -59.96)
CIE-LCHlch(37.13, 81.07, 312.30°)
OKLaboklab(48.24% 0.1053 -0.171)
OKLCHoklch(48.24% 0.201 301.6)
XYZxyz(17.3375, 9.6082, 47.3860)
Luminance0.0961 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7532BA #77BA32
analogous
#3233BA #7532BA #B932BA
triadic
#7532BA #BA7532 #32BA75
tetradic
#7532BA #BA3233 #77BA32 #32BAB9
square
#7532BA #BA3233 #77BA32 #32BAB9
split-complementary
#7532BA #BAB932 #33BA32
monochromatic
#38185A #57258A #7532BA #9457D2 #B388DF

Accessibility & contrast

On white

7.19
#7532BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#7532BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7532BA#FFFFFF#000000##FFFFFF
##7532BA1.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BE
Deuteranopia (green-blind)
#0057B7
Tritanopia (blue-blind)
#665473
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7532ba;
/* rgb */ color: rgb(117, 50, 186);
/* oklch */ color: oklch(48.2% 0.201 301.6);
Tailwind
colors: {
  custom: {
    50: '#a370d0',
    500: '#7532ba',
    950: '#000000',
  },
}
SCSS
$custom: #7532ba;
$custom-light: #a370d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7532ba",
  "rgb": {
    "r": 117,
    "g": 50,
    "b": 186
  },
  "hsl": {
    "h": 269.559,
    "s": 57.627,
    "l": 46.275
  },
  "oklch": {
    "l": 0.48243,
    "c": 0.20083,
    "h": 301.6
  },
  "luminance": 0.09608
}

Semantic roles & 50–950 ramp

primary
#7532BA
secondary
#A4C97F
accent
#E14795
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7532BA

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

Preview Lab → · Contrast checker → · Palette generator →

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