#7548E1#7548E1

#7548E1 is a mid, highly saturated violet. Relative luminance 0.139; OKLCH L 54.1% C 0.219 H 290.7°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#7548E1
RGBrgb(117, 72, 225)
HSLhsl(258, 72%, 58%)
HSVhsv(258, 68%, 88%)
CMYKcmyk(48%, 68%, 0%, 11.8%)
CIE-LABlab(44.02, 53.95, -71.30)
CIE-LCHlch(44.02, 89.41, 307.12°)
OKLaboklab(54.1% 0.0774 -0.2044)
OKLCHoklch(54.1% 0.219 290.7)
XYZxyz(23.2402, 13.8520, 72.6687)
Luminance0.1385 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7548E1 #B4E148
analogous
#4867E1 #7548E1 #C148E1
triadic
#7548E1 #E17548 #48E175
tetradic
#7548E1 #E14867 #B4E148 #48E1C1
square
#7548E1 #E14867 #B4E148 #48E1C1
split-complementary
#7548E1 #E1C148 #67E148
monochromatic
#3D1996 #5321CB #7548E1 #9D7DEA #C4B1F2

Accessibility & contrast

On white

5.57
#7548E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#7548E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7548E1
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7548E1#FFFFFF#000000##FFFFFF
##7548E11.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE6
Deuteranopia (green-blind)
#0065DE
Tritanopia (blue-blind)
#526F8F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7548e1;
/* rgb */ color: rgb(117, 72, 225);
/* oklch */ color: oklch(54.1% 0.219 290.7);
Tailwind
colors: {
  custom: {
    50: '#a67eeb',
    500: '#7548e1',
    950: '#000000',
  },
}
SCSS
$custom: #7548e1;
$custom-light: #a67eeb;
$custom-dark: #000000;
JSON
{
  "hex": "#7548e1",
  "rgb": {
    "r": 117,
    "g": 72,
    "b": 225
  },
  "hsl": {
    "h": 257.647,
    "s": 71.831,
    "l": 58.235
  },
  "oklch": {
    "l": 0.541,
    "c": 0.21856,
    "h": 290.7
  },
  "luminance": 0.13853
}

Semantic roles & 50–950 ramp

primary
#7548E1
secondary
#CFE1A4
accent
#EF39B9
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7548E1

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

Preview Lab → · Contrast checker → · Palette generator →

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