#7545AC#7545AC

#7545AC is a mid, vivid violet. Relative luminance 0.110; OKLCH L 49.7% C 0.160 H 302.4°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#7545AC
RGBrgb(117, 69, 172)
HSLhsl(268, 43%, 47%)
HSVhsv(268, 60%, 67%)
CMYKcmyk(32%, 59.9%, 0%, 32.5%)
CIE-LABlab(39.61, 41.52, -47.67)
CIE-LCHlch(39.61, 63.21, 311.05°)
OKLaboklab(49.71% 0.0858 -0.1349)
OKLCHoklch(49.71% 0.16 302.4)
XYZxyz(16.9089, 11.0167, 40.2573)
Luminance0.1102 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7545AC #7CAC45
analogous
#4548AC #7545AC #A945AC
triadic
#7545AC #AC7545 #45AC75
tetradic
#7545AC #AC4548 #7CAC45 #45ACA9
square
#7545AC #AC4548 #7CAC45 #45ACA9
split-complementary
#7545AC #ACA945 #48AC45
monochromatic
#3A2255 #573380 #7545AC #946BC4 #B496D5

Accessibility & contrast

On white

6.56
#7545AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#7545AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7545AC
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7545AC#FFFFFF#000000##FFFFFF
##7545AC1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#105CAF
Deuteranopia (green-blind)
#295DAA
Tritanopia (blue-blind)
#6A5A72
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7545ac;
/* rgb */ color: rgb(117, 69, 172);
/* oklch */ color: oklch(49.7% 0.160 302.4);
Tailwind
colors: {
  custom: {
    50: '#a07bc5',
    500: '#7545ac',
    950: '#000000',
  },
}
SCSS
$custom: #7545ac;
$custom-light: #a07bc5;
$custom-dark: #000000;
JSON
{
  "hex": "#7545ac",
  "rgb": {
    "r": 117,
    "g": 69,
    "b": 172
  },
  "hsl": {
    "h": 267.961,
    "s": 42.739,
    "l": 47.255
  },
  "oklch": {
    "l": 0.49709,
    "c": 0.15989,
    "h": 302.4
  },
  "luminance": 0.11017
}

Semantic roles & 50–950 ramp

primary
#7545AC
secondary
#A8C18C
accent
#D35598
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#0F0913
muted
#7F7B82

Preview Lab

Preview with #7545AC

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

Preview Lab → · Contrast checker → · Palette generator →

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