#7547CB#7547CB

#7547CB is a mid, vivid violet. Relative luminance 0.126; OKLCH L 52.2% C 0.194 H 294.8°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#7547CB
RGBrgb(117, 71, 203)
HSLhsl(261, 56%, 54%)
HSVhsv(261, 65%, 80%)
CMYKcmyk(42.4%, 65%, 0%, 20.4%)
CIE-LABlab(42.15, 48.54, -61.72)
CIE-LCHlch(42.15, 78.52, 308.18°)
OKLaboklab(52.24% 0.0814 -0.1762)
OKLCHoklch(52.24% 0.194 294.8)
XYZxyz(20.3660, 12.5997, 57.8473)
Luminance0.1260 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7547CB #9DCB47
analogous
#475BCB #7547CB #B747CB
triadic
#7547CB #CB7547 #47CB75
tetradic
#7547CB #CB475B #9DCB47 #47CBB7
square
#7547CB #CB475B #9DCB47 #47CBB7
split-complementary
#7547CB #CBB747 #5BCB47
monochromatic
#3F2176 #582FA6 #7547CB #9977D8 #BDA6E6

Accessibility & contrast

On white

5.97
#7547CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#7547CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7547CB
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7547CB#FFFFFF#000000##FFFFFF
##7547CB1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CF
Deuteranopia (green-blind)
#0061C8
Tritanopia (blue-blind)
#5E6683
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7547cb;
/* rgb */ color: rgb(117, 71, 203);
/* oklch */ color: oklch(52.2% 0.194 294.8);
Tailwind
colors: {
  custom: {
    50: '#a37ddc',
    500: '#7547cb',
    950: '#000000',
  },
}
SCSS
$custom: #7547cb;
$custom-light: #a37ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#7547cb",
  "rgb": {
    "r": 117,
    "g": 71,
    "b": 203
  },
  "hsl": {
    "h": 260.909,
    "s": 55.932,
    "l": 53.725
  },
  "oklch": {
    "l": 0.52236,
    "c": 0.19413,
    "h": 294.8
  },
  "luminance": 0.126
}

Semantic roles & 50–950 ramp

primary
#7547CB
secondary
#BFD39B
accent
#DF49AB
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7547CB

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

Preview Lab → · Contrast checker → · Palette generator →

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