#7545CB#7545CB

#7545CB is a mid, vivid violet. Relative luminance 0.123; OKLCH L 52.0% C 0.197 H 295.1°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#7545CB
RGBrgb(117, 69, 203)
HSLhsl(261, 56%, 53%)
HSVhsv(261, 66%, 80%)
CMYKcmyk(42.4%, 66%, 0%, 20.4%)
CIE-LABlab(41.77, 49.59, -62.35)
CIE-LCHlch(41.77, 79.67, 308.50°)
OKLaboklab(51.96% 0.0835 -0.1781)
OKLCHoklch(51.96% 0.197 295.1)
XYZxyz(20.2409, 12.3495, 57.8056)
Luminance0.1235 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7545CB #9BCB45
analogous
#4558CB #7545CB #B845CB
triadic
#7545CB #CB7545 #45CB75
tetradic
#7545CB #CB4558 #9BCB45 #45CBB8
square
#7545CB #CB4558 #9BCB45 #45CBB8
split-complementary
#7545CB #CBB845 #58CB45
monochromatic
#3F2175 #592EA5 #7545CB #9875D8 #BCA5E6

Accessibility & contrast

On white

6.05
#7545CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#7545CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7545CB
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7545CB#FFFFFF#000000##FFFFFF
##7545CB1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CF
Deuteranopia (green-blind)
#0060C8
Tritanopia (blue-blind)
#5E6582
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7545cb;
/* rgb */ color: rgb(117, 69, 203);
/* oklch */ color: oklch(52.0% 0.197 295.1);
Tailwind
colors: {
  custom: {
    50: '#a37cdc',
    500: '#7545cb',
    950: '#000000',
  },
}
SCSS
$custom: #7545cb;
$custom-light: #a37cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#7545cb",
  "rgb": {
    "r": 117,
    "g": 69,
    "b": 203
  },
  "hsl": {
    "h": 261.493,
    "s": 56.303,
    "l": 53.333
  },
  "oklch": {
    "l": 0.51957,
    "c": 0.19669,
    "h": 295.1
  },
  "luminance": 0.1235
}

Semantic roles & 50–950 ramp

primary
#7545CB
secondary
#BED399
accent
#E048A9
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7545CB

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

Preview Lab → · Contrast checker → · Palette generator →

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