#7545BB#7545BB

#7545BB is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.8% C 0.178 H 298.6°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#7545BB
RGBrgb(117, 69, 187)
HSLhsl(264, 46%, 50%)
HSVhsv(264, 63%, 73%)
CMYKcmyk(37.4%, 63.1%, 0%, 26.7%)
CIE-LABlab(40.62, 45.38, -54.89)
CIE-LCHlch(40.62, 71.22, 309.58°)
OKLaboklab(50.76% 0.0851 -0.1562)
OKLCHoklch(50.76% 0.178 298.6)
XYZxyz(18.4316, 11.6258, 48.2770)
Luminance0.1163 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7545BB #8BBB45
analogous
#4550BB #7545BB #B045BB
triadic
#7545BB #BB7545 #45BB75
tetradic
#7545BB #BB4550 #8BBB45 #45BBB0
square
#7545BB #BB4550 #8BBB45 #45BBB0
split-complementary
#7545BB #BBB045 #50BB45
monochromatic
#3D2462 #59348F #7545BB #9672CB #B89FDC

Accessibility & contrast

On white

6.32
#7545BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#7545BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7545BB
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7545BB#FFFFFF#000000##FFFFFF
##7545BB1.006.323.336.32
#FFFFFF6.321.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BF
Deuteranopia (green-blind)
#0B5FB8
Tritanopia (blue-blind)
#655F7A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7545bb;
/* rgb */ color: rgb(117, 69, 187);
/* oklch */ color: oklch(50.8% 0.178 298.6);
Tailwind
colors: {
  custom: {
    50: '#a27bd0',
    500: '#7545bb',
    950: '#000000',
  },
}
SCSS
$custom: #7545bb;
$custom-light: #a27bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#7545bb",
  "rgb": {
    "r": 117,
    "g": 69,
    "b": 187
  },
  "hsl": {
    "h": 264.407,
    "s": 46.457,
    "l": 50.196
  },
  "oklch": {
    "l": 0.50762,
    "c": 0.17785,
    "h": 298.6
  },
  "luminance": 0.11626
}

Semantic roles & 50–950 ramp

primary
#7545BB
secondary
#B3C894
accent
#D652A0
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0914
muted
#7F7B82

Preview Lab

Preview with #7545BB

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

Preview Lab → · Contrast checker → · Palette generator →

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