#7548C6#7548C6

#7548C6 is a mid, vivid violet. Relative luminance 0.125; OKLCH L 52.0% C 0.187 H 295.6°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#7548C6
RGBrgb(117, 72, 198)
HSLhsl(261, 53%, 53%)
HSVhsv(261, 64%, 78%)
CMYKcmyk(40.9%, 63.6%, 0%, 22.4%)
CIE-LABlab(41.99, 46.66, -59.09)
CIE-LCHlch(41.99, 75.29, 308.30°)
OKLaboklab(52% 0.0808 -0.1685)
OKLCHoklch(52% 0.187 295.6)
XYZxyz(19.8438, 12.4934, 54.7811)
Luminance0.1249 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7548C6 #99C648
analogous
#485AC6 #7548C6 #B448C6
triadic
#7548C6 #C67548 #48C675
tetradic
#7548C6 #C6485A #99C648 #48C6B4
square
#7548C6 #C6485A #99C648 #48C6B4
split-complementary
#7548C6 #C6B448 #5AC648
monochromatic
#3F2371 #59329F #7548C6 #9877D5 #BBA5E3

Accessibility & contrast

On white

6.00
#7548C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#7548C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7548C6
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7548C6#FFFFFF#000000##FFFFFF
##7548C61.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CA
Deuteranopia (green-blind)
#0061C3
Tritanopia (blue-blind)
#606580
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7548c6;
/* rgb */ color: rgb(117, 72, 198);
/* oklch */ color: oklch(52.0% 0.187 295.6);
Tailwind
colors: {
  custom: {
    50: '#a27dd8',
    500: '#7548c6',
    950: '#000000',
  },
}
SCSS
$custom: #7548c6;
$custom-light: #a27dd8;
$custom-dark: #000000;
JSON
{
  "hex": "#7548c6",
  "rgb": {
    "r": 117,
    "g": 72,
    "b": 198
  },
  "hsl": {
    "h": 261.429,
    "s": 52.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.52003,
    "c": 0.18687,
    "h": 295.6
  },
  "luminance": 0.12494
}

Semantic roles & 50–950 ramp

primary
#7548C6
secondary
#BDD09A
accent
#DC4CA8
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7548C6

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

Preview Lab → · Contrast checker → · Palette generator →

#7548C6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva