#7548D3#7548D3

#7548D3 is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 53.0% C 0.202 H 293.1°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#7548D3
RGBrgb(117, 72, 211)
HSLhsl(259, 61%, 55%)
HSVhsv(259, 66%, 83%)
CMYKcmyk(44.5%, 65.9%, 0%, 17.3%)
CIE-LABlab(42.94, 50.16, -65.05)
CIE-LCHlch(42.94, 82.14, 307.63°)
OKLaboklab(52.99% 0.0794 -0.186)
OKLCHoklch(52.99% 0.202 293.1)
XYZxyz(21.4081, 13.1191, 63.0197)
Luminance0.1312 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7548D3 #A6D348
analogous
#4861D3 #7548D3 #BA48D3
triadic
#7548D3 #D37548 #48D375
tetradic
#7548D3 #D34861 #A6D348 #48D3BA
square
#7548D3 #D34861 #A6D348 #48D3BA
split-complementary
#7548D3 #D3BA48 #61D348
monochromatic
#3F1F81 #572BB3 #7548D3 #9A79DF #BFABEB

Accessibility & contrast

On white

5.79
#7548D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#7548D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7548D3
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7548D3#FFFFFF#000000##FFFFFF
##7548D31.005.793.625.79
#FFFFFF5.791.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D7
Deuteranopia (green-blind)
#0063D0
Tritanopia (blue-blind)
#5A6987
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7548d3;
/* rgb */ color: rgb(117, 72, 211);
/* oklch */ color: oklch(53.0% 0.202 293.1);
Tailwind
colors: {
  custom: {
    50: '#a47ee1',
    500: '#7548d3',
    950: '#000000',
  },
}
SCSS
$custom: #7548d3;
$custom-light: #a47ee1;
$custom-dark: #000000;
JSON
{
  "hex": "#7548d3",
  "rgb": {
    "r": 117,
    "g": 72,
    "b": 211
  },
  "hsl": {
    "h": 259.424,
    "s": 61.233,
    "l": 55.49
  },
  "oklch": {
    "l": 0.52991,
    "c": 0.20228,
    "h": 293.1
  },
  "luminance": 0.1312
}

Semantic roles & 50–950 ramp

primary
#7548D3
secondary
#C6D89E
accent
#E443B0
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7548D3

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

Preview Lab → · Contrast checker → · Palette generator →

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