#7548DD#7548DD

#7548DD is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 53.8% C 0.214 H 291.4°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#7548DD
RGBrgb(117, 72, 221)
HSLhsl(258, 69%, 57%)
HSVhsv(258, 67%, 87%)
CMYKcmyk(47.1%, 67.4%, 0%, 13.3%)
CIE-LABlab(43.71, 52.87, -69.53)
CIE-LCHlch(43.71, 87.35, 307.25°)
OKLaboklab(53.78% 0.078 -0.1992)
OKLCHoklch(53.78% 0.214 291.4)
XYZxyz(22.7010, 13.6363, 69.8286)
Luminance0.1364 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7548DD #B0DD48
analogous
#4865DD #7548DD #C048DD
triadic
#7548DD #DD7548 #48DD75
tetradic
#7548DD #DD4865 #B0DD48 #48DDC0
square
#7548DD #DD4865 #B0DD48 #48DDC0
split-complementary
#7548DD #DDC048 #65DD48
monochromatic
#3E1B90 #5424C3 #7548DD #9C7CE7 #C3AFF0

Accessibility & contrast

On white

5.63
#7548DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#7548DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7548DD
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7548DD#FFFFFF#000000##FFFFFF
##7548DD1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE2
Deuteranopia (green-blind)
#0064DA
Tritanopia (blue-blind)
#546D8D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7548dd;
/* rgb */ color: rgb(117, 72, 221);
/* oklch */ color: oklch(53.8% 0.214 291.4);
Tailwind
colors: {
  custom: {
    50: '#a57ee9',
    500: '#7548dd',
    950: '#000000',
  },
}
SCSS
$custom: #7548dd;
$custom-light: #a57ee9;
$custom-dark: #000000;
JSON
{
  "hex": "#7548dd",
  "rgb": {
    "r": 117,
    "g": 72,
    "b": 221
  },
  "hsl": {
    "h": 258.121,
    "s": 68.664,
    "l": 57.451
  },
  "oklch": {
    "l": 0.53778,
    "c": 0.21394,
    "h": 291.4
  },
  "luminance": 0.13637
}

Semantic roles & 50–950 ramp

primary
#7548DD
secondary
#CCDEA2
accent
#EC3CB7
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7548DD

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

Preview Lab → · Contrast checker → · Palette generator →

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