#7548C3#7548C3

#7548C3 is a mid, vivid violet. Relative luminance 0.124; OKLCH L 51.8% C 0.183 H 296.2°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#7548C3
RGBrgb(117, 72, 195)
HSLhsl(262, 51%, 52%)
HSVhsv(262, 63%, 76%)
CMYKcmyk(40%, 63.1%, 0%, 23.5%)
CIE-LABlab(41.78, 45.86, -57.69)
CIE-LCHlch(41.78, 73.70, 308.49°)
OKLaboklab(51.78% 0.081 -0.1644)
OKLCHoklch(51.78% 0.183 296.2)
XYZxyz(19.5012, 12.3564, 52.9768)
Luminance0.1236 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7548C3 #96C348
analogous
#4859C3 #7548C3 #B248C3
triadic
#7548C3 #C37548 #48C375
tetradic
#7548C3 #C34859 #96C348 #48C3B2
square
#7548C3 #C34859 #96C348 #48C3B2
split-complementary
#7548C3 #C3B248 #59C348
monochromatic
#3E246D #59339B #7548C3 #9876D2 #BBA4E1

Accessibility & contrast

On white

6.05
#7548C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#7548C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7548C3
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7548C3#FFFFFF#000000##FFFFFF
##7548C31.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C7
Deuteranopia (green-blind)
#0061C0
Tritanopia (blue-blind)
#61647F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7548c3;
/* rgb */ color: rgb(117, 72, 195);
/* oklch */ color: oklch(51.8% 0.183 296.2);
Tailwind
colors: {
  custom: {
    50: '#a27dd6',
    500: '#7548c3',
    950: '#000000',
  },
}
SCSS
$custom: #7548c3;
$custom-light: #a27dd6;
$custom-dark: #000000;
JSON
{
  "hex": "#7548c3",
  "rgb": {
    "r": 117,
    "g": 72,
    "b": 195
  },
  "hsl": {
    "h": 261.951,
    "s": 50.617,
    "l": 52.353
  },
  "oklch": {
    "l": 0.51782,
    "c": 0.18329,
    "h": 296.2
  },
  "luminance": 0.12357
}

Semantic roles & 50–950 ramp

primary
#7548C3
secondary
#BBCE99
accent
#DA4EA7
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7548C3

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

Preview Lab → · Contrast checker → · Palette generator →

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