#7548CB#7548CB

#7548CB is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.4% C 0.193 H 294.6°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#7548CB
RGBrgb(117, 72, 203)
HSLhsl(261, 56%, 54%)
HSVhsv(261, 65%, 80%)
CMYKcmyk(42.4%, 64.5%, 0%, 20.4%)
CIE-LABlab(42.35, 48.00, -61.40)
CIE-LCHlch(42.35, 77.94, 308.02°)
OKLaboklab(52.38% 0.0803 -0.1753)
OKLCHoklch(52.38% 0.193 294.6)
XYZxyz(20.4301, 12.7279, 57.8687)
Luminance0.1273 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7548CB #9ECB48
analogous
#485DCB #7548CB #B748CB
triadic
#7548CB #CB7548 #48CB75
tetradic
#7548CB #CB485D #9ECB48 #48CBB7
square
#7548CB #CB485D #9ECB48 #48CBB7
split-complementary
#7548CB #CBB748 #5DCB48
monochromatic
#3F2277 #582FA6 #7548CB #9978D9 #BDA7E6

Accessibility & contrast

On white

5.92
#7548CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#7548CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7548CB
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7548CB#FFFFFF#000000##FFFFFF
##7548CB1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CF
Deuteranopia (green-blind)
#0062C8
Tritanopia (blue-blind)
#5E6783
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7548cb;
/* rgb */ color: rgb(117, 72, 203);
/* oklch */ color: oklch(52.4% 0.193 294.6);
Tailwind
colors: {
  custom: {
    50: '#a37edc',
    500: '#7548cb',
    950: '#000000',
  },
}
SCSS
$custom: #7548cb;
$custom-light: #a37edc;
$custom-dark: #000000;
JSON
{
  "hex": "#7548cb",
  "rgb": {
    "r": 117,
    "g": 72,
    "b": 203
  },
  "hsl": {
    "h": 260.611,
    "s": 55.745,
    "l": 53.922
  },
  "oklch": {
    "l": 0.52378,
    "c": 0.19283,
    "h": 294.6
  },
  "luminance": 0.12728
}

Semantic roles & 50–950 ramp

primary
#7548CB
secondary
#C0D39B
accent
#DF49AB
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7548CB

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

Preview Lab → · Contrast checker → · Palette generator →

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