#7547CA#7547CA

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

Color values

HEX#7547CA
RGBrgb(117, 71, 202)
HSLhsl(261, 55%, 54%)
HSVhsv(261, 65%, 79%)
CMYKcmyk(42.1%, 64.9%, 0%, 20.8%)
CIE-LABlab(42.08, 48.27, -61.26)
CIE-LCHlch(42.08, 77.99, 308.24°)
OKLaboklab(52.16% 0.0815 -0.1749)
OKLCHoklch(52.16% 0.193 295)
XYZxyz(20.2472, 12.5522, 57.2217)
Luminance0.1255 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7547CA #9CCA47
analogous
#475ACA #7547CA #B647CA
triadic
#7547CA #CA7547 #47CA75
tetradic
#7547CA #CA475A #9CCA47 #47CAB6
square
#7547CA #CA475A #9CCA47 #47CAB6
split-complementary
#7547CA #CAB647 #5ACA47
monochromatic
#3F2275 #582FA4 #7547CA #9977D8 #BCA6E5

Accessibility & contrast

On white

5.98
#7547CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#7547CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7547CA
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7547CA#FFFFFF#000000##FFFFFF
##7547CA1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CE
Deuteranopia (green-blind)
#0061C7
Tritanopia (blue-blind)
#5E6682
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7547ca;
/* rgb */ color: rgb(117, 71, 202);
/* oklch */ color: oklch(52.2% 0.193 295.0);
Tailwind
colors: {
  custom: {
    50: '#a37ddb',
    500: '#7547ca',
    950: '#000000',
  },
}
SCSS
$custom: #7547ca;
$custom-light: #a37ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#7547ca",
  "rgb": {
    "r": 117,
    "g": 71,
    "b": 202
  },
  "hsl": {
    "h": 261.069,
    "s": 55.274,
    "l": 53.529
  },
  "oklch": {
    "l": 0.5216,
    "c": 0.19295,
    "h": 295
  },
  "luminance": 0.12553
}

Semantic roles & 50–950 ramp

primary
#7547CA
secondary
#BFD29A
accent
#DF49AA
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7547CA

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

Preview Lab → · Contrast checker → · Palette generator →

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