#7546CA#7546CA

#7546CA is a mid, vivid violet. Relative luminance 0.124; OKLCH L 52.0% C 0.194 H 295.1°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#7546CA
RGBrgb(117, 70, 202)
HSLhsl(261, 55%, 53%)
HSVhsv(261, 65%, 79%)
CMYKcmyk(42.1%, 65.3%, 0%, 20.8%)
CIE-LABlab(41.89, 48.80, -61.58)
CIE-LCHlch(41.89, 78.57, 308.40°)
OKLaboklab(52.02% 0.0825 -0.1758)
OKLCHoklch(52.02% 0.194 295.1)
XYZxyz(20.1841, 12.4260, 57.2007)
Luminance0.1243 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7546CA #9BCA46
analogous
#4659CA #7546CA #B746CA
triadic
#7546CA #CA7546 #46CA75
tetradic
#7546CA #CA4659 #9BCA46 #46CAB7
square
#7546CA #CA4659 #9BCA46 #46CAB7
split-complementary
#7546CA #CAB746 #59CA46
monochromatic
#3F2174 #592FA4 #7546CA #9876D8 #BCA5E5

Accessibility & contrast

On white

6.03
#7546CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#7546CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7546CA
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7546CA#FFFFFF#000000##FFFFFF
##7546CA1.006.033.496.03
#FFFFFF6.031.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CE
Deuteranopia (green-blind)
#0061C7
Tritanopia (blue-blind)
#5E6582
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7546ca;
/* rgb */ color: rgb(117, 70, 202);
/* oklch */ color: oklch(52.0% 0.194 295.1);
Tailwind
colors: {
  custom: {
    50: '#a37cdb',
    500: '#7546ca',
    950: '#000000',
  },
}
SCSS
$custom: #7546ca;
$custom-light: #a37cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#7546ca",
  "rgb": {
    "r": 117,
    "g": 70,
    "b": 202
  },
  "hsl": {
    "h": 261.364,
    "s": 55.462,
    "l": 53.333
  },
  "oklch": {
    "l": 0.52019,
    "c": 0.19424,
    "h": 295.1
  },
  "luminance": 0.12426
}

Semantic roles & 50–950 ramp

primary
#7546CA
secondary
#BED29A
accent
#DF49A9
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7546CA

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

Preview Lab → · Contrast checker → · Palette generator →

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