#7548E6#7548E6

#7548E6 is a mid, highly saturated violet. Relative luminance 0.141; OKLCH L 54.5% C 0.224 H 289.9°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#7548E6
RGBrgb(117, 72, 230)
HSLhsl(257, 76%, 59%)
HSVhsv(257, 69%, 90%)
CMYKcmyk(49.1%, 68.7%, 0%, 9.8%)
CIE-LABlab(44.42, 55.31, -73.49)
CIE-LCHlch(44.42, 91.98, 306.97°)
OKLaboklab(54.51% 0.0765 -0.2108)
OKLCHoklch(54.51% 0.224 289.9)
XYZxyz(23.9323, 14.1288, 76.3137)
Luminance0.1413 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7548E6 #B9E648
analogous
#486AE6 #7548E6 #C448E6
triadic
#7548E6 #E67548 #48E675
tetradic
#7548E6 #E6486A #B9E648 #48E6C4
square
#7548E6 #E6486A #B9E648 #48E6C4
split-complementary
#7548E6 #E6C448 #6AE648
monochromatic
#3C169E #511DD4 #7548E6 #9E7EED #C6B4F5

Accessibility & contrast

On white

5.49
#7548E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#7548E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7548E6
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7548E6#FFFFFF#000000##FFFFFF
##7548E61.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CEB
Deuteranopia (green-blind)
#0065E3
Tritanopia (blue-blind)
#4E7092
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7548e6;
/* rgb */ color: rgb(117, 72, 230);
/* oklch */ color: oklch(54.5% 0.224 289.9);
Tailwind
colors: {
  custom: {
    50: '#a67eef',
    500: '#7548e6',
    950: '#000000',
  },
}
SCSS
$custom: #7548e6;
$custom-light: #a67eef;
$custom-dark: #000000;
JSON
{
  "hex": "#7548e6",
  "rgb": {
    "r": 117,
    "g": 72,
    "b": 230
  },
  "hsl": {
    "h": 257.089,
    "s": 75.962,
    "l": 59.216
  },
  "oklch": {
    "l": 0.54507,
    "c": 0.2243,
    "h": 289.9
  },
  "luminance": 0.1413
}

Semantic roles & 50–950 ramp

primary
#7548E6
secondary
#D2E4A6
accent
#F335BD
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #7548E6

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

Preview Lab → · Contrast checker → · Palette generator →

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