#7548C8#7548C8

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

Color values

HEX#7548C8
RGBrgb(117, 72, 200)
HSLhsl(261, 54%, 53%)
HSVhsv(261, 64%, 78%)
CMYKcmyk(41.5%, 64%, 0%, 21.6%)
CIE-LABlab(42.13, 47.20, -60.01)
CIE-LCHlch(42.13, 76.35, 308.18°)
OKLaboklab(52.15% 0.0806 -0.1712)
OKLCHoklch(52.15% 0.189 295.2)
XYZxyz(20.0760, 12.5863, 56.0040)
Luminance0.1259 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7548C8 #9BC848
analogous
#485BC8 #7548C8 #B548C8
triadic
#7548C8 #C87548 #48C875
tetradic
#7548C8 #C8485B #9BC848 #48C8B5
square
#7548C8 #C8485B #9BC848 #48C8B5
split-complementary
#7548C8 #C8B548 #5BC848
monochromatic
#3F2373 #5931A2 #7548C8 #9877D6 #BCA6E4

Accessibility & contrast

On white

5.97
#7548C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#7548C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7548C8
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7548C8#FFFFFF#000000##FFFFFF
##7548C81.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)
#0064CC
Deuteranopia (green-blind)
#0061C5
Tritanopia (blue-blind)
#5F6681
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7548c8;
/* rgb */ color: rgb(117, 72, 200);
/* oklch */ color: oklch(52.2% 0.189 295.2);
Tailwind
colors: {
  custom: {
    50: '#a37dda',
    500: '#7548c8',
    950: '#000000',
  },
}
SCSS
$custom: #7548c8;
$custom-light: #a37dda;
$custom-dark: #000000;
JSON
{
  "hex": "#7548c8",
  "rgb": {
    "r": 117,
    "g": 72,
    "b": 200
  },
  "hsl": {
    "h": 261.094,
    "s": 53.782,
    "l": 53.333
  },
  "oklch": {
    "l": 0.52152,
    "c": 0.18926,
    "h": 295.2
  },
  "luminance": 0.12587
}

Semantic roles & 50–950 ramp

primary
#7548C8
secondary
#BED19A
accent
#DD4BAA
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7548C8

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

Preview Lab → · Contrast checker → · Palette generator →

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