#7546C2#7546C2

#7546C2 is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.4% C 0.185 H 296.8°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#7546C2
RGBrgb(117, 70, 194)
HSLhsl(263, 50%, 52%)
HSVhsv(263, 64%, 76%)
CMYKcmyk(39.7%, 63.9%, 0%, 23.9%)
CIE-LABlab(41.31, 46.68, -57.87)
CIE-LCHlch(41.31, 74.35, 308.89°)
OKLaboklab(51.42% 0.0834 -0.1649)
OKLCHoklch(51.42% 0.185 296.8)
XYZxyz(19.2614, 12.0569, 52.3409)
Luminance0.1206 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7546C2 #93C246
analogous
#4655C2 #7546C2 #B346C2
triadic
#7546C2 #C27546 #46C275
tetradic
#7546C2 #C24655 #93C246 #46C2B3
square
#7546C2 #C24655 #93C246 #46C2B3
split-complementary
#7546C2 #C2B346 #55C246
monochromatic
#3E236A #593299 #7546C2 #9774D1 #BAA2E0

Accessibility & contrast

On white

6.16
#7546C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#7546C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7546C2
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7546C2#FFFFFF#000000##FFFFFF
##7546C21.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C6
Deuteranopia (green-blind)
#0060BF
Tritanopia (blue-blind)
#62627E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7546c2;
/* rgb */ color: rgb(117, 70, 194);
/* oklch */ color: oklch(51.4% 0.185 296.8);
Tailwind
colors: {
  custom: {
    50: '#a27cd5',
    500: '#7546c2',
    950: '#000000',
  },
}
SCSS
$custom: #7546c2;
$custom-light: #a27cd5;
$custom-dark: #000000;
JSON
{
  "hex": "#7546c2",
  "rgb": {
    "r": 117,
    "g": 70,
    "b": 194
  },
  "hsl": {
    "h": 262.742,
    "s": 50.407,
    "l": 51.765
  },
  "oklch": {
    "l": 0.51419,
    "c": 0.18479,
    "h": 296.8
  },
  "luminance": 0.12057
}

Semantic roles & 50–950 ramp

primary
#7546C2
secondary
#B8CD97
accent
#DA4EA5
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7546C2

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

Preview Lab → · Contrast checker → · Palette generator →

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