#7548CC#7548CC

#7548CC is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.5% C 0.194 H 294.4°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#7548CC
RGBrgb(117, 72, 204)
HSLhsl(260, 56%, 54%)
HSVhsv(260, 65%, 80%)
CMYKcmyk(42.6%, 64.7%, 0%, 20%)
CIE-LABlab(42.42, 48.27, -61.86)
CIE-LCHlch(42.42, 78.46, 307.97°)
OKLaboklab(52.45% 0.0802 -0.1767)
OKLCHoklch(52.45% 0.194 294.4)
XYZxyz(20.5496, 12.7757, 58.4983)
Luminance0.1278 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7548CC #9FCC48
analogous
#485DCC #7548CC #B748CC
triadic
#7548CC #CC7548 #48CC75
tetradic
#7548CC #CC485D #9FCC48 #48CCB7
square
#7548CC #CC485D #9FCC48 #48CCB7
split-complementary
#7548CC #CCB748 #5DCC48
monochromatic
#3F2178 #582FA8 #7548CC #9978D9 #BDA8E7

Accessibility & contrast

On white

5.91
#7548CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#7548CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7548CC
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7548CC#FFFFFF#000000##FFFFFF
##7548CC1.005.913.565.91
#FFFFFF5.911.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D0
Deuteranopia (green-blind)
#0062C9
Tritanopia (blue-blind)
#5D6784
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7548cc;
/* rgb */ color: rgb(117, 72, 204);
/* oklch */ color: oklch(52.5% 0.194 294.4);
Tailwind
colors: {
  custom: {
    50: '#a37edc',
    500: '#7548cc',
    950: '#000000',
  },
}
SCSS
$custom: #7548cc;
$custom-light: #a37edc;
$custom-dark: #000000;
JSON
{
  "hex": "#7548cc",
  "rgb": {
    "r": 117,
    "g": 72,
    "b": 204
  },
  "hsl": {
    "h": 260.455,
    "s": 56.41,
    "l": 54.118
  },
  "oklch": {
    "l": 0.52454,
    "c": 0.19402,
    "h": 294.4
  },
  "luminance": 0.12776
}

Semantic roles & 50–950 ramp

primary
#7548CC
secondary
#C1D49C
accent
#E048AC
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7548CC

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

Preview Lab → · Contrast checker → · Palette generator →

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