#7545C5#7545C5

#7545C5 is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.5% C 0.190 H 296.3°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#7545C5
RGBrgb(117, 69, 197)
HSLhsl(263, 52%, 52%)
HSVhsv(263, 65%, 77%)
CMYKcmyk(40.6%, 65%, 0%, 22.7%)
CIE-LABlab(41.33, 48.00, -59.58)
CIE-LCHlch(41.33, 76.51, 308.86°)
OKLaboklab(51.5% 0.0842 -0.17)
OKLCHoklch(51.5% 0.19 296.3)
XYZxyz(19.5397, 12.0690, 54.1126)
Luminance0.1207 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7545C5 #95C545
analogous
#4555C5 #7545C5 #B545C5
triadic
#7545C5 #C57545 #45C575
tetradic
#7545C5 #C54555 #95C545 #45C5B5
square
#7545C5 #C54555 #95C545 #45C5B5
split-complementary
#7545C5 #C5B545 #55C545
monochromatic
#3E226D #59319C #7545C5 #9874D4 #BAA2E2

Accessibility & contrast

On white

6.15
#7545C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#7545C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7545C5
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7545C5#FFFFFF#000000##FFFFFF
##7545C51.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C9
Deuteranopia (green-blind)
#0060C2
Tritanopia (blue-blind)
#61637F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7545c5;
/* rgb */ color: rgb(117, 69, 197);
/* oklch */ color: oklch(51.5% 0.190 296.3);
Tailwind
colors: {
  custom: {
    50: '#a37bd7',
    500: '#7545c5',
    950: '#000000',
  },
}
SCSS
$custom: #7545c5;
$custom-light: #a37bd7;
$custom-dark: #000000;
JSON
{
  "hex": "#7545c5",
  "rgb": {
    "r": 117,
    "g": 69,
    "b": 197
  },
  "hsl": {
    "h": 262.5,
    "s": 52.459,
    "l": 52.157
  },
  "oklch": {
    "l": 0.51501,
    "c": 0.18967,
    "h": 296.3
  },
  "luminance": 0.12069
}

Semantic roles & 50–950 ramp

primary
#7545C5
secondary
#BACF97
accent
#DC4CA6
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7545C5

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

Preview Lab → · Contrast checker → · Palette generator →

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