#7548E5#7548E5

#7548E5 is a mid, highly saturated violet. Relative luminance 0.141; OKLCH L 54.4% C 0.223 H 290.1°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#7548E5
RGBrgb(117, 72, 229)
HSLhsl(257, 75%, 59%)
HSVhsv(257, 69%, 90%)
CMYKcmyk(48.9%, 68.6%, 0%, 10.2%)
CIE-LABlab(44.34, 55.04, -73.05)
CIE-LCHlch(44.34, 91.47, 307.00°)
OKLaboklab(54.43% 0.0767 -0.2096)
OKLCHoklch(54.43% 0.223 290.1)
XYZxyz(23.7923, 14.0728, 75.5762)
Luminance0.1407 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7548E5 #B8E548
analogous
#486AE5 #7548E5 #C348E5
triadic
#7548E5 #E57548 #48E575
tetradic
#7548E5 #E5486A #B8E548 #48E5C3
square
#7548E5 #E5486A #B8E548 #48E5C3
split-complementary
#7548E5 #E5C348 #6AE548
monochromatic
#3D169C #511ED2 #7548E5 #9D7EED #C6B3F4

Accessibility & contrast

On white

5.50
#7548E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#7548E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7548E5
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7548E5#FFFFFF#000000##FFFFFF
##7548E51.005.503.815.50
#FFFFFF5.501.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CEA
Deuteranopia (green-blind)
#0065E2
Tritanopia (blue-blind)
#4F7091
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7548e5;
/* rgb */ color: rgb(117, 72, 229);
/* oklch */ color: oklch(54.4% 0.223 290.1);
Tailwind
colors: {
  custom: {
    50: '#a67eee',
    500: '#7548e5',
    950: '#000000',
  },
}
SCSS
$custom: #7548e5;
$custom-light: #a67eee;
$custom-dark: #000000;
JSON
{
  "hex": "#7548e5",
  "rgb": {
    "r": 117,
    "g": 72,
    "b": 229
  },
  "hsl": {
    "h": 257.197,
    "s": 75.12,
    "l": 59.02
  },
  "oklch": {
    "l": 0.54425,
    "c": 0.22316,
    "h": 290.1
  },
  "luminance": 0.14074
}

Semantic roles & 50–950 ramp

primary
#7548E5
secondary
#D2E3A6
accent
#F236BC
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #7548E5

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

Preview Lab → · Contrast checker → · Palette generator →

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