#7548CA#7548CA

#7548CA is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.3% C 0.192 H 294.8°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#7548CA
RGBrgb(117, 72, 202)
HSLhsl(261, 55%, 54%)
HSVhsv(261, 64%, 79%)
CMYKcmyk(42.1%, 64.4%, 0%, 20.8%)
CIE-LABlab(42.28, 47.73, -60.94)
CIE-LCHlch(42.28, 77.41, 308.07°)
OKLaboklab(52.3% 0.0804 -0.174)
OKLCHoklch(52.3% 0.192 294.8)
XYZxyz(20.3113, 12.6804, 57.2431)
Luminance0.1268 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7548CA #9DCA48
analogous
#485CCA #7548CA #B648CA
triadic
#7548CA #CA7548 #48CA75
tetradic
#7548CA #CA485C #9DCA48 #48CAB6
square
#7548CA #CA485C #9DCA48 #48CAB6
split-complementary
#7548CA #CAB648 #5CCA48
monochromatic
#3F2276 #5830A5 #7548CA #9977D8 #BDA7E5

Accessibility & contrast

On white

5.94
#7548CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#7548CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7548CA
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7548CA#FFFFFF#000000##FFFFFF
##7548CA1.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CE
Deuteranopia (green-blind)
#0062C7
Tritanopia (blue-blind)
#5E6683
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7548ca;
/* rgb */ color: rgb(117, 72, 202);
/* oklch */ color: oklch(52.3% 0.192 294.8);
Tailwind
colors: {
  custom: {
    50: '#a37ddb',
    500: '#7548ca',
    950: '#000000',
  },
}
SCSS
$custom: #7548ca;
$custom-light: #a37ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#7548ca",
  "rgb": {
    "r": 117,
    "g": 72,
    "b": 202
  },
  "hsl": {
    "h": 260.769,
    "s": 55.085,
    "l": 53.725
  },
  "oklch": {
    "l": 0.52302,
    "c": 0.19165,
    "h": 294.8
  },
  "luminance": 0.12681
}

Semantic roles & 50–950 ramp

primary
#7548CA
secondary
#BFD39B
accent
#DE49AB
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7548CA

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

Preview Lab → · Contrast checker → · Palette generator →

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