#7548D4#7548D4

#7548D4 is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.1% C 0.203 H 292.9°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#7548D4
RGBrgb(117, 72, 212)
HSLhsl(259, 62%, 56%)
HSVhsv(259, 66%, 83%)
CMYKcmyk(44.8%, 66%, 0%, 16.9%)
CIE-LABlab(43.02, 50.43, -65.50)
CIE-LCHlch(43.02, 82.66, 307.59°)
OKLaboklab(53.07% 0.0793 -0.1874)
OKLCHoklch(53.07% 0.203 292.9)
XYZxyz(21.5339, 13.1694, 63.6820)
Luminance0.1317 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7548D4 #A7D448
analogous
#4861D4 #7548D4 #BB48D4
triadic
#7548D4 #D47548 #48D475
tetradic
#7548D4 #D44861 #A7D448 #48D4BB
square
#7548D4 #D44861 #A7D448 #48D4BB
split-complementary
#7548D4 #D4BB48 #61D448
monochromatic
#3F1F83 #572AB4 #7548D4 #9A7AE0 #C0ABEB

Accessibility & contrast

On white

5.78
#7548D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#7548D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7548D4
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7548D4#FFFFFF#000000##FFFFFF
##7548D41.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D8
Deuteranopia (green-blind)
#0063D1
Tritanopia (blue-blind)
#596A88
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7548d4;
/* rgb */ color: rgb(117, 72, 212);
/* oklch */ color: oklch(53.1% 0.203 292.9);
Tailwind
colors: {
  custom: {
    50: '#a47ee2',
    500: '#7548d4',
    950: '#000000',
  },
}
SCSS
$custom: #7548d4;
$custom-light: #a47ee2;
$custom-dark: #000000;
JSON
{
  "hex": "#7548d4",
  "rgb": {
    "r": 117,
    "g": 72,
    "b": 212
  },
  "hsl": {
    "h": 259.286,
    "s": 61.947,
    "l": 55.686
  },
  "oklch": {
    "l": 0.53068,
    "c": 0.20345,
    "h": 292.9
  },
  "luminance": 0.1317
}

Semantic roles & 50–950 ramp

primary
#7548D4
secondary
#C6D99F
accent
#E543B1
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A15
muted
#7F7C84

Preview Lab

Preview with #7548D4

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

Preview Lab → · Contrast checker → · Palette generator →

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