#7546BC#7546BC

#7546BC is a mid, vivid violet. Relative luminance 0.118; OKLCH L 51.0% C 0.178 H 298.2°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#7546BC
RGBrgb(117, 70, 188)
HSLhsl(264, 47%, 51%)
HSVhsv(264, 63%, 74%)
CMYKcmyk(37.8%, 62.8%, 0%, 26.3%)
CIE-LABlab(40.88, 45.10, -55.04)
CIE-LCHlch(40.88, 71.16, 309.33°)
OKLaboklab(50.98% 0.0838 -0.1566)
OKLCHoklch(50.98% 0.178 298.2)
XYZxyz(18.6011, 11.7928, 48.8634)
Luminance0.1179 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7546BC #8DBC46
analogous
#4652BC #7546BC #B046BC
triadic
#7546BC #BC7546 #46BC75
tetradic
#7546BC #BC4652 #8DBC46 #46BCB0
square
#7546BC #BC4652 #8DBC46 #46BCB0
split-complementary
#7546BC #BCB046 #52BC46
monochromatic
#3D2464 #593490 #7546BC #9773CC #B8A0DD

Accessibility & contrast

On white

6.25
#7546BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#7546BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7546BC
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7546BC#FFFFFF#000000##FFFFFF
##7546BC1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C0
Deuteranopia (green-blind)
#0B5FB9
Tritanopia (blue-blind)
#64607A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7546bc;
/* rgb */ color: rgb(117, 70, 188);
/* oklch */ color: oklch(51.0% 0.178 298.2);
Tailwind
colors: {
  custom: {
    50: '#a27cd1',
    500: '#7546bc',
    950: '#000000',
  },
}
SCSS
$custom: #7546bc;
$custom-light: #a27cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#7546bc",
  "rgb": {
    "r": 117,
    "g": 70,
    "b": 188
  },
  "hsl": {
    "h": 263.898,
    "s": 46.825,
    "l": 50.588
  },
  "oklch": {
    "l": 0.5098,
    "c": 0.17765,
    "h": 298.2
  },
  "luminance": 0.11793
}

Semantic roles & 50–950 ramp

primary
#7546BC
secondary
#B4C995
accent
#D651A1
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0A14
muted
#7F7C82

Preview Lab

Preview with #7546BC

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

Preview Lab → · Contrast checker → · Palette generator →

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