#7547CC#7547CC

#7547CC is a mid, vivid violet. Relative luminance 0.126; OKLCH L 52.3% C 0.195 H 294.6°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#7547CC
RGBrgb(117, 71, 204)
HSLhsl(261, 57%, 54%)
HSVhsv(261, 65%, 80%)
CMYKcmyk(42.6%, 65.2%, 0%, 20%)
CIE-LABlab(42.23, 48.80, -62.18)
CIE-LCHlch(42.23, 79.04, 308.13°)
OKLaboklab(52.31% 0.0813 -0.1776)
OKLCHoklch(52.31% 0.195 294.6)
XYZxyz(20.4855, 12.6475, 58.4769)
Luminance0.1265 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7547CC #9ECC47
analogous
#475CCC #7547CC #B847CC
triadic
#7547CC #CC7547 #47CC75
tetradic
#7547CC #CC475C #9ECC47 #47CCB8
square
#7547CC #CC475C #9ECC47 #47CCB8
split-complementary
#7547CC #CCB847 #5CCC47
monochromatic
#3F2177 #582EA7 #7547CC #9977D9 #BDA7E7

Accessibility & contrast

On white

5.95
#7547CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#7547CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7547CC
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7547CC#FFFFFF#000000##FFFFFF
##7547CC1.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)
#0065D0
Deuteranopia (green-blind)
#0061C9
Tritanopia (blue-blind)
#5D6683
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7547cc;
/* rgb */ color: rgb(117, 71, 204);
/* oklch */ color: oklch(52.3% 0.195 294.6);
Tailwind
colors: {
  custom: {
    50: '#a37ddc',
    500: '#7547cc',
    950: '#000000',
  },
}
SCSS
$custom: #7547cc;
$custom-light: #a37ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#7547cc",
  "rgb": {
    "r": 117,
    "g": 71,
    "b": 204
  },
  "hsl": {
    "h": 260.752,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.52312,
    "c": 0.19531,
    "h": 294.6
  },
  "luminance": 0.12648
}

Semantic roles & 50–950 ramp

primary
#7547CC
secondary
#C0D49B
accent
#E048AB
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7547CC

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

Preview Lab → · Contrast checker → · Palette generator →

#7547CC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva