#7545CA#7545CA

#7545CA is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.9% C 0.196 H 295.3°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#7545CA
RGBrgb(117, 69, 202)
HSLhsl(262, 56%, 53%)
HSVhsv(262, 66%, 79%)
CMYKcmyk(42.1%, 65.8%, 0%, 20.8%)
CIE-LABlab(41.69, 49.33, -61.89)
CIE-LCHlch(41.69, 79.14, 308.56°)
OKLaboklab(51.88% 0.0836 -0.1767)
OKLCHoklch(51.88% 0.196 295.3)
XYZxyz(20.1221, 12.3020, 57.1800)
Luminance0.1230 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7545CA #9ACA45
analogous
#4557CA #7545CA #B745CA
triadic
#7545CA #CA7545 #45CA75
tetradic
#7545CA #CA4557 #9ACA45 #45CAB7
square
#7545CA #CA4557 #9ACA45 #45CAB7
split-complementary
#7545CA #CAB745 #57CA45
monochromatic
#3F2174 #592FA3 #7545CA #9875D8 #BCA4E5

Accessibility & contrast

On white

6.07
#7545CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#7545CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7545CA
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7545CA#FFFFFF#000000##FFFFFF
##7545CA1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CE
Deuteranopia (green-blind)
#0060C7
Tritanopia (blue-blind)
#5F6482
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7545ca;
/* rgb */ color: rgb(117, 69, 202);
/* oklch */ color: oklch(51.9% 0.196 295.3);
Tailwind
colors: {
  custom: {
    50: '#a37cdb',
    500: '#7545ca',
    950: '#000000',
  },
}
SCSS
$custom: #7545ca;
$custom-light: #a37cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#7545ca",
  "rgb": {
    "r": 117,
    "g": 69,
    "b": 202
  },
  "hsl": {
    "h": 261.654,
    "s": 55.649,
    "l": 53.137
  },
  "oklch": {
    "l": 0.5188,
    "c": 0.19552,
    "h": 295.3
  },
  "luminance": 0.12302
}

Semantic roles & 50–950 ramp

primary
#7545CA
secondary
#BDD299
accent
#DF49A9
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7545CA

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

Preview Lab → · Contrast checker → · Palette generator →

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