#7545BE#7545BE

#7545BE is a mid, vivid violet. Relative luminance 0.118; OKLCH L 51.0% C 0.181 H 297.9°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#7545BE
RGBrgb(117, 69, 190)
HSLhsl(264, 48%, 51%)
HSVhsv(264, 64%, 75%)
CMYKcmyk(38.4%, 63.7%, 0%, 25.5%)
CIE-LABlab(40.83, 46.16, -56.31)
CIE-LCHlch(40.83, 72.81, 309.34°)
OKLaboklab(50.98% 0.0848 -0.1603)
OKLCHoklch(50.98% 0.181 297.9)
XYZxyz(18.7561, 11.7556, 49.9861)
Luminance0.1176 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7545BE #8EBE45
analogous
#4551BE #7545BE #B245BE
triadic
#7545BE #BE7545 #45BE75
tetradic
#7545BE #BE4551 #8EBE45 #45BEB2
square
#7545BE #BE4551 #8EBE45 #45BEB2
split-complementary
#7545BE #BEB245 #51BE45
monochromatic
#3D2365 #593393 #7545BE #9772CE #B8A0DE

Accessibility & contrast

On white

6.27
#7545BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#7545BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7545BE
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7545BE#FFFFFF#000000##FFFFFF
##7545BE1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C2
Deuteranopia (green-blind)
#005FBB
Tritanopia (blue-blind)
#64607B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7545be;
/* rgb */ color: rgb(117, 69, 190);
/* oklch */ color: oklch(51.0% 0.181 297.9);
Tailwind
colors: {
  custom: {
    50: '#a27bd2',
    500: '#7545be',
    950: '#000000',
  },
}
SCSS
$custom: #7545be;
$custom-light: #a27bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#7545be",
  "rgb": {
    "r": 117,
    "g": 69,
    "b": 190
  },
  "hsl": {
    "h": 263.802,
    "s": 48.207,
    "l": 50.784
  },
  "oklch": {
    "l": 0.50981,
    "c": 0.18141,
    "h": 297.9
  },
  "luminance": 0.11756
}

Semantic roles & 50–950 ramp

primary
#7545BE
secondary
#B5CA95
accent
#D850A2
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0914
muted
#7F7B83

Preview Lab

Preview with #7545BE

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

Preview Lab → · Contrast checker → · Palette generator →

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