#7548BB#7548BB

#7548BB is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.2% C 0.174 H 298.0°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#7548BB
RGBrgb(117, 72, 187)
HSLhsl(263, 46%, 51%)
HSVhsv(263, 61%, 73%)
CMYKcmyk(37.4%, 61.5%, 0%, 26.7%)
CIE-LABlab(41.22, 43.75, -53.91)
CIE-LCHlch(41.22, 69.43, 309.06°)
OKLaboklab(51.2% 0.0816 -0.1533)
OKLCHoklch(51.2% 0.174 298)
XYZxyz(18.6209, 12.0042, 48.3401)
Luminance0.1200 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7548BB #8EBB48
analogous
#4854BB #7548BB #AE48BB
triadic
#7548BB #BB7548 #48BB75
tetradic
#7548BB #BB4854 #8EBB48 #48BBAE
square
#7548BB #BB4854 #8EBB48 #48BBAE
split-complementary
#7548BB #BBAE48 #54BB48
monochromatic
#3D2564 #593690 #7548BB #9775CC #B8A1DC

Accessibility & contrast

On white

6.18
#7548BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#7548BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7548BB
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7548BB#FFFFFF#000000##FFFFFF
##7548BB1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BF
Deuteranopia (green-blind)
#1660B8
Tritanopia (blue-blind)
#65617B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7548bb;
/* rgb */ color: rgb(117, 72, 187);
/* oklch */ color: oklch(51.2% 0.174 298.0);
Tailwind
colors: {
  custom: {
    50: '#a17dd0',
    500: '#7548bb',
    950: '#000000',
  },
}
SCSS
$custom: #7548bb;
$custom-light: #a17dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#7548bb",
  "rgb": {
    "r": 117,
    "g": 72,
    "b": 187
  },
  "hsl": {
    "h": 263.478,
    "s": 45.817,
    "l": 50.784
  },
  "oklch": {
    "l": 0.51204,
    "c": 0.17365,
    "h": 298
  },
  "luminance": 0.12004
}

Semantic roles & 50–950 ramp

primary
#7548BB
secondary
#B5C996
accent
#D552A2
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0A14
muted
#7F7C82

Preview Lab

Preview with #7548BB

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

Preview Lab → · Contrast checker → · Palette generator →

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