#7546C7#7546C7

#7546C7 is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.8% C 0.191 H 295.8°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#7546C7
RGBrgb(117, 70, 199)
HSLhsl(262, 54%, 53%)
HSVhsv(262, 65%, 78%)
CMYKcmyk(41.2%, 64.8%, 0%, 22%)
CIE-LABlab(41.67, 48.00, -60.19)
CIE-LCHlch(41.67, 76.99, 308.57°)
OKLaboklab(51.79% 0.0829 -0.1718)
OKLCHoklch(51.79% 0.191 295.8)
XYZxyz(19.8324, 12.2853, 55.3482)
Luminance0.1229 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7546C7 #98C746
analogous
#4658C7 #7546C7 #B546C7
triadic
#7546C7 #C77546 #46C775
tetradic
#7546C7 #C74658 #98C746 #46C7B5
square
#7546C7 #C74658 #98C746 #46C7B5
split-complementary
#7546C7 #C7B546 #58C746
monochromatic
#3F2271 #5930A0 #7546C7 #9875D5 #BBA4E3

Accessibility & contrast

On white

6.07
#7546C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#7546C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7546C7
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7546C7#FFFFFF#000000##FFFFFF
##7546C71.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CB
Deuteranopia (green-blind)
#0060C4
Tritanopia (blue-blind)
#606480
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7546c7;
/* rgb */ color: rgb(117, 70, 199);
/* oklch */ color: oklch(51.8% 0.191 295.8);
Tailwind
colors: {
  custom: {
    50: '#a37cd9',
    500: '#7546c7',
    950: '#000000',
  },
}
SCSS
$custom: #7546c7;
$custom-light: #a37cd9;
$custom-dark: #000000;
JSON
{
  "hex": "#7546c7",
  "rgb": {
    "r": 117,
    "g": 70,
    "b": 199
  },
  "hsl": {
    "h": 261.86,
    "s": 53.527,
    "l": 52.745
  },
  "oklch": {
    "l": 0.51792,
    "c": 0.19071,
    "h": 295.8
  },
  "luminance": 0.12286
}

Semantic roles & 50–950 ramp

primary
#7546C7
secondary
#BCD098
accent
#DD4BA8
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7546C7

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

Preview Lab → · Contrast checker → · Palette generator →

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