#7545C8#7545C8

#7545C8 is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.7% C 0.193 H 295.7°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#7545C8
RGBrgb(117, 69, 200)
HSLhsl(262, 54%, 53%)
HSVhsv(262, 66%, 78%)
CMYKcmyk(41.5%, 65.5%, 0%, 21.6%)
CIE-LABlab(41.54, 48.80, -60.97)
CIE-LCHlch(41.54, 78.09, 308.67°)
OKLaboklab(51.73% 0.0838 -0.174)
OKLCHoklch(51.73% 0.193 295.7)
XYZxyz(19.8868, 12.2079, 55.9410)
Luminance0.1221 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7545C8 #98C845
analogous
#4556C8 #7545C8 #B745C8
triadic
#7545C8 #C87545 #45C875
tetradic
#7545C8 #C84556 #98C845 #45C8B7
square
#7545C8 #C84556 #98C845 #45C8B7
split-complementary
#7545C8 #C8B745 #56C845
monochromatic
#3F2171 #592FA0 #7545C8 #9874D6 #BBA3E4

Accessibility & contrast

On white

6.10
#7545C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#7545C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7545C8
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7545C8#FFFFFF#000000##FFFFFF
##7545C81.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CC
Deuteranopia (green-blind)
#0060C5
Tritanopia (blue-blind)
#5F6480
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7545c8;
/* rgb */ color: rgb(117, 69, 200);
/* oklch */ color: oklch(51.7% 0.193 295.7);
Tailwind
colors: {
  custom: {
    50: '#a37cda',
    500: '#7545c8',
    950: '#000000',
  },
}
SCSS
$custom: #7545c8;
$custom-light: #a37cda;
$custom-dark: #000000;
JSON
{
  "hex": "#7545c8",
  "rgb": {
    "r": 117,
    "g": 69,
    "b": 200
  },
  "hsl": {
    "h": 261.985,
    "s": 54.357,
    "l": 52.745
  },
  "oklch": {
    "l": 0.51728,
    "c": 0.19318,
    "h": 295.7
  },
  "luminance": 0.12208
}

Semantic roles & 50–950 ramp

primary
#7545C8
secondary
#BCD198
accent
#DE4AA8
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7545C8

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

Preview Lab → · Contrast checker → · Palette generator →

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