#7548E0#7548E0

#7548E0 is a mid, highly saturated violet. Relative luminance 0.138; OKLCH L 54.0% C 0.217 H 290.9°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#7548E0
RGBrgb(117, 72, 224)
HSLhsl(258, 71%, 58%)
HSVhsv(258, 68%, 88%)
CMYKcmyk(47.8%, 67.9%, 0%, 12.2%)
CIE-LABlab(43.94, 53.68, -70.86)
CIE-LCHlch(43.94, 88.89, 307.15°)
OKLaboklab(54.02% 0.0775 -0.2031)
OKLCHoklch(54.02% 0.217 290.9)
XYZxyz(23.1042, 13.7976, 71.9524)
Luminance0.1380 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7548E0 #B3E048
analogous
#4867E0 #7548E0 #C148E0
triadic
#7548E0 #E07548 #48E075
tetradic
#7548E0 #E04867 #B3E048 #48E0C1
square
#7548E0 #E04867 #B3E048 #48E0C1
split-complementary
#7548E0 #E0C148 #67E048
monochromatic
#3E1994 #5322C9 #7548E0 #9C7CE9 #C4B1F2

Accessibility & contrast

On white

5.59
#7548E0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#7548E0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7548E0
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7548E0#FFFFFF#000000##FFFFFF
##7548E01.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE5
Deuteranopia (green-blind)
#0064DD
Tritanopia (blue-blind)
#526E8E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7548e0;
/* rgb */ color: rgb(117, 72, 224);
/* oklch */ color: oklch(54.0% 0.217 290.9);
Tailwind
colors: {
  custom: {
    50: '#a57eeb',
    500: '#7548e0',
    950: '#000000',
  },
}
SCSS
$custom: #7548e0;
$custom-light: #a57eeb;
$custom-dark: #000000;
JSON
{
  "hex": "#7548e0",
  "rgb": {
    "r": 117,
    "g": 72,
    "b": 224
  },
  "hsl": {
    "h": 257.763,
    "s": 71.028,
    "l": 58.039
  },
  "oklch": {
    "l": 0.54019,
    "c": 0.2174,
    "h": 290.9
  },
  "luminance": 0.13798
}

Semantic roles & 50–950 ramp

primary
#7548E0
secondary
#CEE0A4
accent
#EE3AB9
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7548E0

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

Preview Lab → · Contrast checker → · Palette generator →

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