#7546CD#7546CD

#7546CD is a mid, vivid violet. Relative luminance 0.126; OKLCH L 52.2% C 0.198 H 294.6°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#7546CD
RGBrgb(117, 70, 205)
HSLhsl(261, 57%, 54%)
HSVhsv(261, 66%, 80%)
CMYKcmyk(42.9%, 65.9%, 0%, 19.6%)
CIE-LABlab(42.11, 49.60, -62.95)
CIE-LCHlch(42.11, 80.14, 308.24°)
OKLaboklab(52.25% 0.0822 -0.1799)
OKLCHoklch(52.25% 0.198 294.6)
XYZxyz(20.5428, 12.5695, 59.0896)
Luminance0.1257 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7546CD #9ECD46
analogous
#465BCD #7546CD #B946CD
triadic
#7546CD #CD7546 #46CD75
tetradic
#7546CD #CD465B #9ECD46 #46CDB9
square
#7546CD #CD465B #9ECD46 #46CDB9
split-complementary
#7546CD #CDB946 #5BCD46
monochromatic
#3F2078 #582DA8 #7546CD #9976DA #BDA6E7

Accessibility & contrast

On white

5.98
#7546CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#7546CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7546CD
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7546CD#FFFFFF#000000##FFFFFF
##7546CD1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D1
Deuteranopia (green-blind)
#0061CA
Tritanopia (blue-blind)
#5D6683
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7546cd;
/* rgb */ color: rgb(117, 70, 205);
/* oklch */ color: oklch(52.2% 0.198 294.6);
Tailwind
colors: {
  custom: {
    50: '#a37cdd',
    500: '#7546cd',
    950: '#000000',
  },
}
SCSS
$custom: #7546cd;
$custom-light: #a37cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#7546cd",
  "rgb": {
    "r": 117,
    "g": 70,
    "b": 205
  },
  "hsl": {
    "h": 260.889,
    "s": 57.447,
    "l": 53.922
  },
  "oklch": {
    "l": 0.52249,
    "c": 0.19776,
    "h": 294.6
  },
  "luminance": 0.1257
}

Semantic roles & 50–950 ramp

primary
#7546CD
secondary
#C0D49B
accent
#E147AB
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7546CD

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

Preview Lab → · Contrast checker → · Palette generator →

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