#7548D2#7548D2

#7548D2 is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 52.9% C 0.201 H 293.3°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#7548D2
RGBrgb(117, 72, 210)
HSLhsl(260, 61%, 55%)
HSVhsv(260, 66%, 82%)
CMYKcmyk(44.3%, 65.7%, 0%, 17.6%)
CIE-LABlab(42.87, 49.89, -64.60)
CIE-LCHlch(42.87, 81.62, 307.68°)
OKLaboklab(52.91% 0.0795 -0.1847)
OKLCHoklch(52.91% 0.201 293.3)
XYZxyz(21.2832, 13.0692, 62.3615)
Luminance0.1307 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7548D2 #A5D248
analogous
#4860D2 #7548D2 #BA48D2
triadic
#7548D2 #D27548 #48D275
tetradic
#7548D2 #D24860 #A5D248 #48D2BA
square
#7548D2 #D24860 #A5D248 #48D2BA
split-complementary
#7548D2 #D2BA48 #60D248
monochromatic
#3F2080 #572CB1 #7548D2 #9A79DE #BFAAEA

Accessibility & contrast

On white

5.81
#7548D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#7548D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7548D2
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7548D2#FFFFFF#000000##FFFFFF
##7548D21.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D6
Deuteranopia (green-blind)
#0063CF
Tritanopia (blue-blind)
#5A6987
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7548d2;
/* rgb */ color: rgb(117, 72, 210);
/* oklch */ color: oklch(52.9% 0.201 293.3);
Tailwind
colors: {
  custom: {
    50: '#a47ee1',
    500: '#7548d2',
    950: '#000000',
  },
}
SCSS
$custom: #7548d2;
$custom-light: #a47ee1;
$custom-dark: #000000;
JSON
{
  "hex": "#7548d2",
  "rgb": {
    "r": 117,
    "g": 72,
    "b": 210
  },
  "hsl": {
    "h": 259.565,
    "s": 60.526,
    "l": 55.294
  },
  "oklch": {
    "l": 0.52913,
    "c": 0.20111,
    "h": 293.3
  },
  "luminance": 0.1307
}

Semantic roles & 50–950 ramp

primary
#7548D2
secondary
#C5D89E
accent
#E444B0
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7548D2

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

Preview Lab → · Contrast checker → · Palette generator →

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