#7548DE#7548DE

#7548DE is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 53.9% C 0.215 H 291.2°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#7548DE
RGBrgb(117, 72, 222)
HSLhsl(258, 69%, 58%)
HSVhsv(258, 68%, 87%)
CMYKcmyk(47.3%, 67.6%, 0%, 12.9%)
CIE-LABlab(43.78, 53.14, -69.97)
CIE-LCHlch(43.78, 87.86, 307.21°)
OKLaboklab(53.86% 0.0778 -0.2005)
OKLCHoklch(53.86% 0.215 291.2)
XYZxyz(22.8346, 13.6897, 70.5323)
Luminance0.1369 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7548DE #B1DE48
analogous
#4866DE #7548DE #C048DE
triadic
#7548DE #DE7548 #48DE75
tetradic
#7548DE #DE4866 #B1DE48 #48DEC0
square
#7548DE #DE4866 #B1DE48 #48DEC0
split-complementary
#7548DE #DEC048 #66DE48
monochromatic
#3E1A91 #5424C5 #7548DE #9C7CE7 #C3B0F1

Accessibility & contrast

On white

5.62
#7548DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#7548DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7548DE
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7548DE#FFFFFF#000000##FFFFFF
##7548DE1.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE3
Deuteranopia (green-blind)
#0064DB
Tritanopia (blue-blind)
#546D8D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7548de;
/* rgb */ color: rgb(117, 72, 222);
/* oklch */ color: oklch(53.9% 0.215 291.2);
Tailwind
colors: {
  custom: {
    50: '#a57ee9',
    500: '#7548de',
    950: '#000000',
  },
}
SCSS
$custom: #7548de;
$custom-light: #a57ee9;
$custom-dark: #000000;
JSON
{
  "hex": "#7548de",
  "rgb": {
    "r": 117,
    "g": 72,
    "b": 222
  },
  "hsl": {
    "h": 258,
    "s": 69.444,
    "l": 57.647
  },
  "oklch": {
    "l": 0.53859,
    "c": 0.21509,
    "h": 291.2
  },
  "luminance": 0.13691
}

Semantic roles & 50–950 ramp

primary
#7548DE
secondary
#CDDFA3
accent
#EC3CB7
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7548DE

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

Preview Lab → · Contrast checker → · Palette generator →

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