#7548BE#7548BE

#7548BE is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.4% C 0.177 H 297.3°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#7548BE
RGBrgb(117, 72, 190)
HSLhsl(263, 48%, 51%)
HSVhsv(263, 62%, 75%)
CMYKcmyk(38.4%, 62.1%, 0%, 25.5%)
CIE-LABlab(41.43, 44.54, -55.34)
CIE-LCHlch(41.43, 71.03, 308.83°)
OKLaboklab(51.42% 0.0814 -0.1575)
OKLCHoklch(51.42% 0.177 297.3)
XYZxyz(18.9454, 12.1340, 50.0492)
Luminance0.1213 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7548BE #91BE48
analogous
#4856BE #7548BE #B048BE
triadic
#7548BE #BE7548 #48BE75
tetradic
#7548BE #BE4856 #91BE48 #48BEB0
square
#7548BE #BE4856 #91BE48 #48BEB0
split-complementary
#7548BE #BEB048 #56BE48
monochromatic
#3E2567 #593594 #7548BE #9775CE #B9A2DE

Accessibility & contrast

On white

6.13
#7548BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#7548BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7548BE
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7548BE#FFFFFF#000000##FFFFFF
##7548BE1.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C2
Deuteranopia (green-blind)
#0C60BB
Tritanopia (blue-blind)
#64627C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7548be;
/* rgb */ color: rgb(117, 72, 190);
/* oklch */ color: oklch(51.4% 0.177 297.3);
Tailwind
colors: {
  custom: {
    50: '#a27dd2',
    500: '#7548be',
    950: '#000000',
  },
}
SCSS
$custom: #7548be;
$custom-light: #a27dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#7548be",
  "rgb": {
    "r": 117,
    "g": 72,
    "b": 190
  },
  "hsl": {
    "h": 262.881,
    "s": 47.581,
    "l": 51.373
  },
  "oklch": {
    "l": 0.51418,
    "c": 0.17728,
    "h": 297.3
  },
  "luminance": 0.12134
}

Semantic roles & 50–950 ramp

primary
#7548BE
secondary
#B7CB97
accent
#D751A4
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0A14
muted
#7F7C83

Preview Lab

Preview with #7548BE

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

Preview Lab → · Contrast checker → · Palette generator →

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