#7A48BC#7A48BC

#7A48BC is a mid, vivid violet. Relative luminance 0.124; OKLCH L 51.8% C 0.176 H 300.2°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#7A48BC
RGBrgb(122, 72, 188)
HSLhsl(266, 46%, 51%)
HSVhsv(266, 62%, 74%)
CMYKcmyk(35.1%, 61.7%, 0%, 26.3%)
CIE-LABlab(41.85, 45.13, -53.46)
CIE-LCHlch(41.85, 69.96, 310.17°)
OKLaboklab(51.81% 0.0883 -0.1518)
OKLCHoklch(51.81% 0.176 300.2)
XYZxyz(19.4183, 12.4030, 48.9382)
Luminance0.1240 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A48BC #8ABC48
analogous
#4850BC #7A48BC #B448BC
triadic
#7A48BC #BC7A48 #48BC7A
tetradic
#7A48BC #BC4850 #8ABC48 #48BCB4
square
#7A48BC #BC4850 #8ABC48 #48BCB4
split-complementary
#7A48BC #BCB448 #50BC48
monochromatic
#402565 #5D3592 #7A48BC #9B75CC #BBA2DD

Accessibility & contrast

On white

6.03
#7A48BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#7A48BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A48BC
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A48BC#FFFFFF#000000##FFFFFF
##7A48BC1.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C0
Deuteranopia (green-blind)
#1D62B9
Tritanopia (blue-blind)
#6C617B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7a48bc;
/* rgb */ color: rgb(122, 72, 188);
/* oklch */ color: oklch(51.8% 0.176 300.2);
Tailwind
colors: {
  custom: {
    50: '#a57dd1',
    500: '#7a48bc',
    950: '#000000',
  },
}
SCSS
$custom: #7a48bc;
$custom-light: #a57dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#7a48bc",
  "rgb": {
    "r": 122,
    "g": 72,
    "b": 188
  },
  "hsl": {
    "h": 265.862,
    "s": 46.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.51808,
    "c": 0.17559,
    "h": 300.2
  },
  "luminance": 0.12403
}

Semantic roles & 50–950 ramp

primary
#7A48BC
secondary
#B3CA96
accent
#D6529D
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A14
muted
#7F7C82

Preview Lab

Preview with #7A48BC

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

Preview Lab → · Contrast checker → · Palette generator →

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