#7546AC#7546AC

#7546AC is a mid, vivid violet. Relative luminance 0.111; OKLCH L 49.9% C 0.158 H 302.2°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#7546AC
RGBrgb(117, 70, 172)
HSLhsl(268, 42%, 47%)
HSVhsv(268, 59%, 67%)
CMYKcmyk(32%, 59.3%, 0%, 32.5%)
CIE-LABlab(39.82, 40.96, -47.34)
CIE-LCHlch(39.82, 62.60, 310.87°)
OKLaboklab(49.86% 0.0845 -0.134)
OKLCHoklch(49.86% 0.158 302.2)
XYZxyz(16.9709, 11.1408, 40.2780)
Luminance0.1114 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7546AC #7DAC46
analogous
#464AAC #7546AC #A846AC
triadic
#7546AC #AC7546 #46AC75
tetradic
#7546AC #AC464A #7DAC46 #46ACA8
square
#7546AC #AC464A #7DAC46 #46ACA8
split-complementary
#7546AC #ACA846 #4AAC46
monochromatic
#3A2355 #573481 #7546AC #946CC3 #B498D5

Accessibility & contrast

On white

6.51
#7546AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#7546AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7546AC
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7546AC#FFFFFF#000000##FFFFFF
##7546AC1.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#145DAF
Deuteranopia (green-blind)
#2B5DAA
Tritanopia (blue-blind)
#6A5B72
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7546ac;
/* rgb */ color: rgb(117, 70, 172);
/* oklch */ color: oklch(49.9% 0.158 302.2);
Tailwind
colors: {
  custom: {
    50: '#a07bc5',
    500: '#7546ac',
    950: '#000000',
  },
}
SCSS
$custom: #7546ac;
$custom-light: #a07bc5;
$custom-dark: #000000;
JSON
{
  "hex": "#7546ac",
  "rgb": {
    "r": 117,
    "g": 70,
    "b": 172
  },
  "hsl": {
    "h": 267.647,
    "s": 42.149,
    "l": 47.451
  },
  "oklch": {
    "l": 0.49861,
    "c": 0.15838,
    "h": 302.2
  },
  "luminance": 0.11141
}

Semantic roles & 50–950 ramp

primary
#7546AC
secondary
#A9C18D
accent
#D25699
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#0F0913
muted
#7F7B82

Preview Lab

Preview with #7546AC

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

Preview Lab → · Contrast checker → · Palette generator →

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