#7548EE#7548EE

#7548EE is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 55.2% C 0.233 H 288.8°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#7548EE
RGBrgb(117, 72, 238)
HSLhsl(256, 83%, 61%)
HSVhsv(256, 70%, 93%)
CMYKcmyk(50.8%, 69.7%, 0%, 6.7%)
CIE-LABlab(45.07, 57.49, -76.95)
CIE-LCHlch(45.07, 96.06, 306.77°)
OKLaboklab(55.17% 0.0751 -0.221)
OKLCHoklch(55.17% 0.233 288.8)
XYZxyz(25.0816, 14.5885, 82.3666)
Luminance0.1459 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7548EE #C1EE48
analogous
#486EEE #7548EE #C848EE
triadic
#7548EE #EE7548 #48EE75
tetradic
#7548EE #EE486E #C1EE48 #48EEC8
square
#7548EE #EE486E #C1EE48 #48EEC8
split-complementary
#7548EE #EEC848 #6EEE48
monochromatic
#3A10AC #4D15E4 #7548EE #9F80F3 #C9B8F8

Accessibility & contrast

On white

5.36
#7548EE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#7548EE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7548EE
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7548EE#FFFFFF#000000##FFFFFF
##7548EE1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EF3
Deuteranopia (green-blind)
#0066EB
Tritanopia (blue-blind)
#487396
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7548ee;
/* rgb */ color: rgb(117, 72, 238);
/* oklch */ color: oklch(55.2% 0.233 288.8);
Tailwind
colors: {
  custom: {
    50: '#a77ff5',
    500: '#7548ee',
    950: '#000000',
  },
}
SCSS
$custom: #7548ee;
$custom-light: #a77ff5;
$custom-dark: #000000;
JSON
{
  "hex": "#7548ee",
  "rgb": {
    "r": 117,
    "g": 72,
    "b": 238
  },
  "hsl": {
    "h": 256.265,
    "s": 83,
    "l": 60.784
  },
  "oklch": {
    "l": 0.5517,
    "c": 0.23341,
    "h": 288.8
  },
  "luminance": 0.1459
}

Semantic roles & 50–950 ramp

primary
#7548EE
secondary
#D7E8A9
accent
#DF06A5
background
#FBF7FF
surface
#F6EEFF
border
#D0C9D7
text
#110A17
muted
#807C85

Preview Lab

Preview with #7548EE

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

Preview Lab → · Contrast checker → · Palette generator →

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