#7548CE#7548CE

#7548CE is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.6% C 0.196 H 294.0°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#7548CE
RGBrgb(117, 72, 206)
HSLhsl(260, 58%, 55%)
HSVhsv(260, 65%, 81%)
CMYKcmyk(43.2%, 65%, 0%, 19.2%)
CIE-LABlab(42.57, 48.81, -62.78)
CIE-LCHlch(42.57, 79.52, 307.87°)
OKLaboklab(52.61% 0.08 -0.1794)
OKLCHoklch(52.61% 0.196 294)
XYZxyz(20.7911, 12.8723, 59.7697)
Luminance0.1287 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7548CE #A1CE48
analogous
#485ECE #7548CE #B848CE
triadic
#7548CE #CE7548 #48CE75
tetradic
#7548CE #CE485E #A1CE48 #48CEB8
square
#7548CE #CE485E #A1CE48 #48CEB8
split-complementary
#7548CE #CEB848 #5ECE48
monochromatic
#3F217B #582EAB #7548CE #9978DB #BEA9E8

Accessibility & contrast

On white

5.87
#7548CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#7548CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7548CE
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7548CE#FFFFFF#000000##FFFFFF
##7548CE1.005.873.575.87
#FFFFFF5.871.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D2
Deuteranopia (green-blind)
#0062CB
Tritanopia (blue-blind)
#5C6885
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7548ce;
/* rgb */ color: rgb(117, 72, 206);
/* oklch */ color: oklch(52.6% 0.196 294.0);
Tailwind
colors: {
  custom: {
    50: '#a37ede',
    500: '#7548ce',
    950: '#000000',
  },
}
SCSS
$custom: #7548ce;
$custom-light: #a37ede;
$custom-dark: #000000;
JSON
{
  "hex": "#7548ce",
  "rgb": {
    "r": 117,
    "g": 72,
    "b": 206
  },
  "hsl": {
    "h": 260.149,
    "s": 57.759,
    "l": 54.51
  },
  "oklch": {
    "l": 0.52606,
    "c": 0.19638,
    "h": 294
  },
  "luminance": 0.12873
}

Semantic roles & 50–950 ramp

primary
#7548CE
secondary
#C2D59D
accent
#E147AD
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7548CE

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

Preview Lab → · Contrast checker → · Palette generator →

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