#7545BD#7545BD

#7545BD is a mid, vivid violet. Relative luminance 0.117; OKLCH L 50.9% C 0.180 H 298.1°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#7545BD
RGBrgb(117, 69, 189)
HSLhsl(264, 48%, 51%)
HSVhsv(264, 63%, 74%)
CMYKcmyk(38.1%, 63.5%, 0%, 25.9%)
CIE-LABlab(40.75, 45.90, -55.84)
CIE-LCHlch(40.75, 72.28, 309.42°)
OKLaboklab(50.91% 0.0849 -0.159)
OKLCHoklch(50.91% 0.18 298.1)
XYZxyz(18.6472, 11.7120, 49.4125)
Luminance0.1171 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7545BD #8DBD45
analogous
#4551BD #7545BD #B145BD
triadic
#7545BD #BD7545 #45BD75
tetradic
#7545BD #BD4551 #8DBD45 #45BDB1
square
#7545BD #BD4551 #8DBD45 #45BDB1
split-complementary
#7545BD #BDB145 #51BD45
monochromatic
#3D2464 #593491 #7545BD #9772CD #B89FDD

Accessibility & contrast

On white

6.28
#7545BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#7545BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7545BD
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7545BD#FFFFFF#000000##FFFFFF
##7545BD1.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C1
Deuteranopia (green-blind)
#025FBA
Tritanopia (blue-blind)
#64607B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7545bd;
/* rgb */ color: rgb(117, 69, 189);
/* oklch */ color: oklch(50.9% 0.180 298.1);
Tailwind
colors: {
  custom: {
    50: '#a27bd2',
    500: '#7545bd',
    950: '#000000',
  },
}
SCSS
$custom: #7545bd;
$custom-light: #a27bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#7545bd",
  "rgb": {
    "r": 117,
    "g": 69,
    "b": 189
  },
  "hsl": {
    "h": 264,
    "s": 47.619,
    "l": 50.588
  },
  "oklch": {
    "l": 0.50908,
    "c": 0.18022,
    "h": 298.1
  },
  "luminance": 0.11712
}

Semantic roles & 50–950 ramp

primary
#7545BD
secondary
#B4CA94
accent
#D751A1
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0914
muted
#7F7B83

Preview Lab

Preview with #7545BD

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

Preview Lab → · Contrast checker → · Palette generator →

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