#7545BF#7545BF

#7545BF is a mid, vivid violet. Relative luminance 0.118; OKLCH L 51.1% C 0.183 H 297.7°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#7545BF
RGBrgb(117, 69, 191)
HSLhsl(264, 49%, 51%)
HSVhsv(264, 64%, 75%)
CMYKcmyk(38.7%, 63.9%, 0%, 25.1%)
CIE-LABlab(40.90, 46.42, -56.78)
CIE-LCHlch(40.90, 73.34, 309.27°)
OKLaboklab(51.05% 0.0848 -0.1617)
OKLCHoklch(51.05% 0.183 297.7)
XYZxyz(18.8658, 11.7994, 50.5637)
Luminance0.1180 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7545BF #8FBF45
analogous
#4552BF #7545BF #B245BF
triadic
#7545BF #BF7545 #45BF75
tetradic
#7545BF #BF4552 #8FBF45 #45BFB2
square
#7545BF #BF4552 #8FBF45 #45BFB2
split-complementary
#7545BF #BFB245 #52BF45
monochromatic
#3E2366 #593394 #7545BF #9773CF #B9A0DE

Accessibility & contrast

On white

6.25
#7545BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#7545BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7545BF
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7545BF#FFFFFF#000000##FFFFFF
##7545BF1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C3
Deuteranopia (green-blind)
#005FBC
Tritanopia (blue-blind)
#63617C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7545bf;
/* rgb */ color: rgb(117, 69, 191);
/* oklch */ color: oklch(51.1% 0.183 297.7);
Tailwind
colors: {
  custom: {
    50: '#a27bd3',
    500: '#7545bf',
    950: '#000000',
  },
}
SCSS
$custom: #7545bf;
$custom-light: #a27bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#7545bf",
  "rgb": {
    "r": 117,
    "g": 69,
    "b": 191
  },
  "hsl": {
    "h": 263.607,
    "s": 48.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.51054,
    "c": 0.18259,
    "h": 297.7
  },
  "luminance": 0.118
}

Semantic roles & 50–950 ramp

primary
#7545BF
secondary
#B6CB95
accent
#D84FA2
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0914
muted
#7F7B83

Preview Lab

Preview with #7545BF

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

Preview Lab → · Contrast checker → · Palette generator →

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