#7532B8#7532B8

#7532B8 is a mid, vivid violet. Relative luminance 0.095; OKLCH L 48.1% C 0.199 H 302.1°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#7532B8
RGBrgb(117, 50, 184)
HSLhsl(270, 57%, 46%)
HSVhsv(270, 73%, 72%)
CMYKcmyk(36.4%, 72.8%, 0%, 27.8%)
CIE-LABlab(36.97, 54.07, -59.03)
CIE-LCHlch(36.97, 80.06, 312.49°)
OKLaboklab(48.08% 0.1057 -0.1683)
OKLCHoklch(48.08% 0.199 302.1)
XYZxyz(17.1264, 9.5237, 46.2741)
Luminance0.0952 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7532B8 #75B832
analogous
#3232B8 #7532B8 #B832B8
triadic
#7532B8 #B87532 #32B875
tetradic
#7532B8 #B83232 #75B832 #32B8B8
square
#7532B8 #B83232 #75B832 #32B8B8
split-complementary
#7532B8 #B8B832 #32B832
monochromatic
#381858 #562588 #7532B8 #9456D1 #B286DE

Accessibility & contrast

On white

7.23
#7532B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#7532B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7532B8#FFFFFF#000000##FFFFFF
##7532B81.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BC
Deuteranopia (green-blind)
#0056B5
Tritanopia (blue-blind)
#675372
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7532b8;
/* rgb */ color: rgb(117, 50, 184);
/* oklch */ color: oklch(48.1% 0.199 302.1);
Tailwind
colors: {
  custom: {
    50: '#a270ce',
    500: '#7532b8',
    950: '#000000',
  },
}
SCSS
$custom: #7532b8;
$custom-light: #a270ce;
$custom-dark: #000000;
JSON
{
  "hex": "#7532b8",
  "rgb": {
    "r": 117,
    "g": 50,
    "b": 184
  },
  "hsl": {
    "h": 270,
    "s": 57.265,
    "l": 45.882
  },
  "oklch": {
    "l": 0.48084,
    "c": 0.19873,
    "h": 302.1
  },
  "luminance": 0.09524
}

Semantic roles & 50–950 ramp

primary
#7532B8
secondary
#A3C87E
accent
#E14794
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7532B8

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

Preview Lab → · Contrast checker → · Palette generator →

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