#7547C5#7547C5

#7547C5 is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.8% C 0.187 H 296.0°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#7547C5
RGBrgb(117, 71, 197)
HSLhsl(262, 52%, 53%)
HSVhsv(262, 64%, 77%)
CMYKcmyk(40.6%, 64%, 0%, 22.7%)
CIE-LABlab(41.72, 46.94, -58.95)
CIE-LCHlch(41.72, 75.35, 308.53°)
OKLaboklab(51.79% 0.082 -0.1681)
OKLCHoklch(51.79% 0.187 296)
XYZxyz(19.6648, 12.3192, 54.1543)
Luminance0.1232 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7547C5 #97C547
analogous
#4758C5 #7547C5 #B447C5
triadic
#7547C5 #C57547 #47C575
tetradic
#7547C5 #C54758 #97C547 #47C5B4
square
#7547C5 #C54758 #97C547 #47C5B4
split-complementary
#7547C5 #C5B447 #58C547
monochromatic
#3F236F #59329D #7547C5 #9876D4 #BBA4E2

Accessibility & contrast

On white

6.06
#7547C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#7547C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7547C5
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7547C5#FFFFFF#000000##FFFFFF
##7547C51.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C9
Deuteranopia (green-blind)
#0061C2
Tritanopia (blue-blind)
#616480
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7547c5;
/* rgb */ color: rgb(117, 71, 197);
/* oklch */ color: oklch(51.8% 0.187 296.0);
Tailwind
colors: {
  custom: {
    50: '#a27dd7',
    500: '#7547c5',
    950: '#000000',
  },
}
SCSS
$custom: #7547c5;
$custom-light: #a27dd7;
$custom-dark: #000000;
JSON
{
  "hex": "#7547c5",
  "rgb": {
    "r": 117,
    "g": 71,
    "b": 197
  },
  "hsl": {
    "h": 261.905,
    "s": 52.066,
    "l": 52.549
  },
  "oklch": {
    "l": 0.51785,
    "c": 0.18702,
    "h": 296
  },
  "luminance": 0.1232
}

Semantic roles & 50–950 ramp

primary
#7547C5
secondary
#BBCF99
accent
#DC4CA7
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7547C5

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

Preview Lab → · Contrast checker → · Palette generator →

#7547C5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva