#7A48D8#7A48D8

#7A48D8 is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 53.9% C 0.208 H 294.3°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#7A48D8
RGBrgb(122, 72, 216)
HSLhsl(261, 65%, 56%)
HSVhsv(261, 67%, 85%)
CMYKcmyk(43.5%, 66.7%, 0%, 15.3%)
CIE-LABlab(43.84, 52.43, -66.43)
CIE-LCHlch(43.84, 84.63, 308.28°)
OKLaboklab(53.88% 0.0856 -0.1899)
OKLCHoklch(53.88% 0.208 294.3)
XYZxyz(22.7347, 13.7296, 66.4047)
Luminance0.1373 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A48D8 #A6D848
analogous
#485ED8 #7A48D8 #C248D8
triadic
#7A48D8 #D87A48 #48D87A
tetradic
#7A48D8 #D8485E #A6D848 #48D8C2
square
#7A48D8 #D8485E #A6D848 #48D8C2
split-complementary
#7A48D8 #D8C248 #5ED848
monochromatic
#421D89 #5B28BB #7A48D8 #9F7AE3 #C3ADEE

Accessibility & contrast

On white

5.61
#7A48D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#7A48D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A48D8
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A48D8#FFFFFF#000000##FFFFFF
##7A48D81.005.613.755.61
#FFFFFF5.611.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DC
Deuteranopia (green-blind)
#0065D5
Tritanopia (blue-blind)
#606B8A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7a48d8;
/* rgb */ color: rgb(122, 72, 216);
/* oklch */ color: oklch(53.9% 0.208 294.3);
Tailwind
colors: {
  custom: {
    50: '#a87ee5',
    500: '#7a48d8',
    950: '#000000',
  },
}
SCSS
$custom: #7a48d8;
$custom-light: #a87ee5;
$custom-dark: #000000;
JSON
{
  "hex": "#7a48d8",
  "rgb": {
    "r": 122,
    "g": 72,
    "b": 216
  },
  "hsl": {
    "h": 260.833,
    "s": 64.865,
    "l": 56.471
  },
  "oklch": {
    "l": 0.53877,
    "c": 0.20833,
    "h": 294.3
  },
  "luminance": 0.1373
}

Semantic roles & 50–950 ramp

primary
#7A48D8
secondary
#C7DBA0
accent
#E840AE
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7A48D8

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

Preview Lab → · Contrast checker → · Palette generator →

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