#7548E7#7548E7

#7548E7 is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 54.6% C 0.225 H 289.8°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#7548E7
RGBrgb(117, 72, 231)
HSLhsl(257, 77%, 59%)
HSVhsv(257, 69%, 91%)
CMYKcmyk(49.4%, 68.8%, 0%, 9.4%)
CIE-LABlab(44.50, 55.59, -73.92)
CIE-LCHlch(44.50, 92.49, 306.94°)
OKLaboklab(54.59% 0.0764 -0.2121)
OKLCHoklch(54.59% 0.225 289.8)
XYZxyz(24.0731, 14.1851, 77.0554)
Luminance0.1419 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7548E7 #BAE748
analogous
#486BE7 #7548E7 #C548E7
triadic
#7548E7 #E77548 #48E775
tetradic
#7548E7 #E7486B #BAE748 #48E7C5
square
#7548E7 #E7486B #BAE748 #48E7C5
split-complementary
#7548E7 #E7C548 #6BE748
monochromatic
#3C15A0 #511CD6 #7548E7 #9E7EEE #C7B4F5

Accessibility & contrast

On white

5.47
#7548E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#7548E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7548E7
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7548E7#FFFFFF#000000##FFFFFF
##7548E71.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CEC
Deuteranopia (green-blind)
#0065E4
Tritanopia (blue-blind)
#4E7192
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7548e7;
/* rgb */ color: rgb(117, 72, 231);
/* oklch */ color: oklch(54.6% 0.225 289.8);
Tailwind
colors: {
  custom: {
    50: '#a67ef0',
    500: '#7548e7',
    950: '#000000',
  },
}
SCSS
$custom: #7548e7;
$custom-light: #a67ef0;
$custom-dark: #000000;
JSON
{
  "hex": "#7548e7",
  "rgb": {
    "r": 117,
    "g": 72,
    "b": 231
  },
  "hsl": {
    "h": 256.981,
    "s": 76.812,
    "l": 59.412
  },
  "oklch": {
    "l": 0.54589,
    "c": 0.22544,
    "h": 289.8
  },
  "luminance": 0.14186
}

Semantic roles & 50–950 ramp

primary
#7548E7
secondary
#D3E4A6
accent
#F334BD
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#110A17
muted
#807C85

Preview Lab

Preview with #7548E7

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

Preview Lab → · Contrast checker → · Palette generator →

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