#7546CE#7546CE

#7546CE is a mid, vivid violet. Relative luminance 0.126; OKLCH L 52.3% C 0.199 H 294.4°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#7546CE
RGBrgb(117, 70, 206)
HSLhsl(261, 58%, 54%)
HSVhsv(261, 66%, 81%)
CMYKcmyk(43.2%, 66%, 0%, 19.2%)
CIE-LABlab(42.18, 49.87, -63.41)
CIE-LCHlch(42.18, 80.67, 308.18°)
OKLaboklab(52.33% 0.0821 -0.1812)
OKLCHoklch(52.33% 0.199 294.4)
XYZxyz(20.6639, 12.6179, 59.7273)
Luminance0.1262 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7546CE #9FCE46
analogous
#465BCE #7546CE #B946CE
triadic
#7546CE #CE7546 #46CE75
tetradic
#7546CE #CE465B #9FCE46 #46CEB9
square
#7546CE #CE465B #9FCE46 #46CEB9
split-complementary
#7546CE #CEB946 #5BCE46
monochromatic
#3F2079 #582DAA #7546CE #9976DB #BDA7E8

Accessibility & contrast

On white

5.96
#7546CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#7546CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7546CE
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7546CE#FFFFFF#000000##FFFFFF
##7546CE1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D2
Deuteranopia (green-blind)
#0061CB
Tritanopia (blue-blind)
#5D6684
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7546ce;
/* rgb */ color: rgb(117, 70, 206);
/* oklch */ color: oklch(52.3% 0.199 294.4);
Tailwind
colors: {
  custom: {
    50: '#a37cde',
    500: '#7546ce',
    950: '#000000',
  },
}
SCSS
$custom: #7546ce;
$custom-light: #a37cde;
$custom-dark: #000000;
JSON
{
  "hex": "#7546ce",
  "rgb": {
    "r": 117,
    "g": 70,
    "b": 206
  },
  "hsl": {
    "h": 260.735,
    "s": 58.12,
    "l": 54.118
  },
  "oklch": {
    "l": 0.52326,
    "c": 0.19892,
    "h": 294.4
  },
  "luminance": 0.12618
}

Semantic roles & 50–950 ramp

primary
#7546CE
secondary
#C1D59B
accent
#E146AC
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7546CE

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

Preview Lab → · Contrast checker → · Palette generator →

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