#7545CD#7545CD

#7545CD is a mid, vivid violet. Relative luminance 0.124; OKLCH L 52.1% C 0.199 H 294.7°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#7545CD
RGBrgb(117, 69, 205)
HSLhsl(261, 58%, 54%)
HSVhsv(261, 66%, 80%)
CMYKcmyk(42.9%, 66.3%, 0%, 19.6%)
CIE-LABlab(41.92, 50.12, -63.26)
CIE-LCHlch(41.92, 80.71, 308.39°)
OKLaboklab(52.11% 0.0832 -0.1808)
OKLCHoklch(52.11% 0.199 294.7)
XYZxyz(20.4807, 12.4454, 59.0689)
Luminance0.1245 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7545CD #9DCD45
analogous
#4559CD #7545CD #B945CD
triadic
#7545CD #CD7545 #45CD75
tetradic
#7545CD #CD4559 #9DCD45 #45CDB9
square
#7545CD #CD4559 #9DCD45 #45CDB9
split-complementary
#7545CD #CDB945 #59CD45
monochromatic
#3F2077 #582DA8 #7545CD #9975DA #BDA5E7

Accessibility & contrast

On white

6.02
#7545CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#7545CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7545CD
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7545CD#FFFFFF#000000##FFFFFF
##7545CD1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D1
Deuteranopia (green-blind)
#0061CA
Tritanopia (blue-blind)
#5D6683
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7545cd;
/* rgb */ color: rgb(117, 69, 205);
/* oklch */ color: oklch(52.1% 0.199 294.7);
Tailwind
colors: {
  custom: {
    50: '#a37cdd',
    500: '#7545cd',
    950: '#000000',
  },
}
SCSS
$custom: #7545cd;
$custom-light: #a37cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#7545cd",
  "rgb": {
    "r": 117,
    "g": 69,
    "b": 205
  },
  "hsl": {
    "h": 261.176,
    "s": 57.627,
    "l": 53.725
  },
  "oklch": {
    "l": 0.52111,
    "c": 0.19902,
    "h": 294.7
  },
  "luminance": 0.12446
}

Semantic roles & 50–950 ramp

primary
#7545CD
secondary
#BFD49A
accent
#E147AB
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7545CD

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

Preview Lab → · Contrast checker → · Palette generator →

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