#7545C2#7545C2

#7545C2 is a mid, vivid violet. Relative luminance 0.119; OKLCH L 51.3% C 0.186 H 297.0°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#7545C2
RGBrgb(117, 69, 194)
HSLhsl(263, 51%, 52%)
HSVhsv(263, 64%, 76%)
CMYKcmyk(39.7%, 64.4%, 0%, 23.9%)
CIE-LABlab(41.11, 47.21, -58.19)
CIE-LCHlch(41.11, 74.93, 309.06°)
OKLaboklab(51.28% 0.0845 -0.1659)
OKLCHoklch(51.28% 0.186 297)
XYZxyz(19.1993, 11.9329, 52.3202)
Luminance0.1193 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7545C2 #92C245
analogous
#4554C2 #7545C2 #B445C2
triadic
#7545C2 #C27545 #45C275
tetradic
#7545C2 #C24554 #92C245 #45C2B4
square
#7545C2 #C24554 #92C245 #45C2B4
split-complementary
#7545C2 #C2B445 #54C245
monochromatic
#3E236A #593298 #7545C2 #9773D1 #B9A1E0

Accessibility & contrast

On white

6.20
#7545C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#7545C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7545C2
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7545C2#FFFFFF#000000##FFFFFF
##7545C21.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C6
Deuteranopia (green-blind)
#005FBF
Tritanopia (blue-blind)
#62627D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7545c2;
/* rgb */ color: rgb(117, 69, 194);
/* oklch */ color: oklch(51.3% 0.186 297.0);
Tailwind
colors: {
  custom: {
    50: '#a27bd5',
    500: '#7545c2',
    950: '#000000',
  },
}
SCSS
$custom: #7545c2;
$custom-light: #a27bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#7545c2",
  "rgb": {
    "r": 117,
    "g": 69,
    "b": 194
  },
  "hsl": {
    "h": 263.04,
    "s": 50.607,
    "l": 51.569
  },
  "oklch": {
    "l": 0.51276,
    "c": 0.18613,
    "h": 297
  },
  "luminance": 0.11933
}

Semantic roles & 50–950 ramp

primary
#7545C2
secondary
#B8CD96
accent
#DA4EA4
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7545C2

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

Preview Lab → · Contrast checker → · Palette generator →

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