#7548CF#7548CF

#7548CF is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.7% C 0.198 H 293.8°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#7548CF
RGBrgb(117, 72, 207)
HSLhsl(260, 58%, 55%)
HSVhsv(260, 65%, 81%)
CMYKcmyk(43.5%, 65.2%, 0%, 18.8%)
CIE-LABlab(42.64, 49.08, -63.23)
CIE-LCHlch(42.64, 80.04, 307.82°)
OKLaboklab(52.68% 0.0799 -0.1807)
OKLCHoklch(52.68% 0.198 293.8)
XYZxyz(20.9129, 12.9211, 60.4115)
Luminance0.1292 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7548CF #A2CF48
analogous
#485FCF #7548CF #B948CF
triadic
#7548CF #CF7548 #48CF75
tetradic
#7548CF #CF485F #A2CF48 #48CFB9
square
#7548CF #CF485F #A2CF48 #48CFB9
split-complementary
#7548CF #CFB948 #5FCF48
monochromatic
#3F217C #582DAD #7548CF #9A78DC #BEA9E8

Accessibility & contrast

On white

5.86
#7548CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#7548CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7548CF
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7548CF#FFFFFF#000000##FFFFFF
##7548CF1.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D3
Deuteranopia (green-blind)
#0062CC
Tritanopia (blue-blind)
#5C6885
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7548cf;
/* rgb */ color: rgb(117, 72, 207);
/* oklch */ color: oklch(52.7% 0.198 293.8);
Tailwind
colors: {
  custom: {
    50: '#a37edf',
    500: '#7548cf',
    950: '#000000',
  },
}
SCSS
$custom: #7548cf;
$custom-light: #a37edf;
$custom-dark: #000000;
JSON
{
  "hex": "#7548cf",
  "rgb": {
    "r": 117,
    "g": 72,
    "b": 207
  },
  "hsl": {
    "h": 260,
    "s": 58.442,
    "l": 54.706
  },
  "oklch": {
    "l": 0.52682,
    "c": 0.19756,
    "h": 293.8
  },
  "luminance": 0.12922
}

Semantic roles & 50–950 ramp

primary
#7548CF
secondary
#C3D69D
accent
#E246AE
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7548CF

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

Preview Lab → · Contrast checker → · Palette generator →

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