#7A48AF#7A48AF

#7A48AF is a mid, vivid violet. Relative luminance 0.119; OKLCH L 50.9% C 0.160 H 303.6°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#7A48AF
RGBrgb(122, 72, 175)
HSLhsl(269, 42%, 48%)
HSVhsv(269, 59%, 69%)
CMYKcmyk(30.3%, 58.9%, 0%, 31.4%)
CIE-LABlab(41.00, 41.84, -47.17)
CIE-LCHlch(41.00, 63.06, 311.57°)
OKLaboklab(50.92% 0.0886 -0.1333)
OKLCHoklch(50.92% 0.16 303.6)
XYZxyz(18.0795, 11.8675, 41.8873)
Luminance0.1187 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A48AF #7DAF48
analogous
#484AAF #7A48AF #AD48AF
triadic
#7A48AF #AF7A48 #48AF7A
tetradic
#7A48AF #AF484A #7DAF48 #48AFAD
square
#7A48AF #AF484A #7DAF48 #48AFAD
split-complementary
#7A48AF #AFAD48 #4AAF48
monochromatic
#3E2458 #5C3684 #7A48AF #9970C4 #B89BD6

Accessibility & contrast

On white

6.23
#7A48AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#7A48AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A48AF
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A48AF#FFFFFF#000000##FFFFFF
##7A48AF1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A60B2
Deuteranopia (green-blind)
#3061AD
Tritanopia (blue-blind)
#705D74
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7a48af;
/* rgb */ color: rgb(122, 72, 175);
/* oklch */ color: oklch(50.9% 0.160 303.6);
Tailwind
colors: {
  custom: {
    50: '#a47dc7',
    500: '#7a48af',
    950: '#000000',
  },
}
SCSS
$custom: #7a48af;
$custom-light: #a47dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#7a48af",
  "rgb": {
    "r": 122,
    "g": 72,
    "b": 175
  },
  "hsl": {
    "h": 269.126,
    "s": 41.7,
    "l": 48.431
  },
  "oklch": {
    "l": 0.50922,
    "c": 0.1601,
    "h": 303.6
  },
  "luminance": 0.11867
}

Semantic roles & 50–950 ramp

primary
#7A48AF
secondary
#AAC290
accent
#D25696
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #7A48AF

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

Preview Lab → · Contrast checker → · Palette generator →

#7A48AF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva