#7548DC#7548DC

#7548DC is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 53.7% C 0.213 H 291.5°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#7548DC
RGBrgb(117, 72, 220)
HSLhsl(258, 68%, 57%)
HSVhsv(258, 67%, 86%)
CMYKcmyk(46.8%, 67.3%, 0%, 13.7%)
CIE-LABlab(43.63, 52.59, -69.09)
CIE-LCHlch(43.63, 86.83, 307.28°)
OKLaboklab(53.7% 0.0781 -0.1979)
OKLCHoklch(53.7% 0.213 291.5)
XYZxyz(22.5681, 13.5831, 69.1290)
Luminance0.1358 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7548DC #AFDC48
analogous
#4865DC #7548DC #BF48DC
triadic
#7548DC #DC7548 #48DC75
tetradic
#7548DC #DC4865 #AFDC48 #48DCBF
square
#7548DC #DC4865 #AFDC48 #48DCBF
split-complementary
#7548DC #DCBF48 #65DC48
monochromatic
#3E1B8E #5525C2 #7548DC #9C7BE6 #C2AFF0

Accessibility & contrast

On white

5.65
#7548DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#7548DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7548DC
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7548DC#FFFFFF#000000##FFFFFF
##7548DC1.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E0
Deuteranopia (green-blind)
#0064D9
Tritanopia (blue-blind)
#556D8C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7548dc;
/* rgb */ color: rgb(117, 72, 220);
/* oklch */ color: oklch(53.7% 0.213 291.5);
Tailwind
colors: {
  custom: {
    50: '#a57ee8',
    500: '#7548dc',
    950: '#000000',
  },
}
SCSS
$custom: #7548dc;
$custom-light: #a57ee8;
$custom-dark: #000000;
JSON
{
  "hex": "#7548dc",
  "rgb": {
    "r": 117,
    "g": 72,
    "b": 220
  },
  "hsl": {
    "h": 258.243,
    "s": 67.89,
    "l": 57.255
  },
  "oklch": {
    "l": 0.53699,
    "c": 0.21278,
    "h": 291.5
  },
  "luminance": 0.13584
}

Semantic roles & 50–950 ramp

primary
#7548DC
secondary
#CCDEA2
accent
#EB3DB6
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7548DC

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

Preview Lab → · Contrast checker → · Palette generator →

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