#7548AF#7548AF

#7548AF is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.4% C 0.159 H 301.0°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#7548AF
RGBrgb(117, 72, 175)
HSLhsl(266, 42%, 48%)
HSVhsv(266, 59%, 69%)
CMYKcmyk(33.1%, 58.9%, 0%, 31.4%)
CIE-LABlab(40.43, 40.62, -48.13)
CIE-LCHlch(40.43, 62.98, 310.16°)
OKLaboklab(50.37% 0.0819 -0.1363)
OKLCHoklch(50.37% 0.159 301)
XYZxyz(17.3895, 11.5117, 41.8550)
Luminance0.1151 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7548AF #82AF48
analogous
#484EAF #7548AF #A848AF
triadic
#7548AF #AF7548 #48AF75
tetradic
#7548AF #AF484E #82AF48 #48AFA8
square
#7548AF #AF484E #82AF48 #48AFA8
split-complementary
#7548AF #AFA848 #4EAF48
monochromatic
#3B2458 #583684 #7548AF #9570C4 #B59BD6

Accessibility & contrast

On white

6.36
#7548AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#7548AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7548AF
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7548AF#FFFFFF#000000##FFFFFF
##7548AF1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#155FB2
Deuteranopia (green-blind)
#2A5FAD
Tritanopia (blue-blind)
#695D74
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7548af;
/* rgb */ color: rgb(117, 72, 175);
/* oklch */ color: oklch(50.4% 0.159 301.0);
Tailwind
colors: {
  custom: {
    50: '#a07dc7',
    500: '#7548af',
    950: '#000000',
  },
}
SCSS
$custom: #7548af;
$custom-light: #a07dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#7548af",
  "rgb": {
    "r": 117,
    "g": 72,
    "b": 175
  },
  "hsl": {
    "h": 266.214,
    "s": 41.7,
    "l": 48.431
  },
  "oklch": {
    "l": 0.50371,
    "c": 0.15903,
    "h": 301
  },
  "luminance": 0.11512
}

Semantic roles & 50–950 ramp

primary
#7548AF
secondary
#ADC290
accent
#D2569C
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #7548AF

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

Preview Lab → · Contrast checker → · Palette generator →

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