#7A48D1#7A48D1

#7A48D1 is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 53.3% C 0.200 H 295.6°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#7A48D1
RGBrgb(122, 72, 209)
HSLhsl(262, 60%, 55%)
HSVhsv(262, 66%, 82%)
CMYKcmyk(41.6%, 65.6%, 0%, 18%)
CIE-LABlab(43.32, 50.59, -63.26)
CIE-LCHlch(43.32, 81.00, 308.65°)
OKLaboklab(53.34% 0.0865 -0.1806)
OKLCHoklch(53.34% 0.2 295.6)
XYZxyz(21.8490, 13.3753, 61.7398)
Luminance0.1338 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A48D1 #9FD148
analogous
#485AD1 #7A48D1 #BF48D1
triadic
#7A48D1 #D17A48 #48D17A
tetradic
#7A48D1 #D1485A #9FD148 #48D1BF
square
#7A48D1 #D1485A #9FD148 #48D1BF
split-complementary
#7A48D1 #D1BF48 #5AD148
monochromatic
#42207F #5C2CB0 #7A48D1 #9E79DD #C1AAEA

Accessibility & contrast

On white

5.71
#7A48D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#7A48D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A48D1
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A48D1#FFFFFF#000000##FFFFFF
##7A48D11.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D5
Deuteranopia (green-blind)
#0064CE
Tritanopia (blue-blind)
#636886
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7a48d1;
/* rgb */ color: rgb(122, 72, 209);
/* oklch */ color: oklch(53.3% 0.200 295.6);
Tailwind
colors: {
  custom: {
    50: '#a77ee0',
    500: '#7a48d1',
    950: '#000000',
  },
}
SCSS
$custom: #7a48d1;
$custom-light: #a77ee0;
$custom-dark: #000000;
JSON
{
  "hex": "#7a48d1",
  "rgb": {
    "r": 122,
    "g": 72,
    "b": 209
  },
  "hsl": {
    "h": 261.898,
    "s": 59.825,
    "l": 55.098
  },
  "oklch": {
    "l": 0.53341,
    "c": 0.20024,
    "h": 295.6
  },
  "luminance": 0.13376
}

Semantic roles & 50–950 ramp

primary
#7A48D1
secondary
#C2D79E
accent
#E345A9
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7A48D1

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

Preview Lab → · Contrast checker → · Palette generator →

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