#7545D9#7545D9

#7545D9 is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 53.1% C 0.213 H 292.5°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#7545D9
RGBrgb(117, 69, 217)
HSLhsl(259, 66%, 56%)
HSVhsv(259, 68%, 85%)
CMYKcmyk(46.1%, 68.2%, 0%, 14.9%)
CIE-LABlab(42.83, 53.33, -68.67)
CIE-LCHlch(42.83, 86.94, 307.83°)
OKLaboklab(53.06% 0.0815 -0.1967)
OKLCHoklch(53.06% 0.213 292.5)
XYZxyz(21.9851, 13.0472, 66.9922)
Luminance0.1305 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7545D9 #A9D945
analogous
#455FD9 #7545D9 #BF45D9
triadic
#7545D9 #D97545 #45D975
tetradic
#7545D9 #D9455F #A9D945 #45D9BF
square
#7545D9 #D9455F #A9D945 #45D9BF
split-complementary
#7545D9 #D9BF45 #5FD945
monochromatic
#3F1C88 #5626BB #7545D9 #9B78E3 #C0ABEE

Accessibility & contrast

On white

5.82
#7545D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#7545D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7545D9
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7545D9#FFFFFF#000000##FFFFFF
##7545D91.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DD
Deuteranopia (green-blind)
#0062D6
Tritanopia (blue-blind)
#576A8A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7545d9;
/* rgb */ color: rgb(117, 69, 217);
/* oklch */ color: oklch(53.1% 0.213 292.5);
Tailwind
colors: {
  custom: {
    50: '#a57ce6',
    500: '#7545d9',
    950: '#000000',
  },
}
SCSS
$custom: #7545d9;
$custom-light: #a57ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#7545d9",
  "rgb": {
    "r": 117,
    "g": 69,
    "b": 217
  },
  "hsl": {
    "h": 259.459,
    "s": 66.071,
    "l": 56.078
  },
  "oklch": {
    "l": 0.53057,
    "c": 0.21288,
    "h": 292.5
  },
  "luminance": 0.13048
}

Semantic roles & 50–950 ramp

primary
#7545D9
secondary
#C8DB9E
accent
#E93FB2
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7545D9

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

Preview Lab → · Contrast checker → · Palette generator →

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