#7A48D5#7A48D5

#7A48D5 is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 53.6% C 0.205 H 294.8°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#7A48D5
RGBrgb(122, 72, 213)
HSLhsl(261, 63%, 56%)
HSVhsv(261, 66%, 84%)
CMYKcmyk(42.7%, 66.2%, 0%, 16.5%)
CIE-LABlab(43.62, 51.64, -65.08)
CIE-LCHlch(43.62, 83.08, 308.43°)
OKLaboklab(53.65% 0.086 -0.186)
OKLCHoklch(53.65% 0.205 294.8)
XYZxyz(22.3504, 13.5758, 64.3807)
Luminance0.1358 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A48D5 #A3D548
analogous
#485CD5 #7A48D5 #C148D5
triadic
#7A48D5 #D57A48 #48D57A
tetradic
#7A48D5 #D5485C #A3D548 #48D5C1
square
#7A48D5 #D5485C #A3D548 #48D5C1
split-complementary
#7A48D5 #D5C148 #5CD548
monochromatic
#421E84 #5C2AB6 #7A48D5 #9E7AE0 #C2ACEC

Accessibility & contrast

On white

5.65
#7A48D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#7A48D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A48D5
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A48D5#FFFFFF#000000##FFFFFF
##7A48D51.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D9
Deuteranopia (green-blind)
#0065D2
Tritanopia (blue-blind)
#616A88
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7a48d5;
/* rgb */ color: rgb(122, 72, 213);
/* oklch */ color: oklch(53.6% 0.205 294.8);
Tailwind
colors: {
  custom: {
    50: '#a77ee3',
    500: '#7a48d5',
    950: '#000000',
  },
}
SCSS
$custom: #7a48d5;
$custom-light: #a77ee3;
$custom-dark: #000000;
JSON
{
  "hex": "#7a48d5",
  "rgb": {
    "r": 122,
    "g": 72,
    "b": 213
  },
  "hsl": {
    "h": 261.277,
    "s": 62.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.53646,
    "c": 0.20487,
    "h": 294.8
  },
  "luminance": 0.13576
}

Semantic roles & 50–950 ramp

primary
#7A48D5
secondary
#C5DA9F
accent
#E642AC
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7A48D5

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

Preview Lab → · Contrast checker → · Palette generator →

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