#7548BC#7548BC

#7548BC is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.3% C 0.175 H 297.8°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#7548BC
RGBrgb(117, 72, 188)
HSLhsl(263, 46%, 51%)
HSVhsv(263, 62%, 74%)
CMYKcmyk(37.8%, 61.7%, 0%, 26.3%)
CIE-LABlab(41.29, 44.01, -54.39)
CIE-LCHlch(41.29, 69.96, 308.98°)
OKLaboklab(51.28% 0.0815 -0.1547)
OKLCHoklch(51.28% 0.175 297.8)
XYZxyz(18.7283, 12.0472, 48.9058)
Luminance0.1205 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7548BC #8FBC48
analogous
#4855BC #7548BC #AF48BC
triadic
#7548BC #BC7548 #48BC75
tetradic
#7548BC #BC4855 #8FBC48 #48BCAF
square
#7548BC #BC4855 #8FBC48 #48BCAF
split-complementary
#7548BC #BCAF48 #55BC48
monochromatic
#3E2565 #593592 #7548BC #9775CC #B9A2DD

Accessibility & contrast

On white

6.16
#7548BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#7548BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7548BC
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7548BC#FFFFFF#000000##FFFFFF
##7548BC1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C0
Deuteranopia (green-blind)
#1360B9
Tritanopia (blue-blind)
#64617B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7548bc;
/* rgb */ color: rgb(117, 72, 188);
/* oklch */ color: oklch(51.3% 0.175 297.8);
Tailwind
colors: {
  custom: {
    50: '#a27dd1',
    500: '#7548bc',
    950: '#000000',
  },
}
SCSS
$custom: #7548bc;
$custom-light: #a27dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#7548bc",
  "rgb": {
    "r": 117,
    "g": 72,
    "b": 188
  },
  "hsl": {
    "h": 263.276,
    "s": 46.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.51275,
    "c": 0.17486,
    "h": 297.8
  },
  "luminance": 0.12047
}

Semantic roles & 50–950 ramp

primary
#7548BC
secondary
#B6CA96
accent
#D652A3
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0A14
muted
#7F7C82

Preview Lab

Preview with #7548BC

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

Preview Lab → · Contrast checker → · Palette generator →

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