#7546CC#7546CC

#7546CC is a mid, vivid violet. Relative luminance 0.125; OKLCH L 52.2% C 0.197 H 294.8°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#7546CC
RGBrgb(117, 70, 204)
HSLhsl(261, 57%, 54%)
HSVhsv(261, 66%, 80%)
CMYKcmyk(42.6%, 65.7%, 0%, 20%)
CIE-LABlab(42.03, 49.33, -62.49)
CIE-LCHlch(42.03, 79.62, 308.29°)
OKLaboklab(52.17% 0.0823 -0.1785)
OKLCHoklch(52.17% 0.197 294.8)
XYZxyz(20.4224, 12.5214, 58.4559)
Luminance0.1252 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7546CC #9DCC46
analogous
#465ACC #7546CC #B846CC
triadic
#7546CC #CC7546 #46CC75
tetradic
#7546CC #CC465A #9DCC46 #46CCB8
square
#7546CC #CC465A #9DCC46 #46CCB8
split-complementary
#7546CC #CCB846 #5ACC46
monochromatic
#3F2177 #582EA7 #7546CC #9976D9 #BDA6E6

Accessibility & contrast

On white

5.99
#7546CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#7546CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7546CC
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7546CC#FFFFFF#000000##FFFFFF
##7546CC1.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D0
Deuteranopia (green-blind)
#0061C9
Tritanopia (blue-blind)
#5D6683
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7546cc;
/* rgb */ color: rgb(117, 70, 204);
/* oklch */ color: oklch(52.2% 0.197 294.8);
Tailwind
colors: {
  custom: {
    50: '#a37cdc',
    500: '#7546cc',
    950: '#000000',
  },
}
SCSS
$custom: #7546cc;
$custom-light: #a37cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#7546cc",
  "rgb": {
    "r": 117,
    "g": 70,
    "b": 204
  },
  "hsl": {
    "h": 261.045,
    "s": 56.78,
    "l": 53.725
  },
  "oklch": {
    "l": 0.52172,
    "c": 0.19659,
    "h": 294.8
  },
  "luminance": 0.12522
}

Semantic roles & 50–950 ramp

primary
#7546CC
secondary
#BFD49A
accent
#E048AB
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7546CC

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

Preview Lab → · Contrast checker → · Palette generator →

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