#7E48D6#7E48D6

#7E48D6 is a mid, highly saturated violet. Relative luminance 0.139; OKLCH L 54.1% C 0.206 H 296.3°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#7E48D6
RGBrgb(126, 72, 214)
HSLhsl(263, 63%, 56%)
HSVhsv(263, 66%, 84%)
CMYKcmyk(41.1%, 66.4%, 0%, 16.1%)
CIE-LABlab(44.13, 52.67, -64.81)
CIE-LCHlch(44.13, 83.51, 309.10°)
OKLaboklab(54.13% 0.0913 -0.185)
OKLCHoklch(54.13% 0.206 296.3)
XYZxyz(23.0560, 13.9249, 65.0783)
Luminance0.1393 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E48D6 #A0D648
analogous
#4859D6 #7E48D6 #C548D6
triadic
#7E48D6 #D67E48 #48D67E
tetradic
#7E48D6 #D64859 #A0D648 #48D6C5
square
#7E48D6 #D64859 #A0D648 #48D6C5
split-complementary
#7E48D6 #D6C548 #59D648
monochromatic
#451E86 #5F29B8 #7E48D6 #A17AE1 #C4ACEC

Accessibility & contrast

On white

5.55
#7E48D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#7E48D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E48D6
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E48D6#FFFFFF#000000##FFFFFF
##7E48D61.005.553.795.55
#FFFFFF5.551.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DA
Deuteranopia (green-blind)
#0066D3
Tritanopia (blue-blind)
#676A89
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7e48d6;
/* rgb */ color: rgb(126, 72, 214);
/* oklch */ color: oklch(54.1% 0.206 296.3);
Tailwind
colors: {
  custom: {
    50: '#aa7ee4',
    500: '#7e48d6',
    950: '#000000',
  },
}
SCSS
$custom: #7e48d6;
$custom-light: #aa7ee4;
$custom-dark: #000000;
JSON
{
  "hex": "#7e48d6",
  "rgb": {
    "r": 126,
    "g": 72,
    "b": 214
  },
  "hsl": {
    "h": 262.817,
    "s": 63.393,
    "l": 56.078
  },
  "oklch": {
    "l": 0.54132,
    "c": 0.20633,
    "h": 296.3
  },
  "luminance": 0.13925
}

Semantic roles & 50–950 ramp

primary
#7E48D6
secondary
#C4DAA0
accent
#E641A8
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7E48D6

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

Preview Lab → · Contrast checker → · Palette generator →

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