#7548CD#7548CD

#7548CD is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.5% C 0.195 H 294.2°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#7548CD
RGBrgb(117, 72, 205)
HSLhsl(260, 57%, 54%)
HSVhsv(260, 65%, 80%)
CMYKcmyk(42.9%, 64.9%, 0%, 19.6%)
CIE-LABlab(42.50, 48.54, -62.32)
CIE-LCHlch(42.50, 78.99, 307.91°)
OKLaboklab(52.53% 0.0801 -0.178)
OKLCHoklch(52.53% 0.195 294.2)
XYZxyz(20.6700, 12.8239, 59.1320)
Luminance0.1282 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7548CD #A0CD48
analogous
#485ECD #7548CD #B848CD
triadic
#7548CD #CD7548 #48CD75
tetradic
#7548CD #CD485E #A0CD48 #48CDB8
square
#7548CD #CD485E #A0CD48 #48CDB8
split-complementary
#7548CD #CDB848 #5ECD48
monochromatic
#3F2179 #582EA9 #7548CD #9978DA #BDA8E7

Accessibility & contrast

On white

5.89
#7548CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#7548CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7548CD
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7548CD#FFFFFF#000000##FFFFFF
##7548CD1.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D1
Deuteranopia (green-blind)
#0062CA
Tritanopia (blue-blind)
#5D6784
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7548cd;
/* rgb */ color: rgb(117, 72, 205);
/* oklch */ color: oklch(52.5% 0.195 294.2);
Tailwind
colors: {
  custom: {
    50: '#a37edd',
    500: '#7548cd',
    950: '#000000',
  },
}
SCSS
$custom: #7548cd;
$custom-light: #a37edd;
$custom-dark: #000000;
JSON
{
  "hex": "#7548cd",
  "rgb": {
    "r": 117,
    "g": 72,
    "b": 205
  },
  "hsl": {
    "h": 260.301,
    "s": 57.082,
    "l": 54.314
  },
  "oklch": {
    "l": 0.5253,
    "c": 0.1952,
    "h": 294.2
  },
  "luminance": 0.12824
}

Semantic roles & 50–950 ramp

primary
#7548CD
secondary
#C2D59C
accent
#E047AD
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7548CD

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

Preview Lab → · Contrast checker → · Palette generator →

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