#7548DA#7548DA

#7548DA is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 53.5% C 0.210 H 291.9°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#7548DA
RGBrgb(117, 72, 218)
HSLhsl(258, 66%, 57%)
HSVhsv(258, 67%, 85%)
CMYKcmyk(46.3%, 67%, 0%, 14.5%)
CIE-LABlab(43.47, 52.05, -68.20)
CIE-LCHlch(43.47, 85.79, 307.35°)
OKLaboklab(53.54% 0.0784 -0.1953)
OKLCHoklch(53.54% 0.21 291.9)
XYZxyz(22.3048, 13.4778, 67.7423)
Luminance0.1348 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7548DA #ADDA48
analogous
#4864DA #7548DA #BE48DA
triadic
#7548DA #DA7548 #48DA75
tetradic
#7548DA #DA4864 #ADDA48 #48DABE
square
#7548DA #DA4864 #ADDA48 #48DABE
split-complementary
#7548DA #DABE48 #64DA48
monochromatic
#3E1C8B #5526BE #7548DA #9B7BE4 #C2AEEF

Accessibility & contrast

On white

5.68
#7548DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#7548DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7548DA
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7548DA#FFFFFF#000000##FFFFFF
##7548DA1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DE
Deuteranopia (green-blind)
#0064D7
Tritanopia (blue-blind)
#566C8B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7548da;
/* rgb */ color: rgb(117, 72, 218);
/* oklch */ color: oklch(53.5% 0.210 291.9);
Tailwind
colors: {
  custom: {
    50: '#a57ee6',
    500: '#7548da',
    950: '#000000',
  },
}
SCSS
$custom: #7548da;
$custom-light: #a57ee6;
$custom-dark: #000000;
JSON
{
  "hex": "#7548da",
  "rgb": {
    "r": 117,
    "g": 72,
    "b": 218
  },
  "hsl": {
    "h": 258.493,
    "s": 66.364,
    "l": 56.863
  },
  "oklch": {
    "l": 0.5354,
    "c": 0.21045,
    "h": 291.9
  },
  "luminance": 0.13479
}

Semantic roles & 50–950 ramp

primary
#7548DA
secondary
#CADDA1
accent
#E93FB5
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7548DA

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

Preview Lab → · Contrast checker → · Palette generator →

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