#7548DB#7548DB

#7548DB is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 53.6% C 0.212 H 291.7°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#7548DB
RGBrgb(117, 72, 219)
HSLhsl(258, 67%, 57%)
HSVhsv(258, 67%, 86%)
CMYKcmyk(46.6%, 67.1%, 0%, 14.1%)
CIE-LABlab(43.55, 52.32, -68.64)
CIE-LCHlch(43.55, 86.31, 307.32°)
OKLaboklab(53.62% 0.0783 -0.1966)
OKLCHoklch(53.62% 0.212 291.7)
XYZxyz(22.4361, 13.5303, 68.4336)
Luminance0.1353 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7548DB #AEDB48
analogous
#4865DB #7548DB #BE48DB
triadic
#7548DB #DB7548 #48DB75
tetradic
#7548DB #DB4865 #AEDB48 #48DBBE
square
#7548DB #DB4865 #AEDB48 #48DBBE
split-complementary
#7548DB #DBBE48 #65DB48
monochromatic
#3E1C8D #5526C0 #7548DB #9C7BE5 #C2AEEF

Accessibility & contrast

On white

5.67
#7548DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#7548DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7548DB
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7548DB#FFFFFF#000000##FFFFFF
##7548DB1.005.673.715.67
#FFFFFF5.671.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DF
Deuteranopia (green-blind)
#0064D8
Tritanopia (blue-blind)
#556C8C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7548db;
/* rgb */ color: rgb(117, 72, 219);
/* oklch */ color: oklch(53.6% 0.212 291.7);
Tailwind
colors: {
  custom: {
    50: '#a57ee7',
    500: '#7548db',
    950: '#000000',
  },
}
SCSS
$custom: #7548db;
$custom-light: #a57ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#7548db",
  "rgb": {
    "r": 117,
    "g": 72,
    "b": 219
  },
  "hsl": {
    "h": 258.367,
    "s": 67.123,
    "l": 57.059
  },
  "oklch": {
    "l": 0.53619,
    "c": 0.21161,
    "h": 291.7
  },
  "luminance": 0.13531
}

Semantic roles & 50–950 ramp

primary
#7548DB
secondary
#CBDDA2
accent
#EA3EB5
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7548DB

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

Preview Lab → · Contrast checker → · Palette generator →

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