#7546C5#7546C5

#7546C5 is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.6% C 0.188 H 296.2°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#7546C5
RGBrgb(117, 70, 197)
HSLhsl(262, 52%, 52%)
HSVhsv(262, 64%, 77%)
CMYKcmyk(40.6%, 64.5%, 0%, 22.7%)
CIE-LABlab(41.52, 47.47, -59.27)
CIE-LCHlch(41.52, 75.93, 308.69°)
OKLaboklab(51.64% 0.0831 -0.169)
OKLCHoklch(51.64% 0.188 296.2)
XYZxyz(19.6017, 12.1931, 54.1332)
Luminance0.1219 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7546C5 #96C546
analogous
#4656C5 #7546C5 #B546C5
triadic
#7546C5 #C57546 #46C575
tetradic
#7546C5 #C54656 #96C546 #46C5B5
square
#7546C5 #C54656 #96C546 #46C5B5
split-complementary
#7546C5 #C5B546 #56C546
monochromatic
#3E236E #59319D #7546C5 #9875D4 #BBA3E2

Accessibility & contrast

On white

6.11
#7546C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#7546C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7546C5
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7546C5#FFFFFF#000000##FFFFFF
##7546C51.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C9
Deuteranopia (green-blind)
#0060C2
Tritanopia (blue-blind)
#61637F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7546c5;
/* rgb */ color: rgb(117, 70, 197);
/* oklch */ color: oklch(51.6% 0.188 296.2);
Tailwind
colors: {
  custom: {
    50: '#a37cd7',
    500: '#7546c5',
    950: '#000000',
  },
}
SCSS
$custom: #7546c5;
$custom-light: #a37cd7;
$custom-dark: #000000;
JSON
{
  "hex": "#7546c5",
  "rgb": {
    "r": 117,
    "g": 70,
    "b": 197
  },
  "hsl": {
    "h": 262.205,
    "s": 52.263,
    "l": 52.353
  },
  "oklch": {
    "l": 0.51642,
    "c": 0.18835,
    "h": 296.2
  },
  "luminance": 0.12193
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7546C5

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

Preview Lab → · Contrast checker → · Palette generator →

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