#7548BF#7548BF

#7548BF is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.5% C 0.178 H 297.1°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#7548BF
RGBrgb(117, 72, 191)
HSLhsl(263, 48%, 52%)
HSVhsv(263, 62%, 75%)
CMYKcmyk(38.7%, 62.3%, 0%, 25.1%)
CIE-LABlab(41.50, 44.80, -55.81)
CIE-LCHlch(41.50, 71.57, 308.76°)
OKLaboklab(51.49% 0.0813 -0.1589)
OKLCHoklch(51.49% 0.178 297.1)
XYZxyz(19.0550, 12.1779, 50.6268)
Luminance0.1218 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7548BF #92BF48
analogous
#4857BF #7548BF #B148BF
triadic
#7548BF #BF7548 #48BF75
tetradic
#7548BF #BF4857 #92BF48 #48BFB1
square
#7548BF #BF4857 #92BF48 #48BFB1
split-complementary
#7548BF #BFB148 #57BF48
monochromatic
#3E2468 #593496 #7548BF #9775CF #B9A3DF

Accessibility & contrast

On white

6.11
#7548BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#7548BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7548BF
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7548BF#FFFFFF#000000##FFFFFF
##7548BF1.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C3
Deuteranopia (green-blind)
#0860BC
Tritanopia (blue-blind)
#63627D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7548bf;
/* rgb */ color: rgb(117, 72, 191);
/* oklch */ color: oklch(51.5% 0.178 297.1);
Tailwind
colors: {
  custom: {
    50: '#a27dd3',
    500: '#7548bf',
    950: '#000000',
  },
}
SCSS
$custom: #7548bf;
$custom-light: #a27dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#7548bf",
  "rgb": {
    "r": 117,
    "g": 72,
    "b": 191
  },
  "hsl": {
    "h": 262.689,
    "s": 48.178,
    "l": 51.569
  },
  "oklch": {
    "l": 0.51491,
    "c": 0.17847,
    "h": 297.1
  },
  "luminance": 0.12178
}

Semantic roles & 50–950 ramp

primary
#7548BF
secondary
#B8CC97
accent
#D850A4
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0A14
muted
#7F7C83

Preview Lab

Preview with #7548BF

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

Preview Lab → · Contrast checker → · Palette generator →

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