#7548BD#7548BD

#7548BD is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.3% C 0.176 H 297.6°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#7548BD
RGBrgb(117, 72, 189)
HSLhsl(263, 47%, 51%)
HSVhsv(263, 62%, 74%)
CMYKcmyk(38.1%, 61.9%, 0%, 25.9%)
CIE-LABlab(41.36, 44.27, -54.86)
CIE-LCHlch(41.36, 70.50, 308.90°)
OKLaboklab(51.35% 0.0815 -0.1561)
OKLCHoklch(51.35% 0.176 297.6)
XYZxyz(18.8365, 12.0905, 49.4755)
Luminance0.1209 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7548BD #90BD48
analogous
#4855BD #7548BD #AF48BD
triadic
#7548BD #BD7548 #48BD75
tetradic
#7548BD #BD4855 #90BD48 #48BDAF
square
#7548BD #BD4855 #90BD48 #48BDAF
split-complementary
#7548BD #BDAF48 #55BD48
monochromatic
#3E2566 #593593 #7548BD #9775CD #B9A2DD

Accessibility & contrast

On white

6.14
#7548BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#7548BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7548BD
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7548BD#FFFFFF#000000##FFFFFF
##7548BD1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C1
Deuteranopia (green-blind)
#1060BA
Tritanopia (blue-blind)
#64627C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7548bd;
/* rgb */ color: rgb(117, 72, 189);
/* oklch */ color: oklch(51.3% 0.176 297.6);
Tailwind
colors: {
  custom: {
    50: '#a27dd2',
    500: '#7548bd',
    950: '#000000',
  },
}
SCSS
$custom: #7548bd;
$custom-light: #a27dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#7548bd",
  "rgb": {
    "r": 117,
    "g": 72,
    "b": 189
  },
  "hsl": {
    "h": 263.077,
    "s": 46.988,
    "l": 51.176
  },
  "oklch": {
    "l": 0.51346,
    "c": 0.17606,
    "h": 297.6
  },
  "luminance": 0.12091
}

Semantic roles & 50–950 ramp

primary
#7548BD
secondary
#B6CA97
accent
#D751A3
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0A14
muted
#7F7C83

Preview Lab

Preview with #7548BD

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

Preview Lab → · Contrast checker → · Palette generator →

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