#7A48D7#7A48D7

#7A48D7 is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 53.8% C 0.207 H 294.4°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#7A48D7
RGBrgb(122, 72, 215)
HSLhsl(261, 64%, 56%)
HSVhsv(261, 67%, 84%)
CMYKcmyk(43.3%, 66.5%, 0%, 15.7%)
CIE-LABlab(43.77, 52.17, -65.98)
CIE-LCHlch(43.77, 84.11, 308.33°)
OKLaboklab(53.8% 0.0857 -0.1886)
OKLCHoklch(53.8% 0.207 294.4)
XYZxyz(22.6058, 13.6780, 65.7259)
Luminance0.1368 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A48D7 #A5D748
analogous
#485ED7 #7A48D7 #C248D7
triadic
#7A48D7 #D77A48 #48D77A
tetradic
#7A48D7 #D7485E #A5D748 #48D7C2
square
#7A48D7 #D7485E #A5D748 #48D7C2
split-complementary
#7A48D7 #D7C248 #5ED748
monochromatic
#421E87 #5B29B9 #7A48D7 #9F7AE2 #C3ACED

Accessibility & contrast

On white

5.62
#7A48D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#7A48D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A48D7
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A48D7#FFFFFF#000000##FFFFFF
##7A48D71.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DB
Deuteranopia (green-blind)
#0065D4
Tritanopia (blue-blind)
#606A8A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7a48d7;
/* rgb */ color: rgb(122, 72, 215);
/* oklch */ color: oklch(53.8% 0.207 294.4);
Tailwind
colors: {
  custom: {
    50: '#a77ee4',
    500: '#7a48d7',
    950: '#000000',
  },
}
SCSS
$custom: #7a48d7;
$custom-light: #a77ee4;
$custom-dark: #000000;
JSON
{
  "hex": "#7a48d7",
  "rgb": {
    "r": 122,
    "g": 72,
    "b": 215
  },
  "hsl": {
    "h": 260.979,
    "s": 64.126,
    "l": 56.275
  },
  "oklch": {
    "l": 0.53799,
    "c": 0.20718,
    "h": 294.4
  },
  "luminance": 0.13679
}

Semantic roles & 50–950 ramp

primary
#7A48D7
secondary
#C6DBA0
accent
#E741AD
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7A48D7

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

Preview Lab → · Contrast checker → · Palette generator →

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