#7545BA#7545BA

#7545BA is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.7% C 0.177 H 298.8°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#7545BA
RGBrgb(117, 69, 186)
HSLhsl(265, 46%, 50%)
HSVhsv(265, 63%, 73%)
CMYKcmyk(37.1%, 62.9%, 0%, 27.1%)
CIE-LABlab(40.55, 45.12, -54.42)
CIE-LCHlch(40.55, 70.69, 309.66°)
OKLaboklab(50.69% 0.0851 -0.1548)
OKLCHoklch(50.69% 0.177 298.8)
XYZxyz(18.3250, 11.5831, 47.7152)
Luminance0.1158 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7545BA #8ABA45
analogous
#4550BA #7545BA #AF45BA
triadic
#7545BA #BA7545 #45BA75
tetradic
#7545BA #BA4550 #8ABA45 #45BAAF
square
#7545BA #BA4550 #8ABA45 #45BAAF
split-complementary
#7545BA #BAAF45 #50BA45
monochromatic
#3D2461 #59348D #7545BA #9672CB #B79EDB

Accessibility & contrast

On white

6.33
#7545BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#7545BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7545BA
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7545BA#FFFFFF#000000##FFFFFF
##7545BA1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BE
Deuteranopia (green-blind)
#0F5EB7
Tritanopia (blue-blind)
#655F79
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7545ba;
/* rgb */ color: rgb(117, 69, 186);
/* oklch */ color: oklch(50.7% 0.177 298.8);
Tailwind
colors: {
  custom: {
    50: '#a27bcf',
    500: '#7545ba',
    950: '#000000',
  },
}
SCSS
$custom: #7545ba;
$custom-light: #a27bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#7545ba",
  "rgb": {
    "r": 117,
    "g": 69,
    "b": 186
  },
  "hsl": {
    "h": 264.615,
    "s": 45.882,
    "l": 50
  },
  "oklch": {
    "l": 0.5069,
    "c": 0.17666,
    "h": 298.8
  },
  "luminance": 0.11583
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7545BA

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

Preview Lab → · Contrast checker → · Palette generator →

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