#7546D9#7546D9

#7546D9 is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.2% C 0.212 H 292.4°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#7546D9
RGBrgb(117, 70, 217)
HSLhsl(259, 66%, 56%)
HSVhsv(259, 68%, 85%)
CMYKcmyk(46.1%, 67.7%, 0%, 14.9%)
CIE-LABlab(43.02, 52.82, -68.36)
CIE-LCHlch(43.02, 86.39, 307.69°)
OKLaboklab(53.19% 0.0805 -0.1958)
OKLCHoklch(53.19% 0.212 292.4)
XYZxyz(22.0472, 13.1712, 67.0128)
Luminance0.1317 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7546D9 #AAD946
analogous
#4661D9 #7546D9 #BF46D9
triadic
#7546D9 #D97546 #46D975
tetradic
#7546D9 #D94661 #AAD946 #46D9BF
square
#7546D9 #D94661 #AAD946 #46D9BF
split-complementary
#7546D9 #D9BF46 #61D946
monochromatic
#3F1C89 #5626BB #7546D9 #9B79E3 #C1ACEE

Accessibility & contrast

On white

5.78
#7546D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#7546D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7546D9
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7546D9#FFFFFF#000000##FFFFFF
##7546D91.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DD
Deuteranopia (green-blind)
#0063D6
Tritanopia (blue-blind)
#576A8A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7546d9;
/* rgb */ color: rgb(117, 70, 217);
/* oklch */ color: oklch(53.2% 0.212 292.4);
Tailwind
colors: {
  custom: {
    50: '#a57de6',
    500: '#7546d9',
    950: '#000000',
  },
}
SCSS
$custom: #7546d9;
$custom-light: #a57de6;
$custom-dark: #000000;
JSON
{
  "hex": "#7546d9",
  "rgb": {
    "r": 117,
    "g": 70,
    "b": 217
  },
  "hsl": {
    "h": 259.184,
    "s": 65.919,
    "l": 56.275
  },
  "oklch": {
    "l": 0.5319,
    "c": 0.21169,
    "h": 292.4
  },
  "luminance": 0.13172
}

Semantic roles & 50–950 ramp

primary
#7546D9
secondary
#C8DC9F
accent
#E93FB3
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7546D9

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

Preview Lab → · Contrast checker → · Palette generator →

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