#7A48D9#7A48D9

#7A48D9 is a mid, highly saturated violet. Relative luminance 0.138; OKLCH L 54.0% C 0.209 H 294.1°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#7A48D9
RGBrgb(122, 72, 217)
HSLhsl(261, 66%, 57%)
HSVhsv(261, 67%, 85%)
CMYKcmyk(43.8%, 66.8%, 0%, 14.9%)
CIE-LABlab(43.92, 52.70, -66.88)
CIE-LCHlch(43.92, 85.15, 308.24°)
OKLaboklab(53.95% 0.0854 -0.1913)
OKLCHoklch(53.95% 0.209 294.1)
XYZxyz(22.8644, 13.7814, 67.0876)
Luminance0.1378 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A48D9 #A7D948
analogous
#485FD9 #7A48D9 #C348D9
triadic
#7A48D9 #D97A48 #48D97A
tetradic
#7A48D9 #D9485F #A7D948 #48D9C3
square
#7A48D9 #D9485F #A7D948 #48D9C3
split-complementary
#7A48D9 #D9C348 #5FD948
monochromatic
#421D8A #5B27BD #7A48D9 #9F7BE4 #C4ADEE

Accessibility & contrast

On white

5.59
#7A48D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#7A48D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A48D9
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A48D9#FFFFFF#000000##FFFFFF
##7A48D91.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DD
Deuteranopia (green-blind)
#0065D6
Tritanopia (blue-blind)
#5F6B8B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7a48d9;
/* rgb */ color: rgb(122, 72, 217);
/* oklch */ color: oklch(54.0% 0.209 294.1);
Tailwind
colors: {
  custom: {
    50: '#a87ee6',
    500: '#7a48d9',
    950: '#000000',
  },
}
SCSS
$custom: #7a48d9;
$custom-light: #a87ee6;
$custom-dark: #000000;
JSON
{
  "hex": "#7a48d9",
  "rgb": {
    "r": 122,
    "g": 72,
    "b": 217
  },
  "hsl": {
    "h": 260.69,
    "s": 65.611,
    "l": 56.667
  },
  "oklch": {
    "l": 0.53954,
    "c": 0.20947,
    "h": 294.1
  },
  "luminance": 0.13782
}

Semantic roles & 50–950 ramp

primary
#7A48D9
secondary
#C8DCA1
accent
#E93FAE
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7A48D9

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

Preview Lab → · Contrast checker → · Palette generator →

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