#7546D5#7546D5

#7546D5 is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 52.9% C 0.207 H 293.1°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#7546D5
RGBrgb(117, 70, 213)
HSLhsl(260, 63%, 55%)
HSVhsv(260, 67%, 84%)
CMYKcmyk(45.1%, 67.1%, 0%, 16.5%)
CIE-LABlab(42.71, 51.74, -66.57)
CIE-LCHlch(42.71, 84.32, 307.85°)
OKLaboklab(52.87% 0.0811 -0.1905)
OKLCHoklch(52.87% 0.207 293.1)
XYZxyz(21.5332, 12.9657, 64.3060)
Luminance0.1297 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7546D5 #A6D546
analogous
#465ED5 #7546D5 #BC46D5
triadic
#7546D5 #D57546 #46D575
tetradic
#7546D5 #D5465E #A6D546 #46D5BC
square
#7546D5 #D5465E #A6D546 #46D5BC
split-complementary
#7546D5 #D5BC46 #5ED546
monochromatic
#3F1E83 #5729B5 #7546D5 #9A78E0 #BFAAEC

Accessibility & contrast

On white

5.84
#7546D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#7546D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7546D5
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7546D5#FFFFFF#000000##FFFFFF
##7546D51.005.843.595.84
#FFFFFF5.841.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D9
Deuteranopia (green-blind)
#0062D2
Tritanopia (blue-blind)
#596988
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7546d5;
/* rgb */ color: rgb(117, 70, 213);
/* oklch */ color: oklch(52.9% 0.207 293.1);
Tailwind
colors: {
  custom: {
    50: '#a47de3',
    500: '#7546d5',
    950: '#000000',
  },
}
SCSS
$custom: #7546d5;
$custom-light: #a47de3;
$custom-dark: #000000;
JSON
{
  "hex": "#7546d5",
  "rgb": {
    "r": 117,
    "g": 70,
    "b": 213
  },
  "hsl": {
    "h": 259.72,
    "s": 62.996,
    "l": 55.49
  },
  "oklch": {
    "l": 0.52872,
    "c": 0.20707,
    "h": 293.1
  },
  "luminance": 0.12966
}

Semantic roles & 50–950 ramp

primary
#7546D5
secondary
#C6D99E
accent
#E642B0
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7546D5

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

Preview Lab → · Contrast checker → · Palette generator →

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