#7545C9#7545C9

#7545C9 is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.8% C 0.194 H 295.5°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#7545C9
RGBrgb(117, 69, 201)
HSLhsl(262, 55%, 53%)
HSVhsv(262, 66%, 79%)
CMYKcmyk(41.8%, 65.7%, 0%, 21.2%)
CIE-LABlab(41.62, 49.06, -61.43)
CIE-LCHlch(41.62, 78.62, 308.61°)
OKLaboklab(51.8% 0.0837 -0.1754)
OKLCHoklch(51.8% 0.194 295.5)
XYZxyz(20.0041, 12.2547, 56.5585)
Luminance0.1226 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7545C9 #99C945
analogous
#4557C9 #7545C9 #B745C9
triadic
#7545C9 #C97545 #45C975
tetradic
#7545C9 #C94557 #99C945 #45C9B7
square
#7545C9 #C94557 #99C945 #45C9B7
split-complementary
#7545C9 #C9B745 #57C945
monochromatic
#3F2172 #592FA2 #7545C9 #9874D7 #BBA4E5

Accessibility & contrast

On white

6.09
#7545C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#7545C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7545C9
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7545C9#FFFFFF#000000##FFFFFF
##7545C91.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CD
Deuteranopia (green-blind)
#0060C6
Tritanopia (blue-blind)
#5F6481
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7545c9;
/* rgb */ color: rgb(117, 69, 201);
/* oklch */ color: oklch(51.8% 0.194 295.5);
Tailwind
colors: {
  custom: {
    50: '#a37cda',
    500: '#7545c9',
    950: '#000000',
  },
}
SCSS
$custom: #7545c9;
$custom-light: #a37cda;
$custom-dark: #000000;
JSON
{
  "hex": "#7545c9",
  "rgb": {
    "r": 117,
    "g": 69,
    "b": 201
  },
  "hsl": {
    "h": 261.818,
    "s": 55,
    "l": 52.941
  },
  "oklch": {
    "l": 0.51804,
    "c": 0.19436,
    "h": 295.5
  },
  "luminance": 0.12255
}

Semantic roles & 50–950 ramp

primary
#7545C9
secondary
#BDD198
accent
#DE49A8
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7545C9

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

Preview Lab → · Contrast checker → · Palette generator →

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