#7546BD#7546BD

#7546BD is a mid, vivid violet. Relative luminance 0.118; OKLCH L 51.1% C 0.179 H 297.9°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#7546BD
RGBrgb(117, 70, 189)
HSLhsl(264, 47%, 51%)
HSVhsv(264, 63%, 74%)
CMYKcmyk(38.1%, 63%, 0%, 25.9%)
CIE-LABlab(40.95, 45.36, -55.52)
CIE-LCHlch(40.95, 71.69, 309.25°)
OKLaboklab(51.05% 0.0838 -0.158)
OKLCHoklch(51.05% 0.179 297.9)
XYZxyz(18.7093, 11.8361, 49.4331)
Luminance0.1184 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7546BD #8EBD46
analogous
#4653BD #7546BD #B046BD
triadic
#7546BD #BD7546 #46BD75
tetradic
#7546BD #BD4653 #8EBD46 #46BDB0
square
#7546BD #BD4653 #8EBD46 #46BDB0
split-complementary
#7546BD #BDB046 #53BD46
monochromatic
#3D2465 #593492 #7546BD #9773CD #B8A0DD

Accessibility & contrast

On white

6.24
#7546BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#7546BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7546BD
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7546BD#FFFFFF#000000##FFFFFF
##7546BD1.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C1
Deuteranopia (green-blind)
#075FBA
Tritanopia (blue-blind)
#64607B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7546bd;
/* rgb */ color: rgb(117, 70, 189);
/* oklch */ color: oklch(51.1% 0.179 297.9);
Tailwind
colors: {
  custom: {
    50: '#a27cd2',
    500: '#7546bd',
    950: '#000000',
  },
}
SCSS
$custom: #7546bd;
$custom-light: #a27cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#7546bd",
  "rgb": {
    "r": 117,
    "g": 70,
    "b": 189
  },
  "hsl": {
    "h": 263.697,
    "s": 47.41,
    "l": 50.784
  },
  "oklch": {
    "l": 0.51052,
    "c": 0.17885,
    "h": 297.9
  },
  "luminance": 0.11836
}

Semantic roles & 50–950 ramp

primary
#7546BD
secondary
#B5CA95
accent
#D751A2
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0A14
muted
#7F7C83

Preview Lab

Preview with #7546BD

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

Preview Lab → · Contrast checker → · Palette generator →

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