#7545D1#7545D1

#7545D1 is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.4% C 0.204 H 294.0°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#7545D1
RGBrgb(117, 69, 209)
HSLhsl(261, 60%, 55%)
HSVhsv(261, 67%, 82%)
CMYKcmyk(44%, 67%, 0%, 18%)
CIE-LABlab(42.22, 51.19, -65.08)
CIE-LCHlch(42.22, 82.80, 308.19°)
OKLaboklab(52.42% 0.0827 -0.1861)
OKLCHoklch(52.42% 0.204 294)
XYZxyz(20.9697, 12.6410, 61.6443)
Luminance0.1264 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7545D1 #A1D145
analogous
#455BD1 #7545D1 #BB45D1
triadic
#7545D1 #D17545 #45D175
tetradic
#7545D1 #D1455B #A1D145 #45D1BB
square
#7545D1 #D1455B #A1D145 #45D1BB
split-complementary
#7545D1 #D1BB45 #5BD145
monochromatic
#3F1F7D #582BAE #7545D1 #9976DD #BEA7E9

Accessibility & contrast

On white

5.95
#7545D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#7545D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7545D1
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7545D1#FFFFFF#000000##FFFFFF
##7545D11.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D5
Deuteranopia (green-blind)
#0061CE
Tritanopia (blue-blind)
#5B6785
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7545d1;
/* rgb */ color: rgb(117, 69, 209);
/* oklch */ color: oklch(52.4% 0.204 294.0);
Tailwind
colors: {
  custom: {
    50: '#a47ce0',
    500: '#7545d1',
    950: '#000000',
  },
}
SCSS
$custom: #7545d1;
$custom-light: #a47ce0;
$custom-dark: #000000;
JSON
{
  "hex": "#7545d1",
  "rgb": {
    "r": 117,
    "g": 69,
    "b": 209
  },
  "hsl": {
    "h": 260.571,
    "s": 60.345,
    "l": 54.51
  },
  "oklch": {
    "l": 0.52422,
    "c": 0.20366,
    "h": 294
  },
  "luminance": 0.12642
}

Semantic roles & 50–950 ramp

primary
#7545D1
secondary
#C2D79B
accent
#E344AD
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7545D1

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

Preview Lab → · Contrast checker → · Palette generator →

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