#7545CC#7545CC

#7545CC is a mid, vivid violet. Relative luminance 0.124; OKLCH L 52.0% C 0.198 H 294.9°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#7545CC
RGBrgb(117, 69, 204)
HSLhsl(261, 57%, 54%)
HSVhsv(261, 66%, 80%)
CMYKcmyk(42.6%, 66.2%, 0%, 20%)
CIE-LABlab(41.84, 49.86, -62.81)
CIE-LCHlch(41.84, 80.19, 308.44°)
OKLaboklab(52.03% 0.0833 -0.1794)
OKLCHoklch(52.03% 0.198 294.9)
XYZxyz(20.3604, 12.3973, 58.4352)
Luminance0.1240 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7545CC #9CCC45
analogous
#4558CC #7545CC #B845CC
triadic
#7545CC #CC7545 #45CC75
tetradic
#7545CC #CC4558 #9CCC45 #45CCB8
square
#7545CC #CC4558 #9CCC45 #45CCB8
split-complementary
#7545CC #CCB845 #58CC45
monochromatic
#3F2076 #582EA6 #7545CC #9975D9 #BCA5E6

Accessibility & contrast

On white

6.04
#7545CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#7545CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7545CC
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7545CC#FFFFFF#000000##FFFFFF
##7545CC1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D0
Deuteranopia (green-blind)
#0061C9
Tritanopia (blue-blind)
#5E6583
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7545cc;
/* rgb */ color: rgb(117, 69, 204);
/* oklch */ color: oklch(52.0% 0.198 294.9);
Tailwind
colors: {
  custom: {
    50: '#a37cdc',
    500: '#7545cc',
    950: '#000000',
  },
}
SCSS
$custom: #7545cc;
$custom-light: #a37cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#7545cc",
  "rgb": {
    "r": 117,
    "g": 69,
    "b": 204
  },
  "hsl": {
    "h": 261.333,
    "s": 56.962,
    "l": 53.529
  },
  "oklch": {
    "l": 0.52034,
    "c": 0.19785,
    "h": 294.9
  },
  "luminance": 0.12398
}

Semantic roles & 50–950 ramp

primary
#7545CC
secondary
#BFD399
accent
#E048AA
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7545CC

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

Preview Lab → · Contrast checker → · Palette generator →

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