#7E48D7#7E48D7

#7E48D7 is a mid, highly saturated violet. Relative luminance 0.140; OKLCH L 54.2% C 0.207 H 296.1°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#7E48D7
RGBrgb(126, 72, 215)
HSLhsl(263, 64%, 56%)
HSVhsv(263, 67%, 84%)
CMYKcmyk(41.4%, 66.5%, 0%, 15.7%)
CIE-LABlab(44.20, 52.93, -65.26)
CIE-LCHlch(44.20, 84.03, 309.04°)
OKLaboklab(54.21% 0.0912 -0.1864)
OKLCHoklch(54.21% 0.207 296.1)
XYZxyz(23.1841, 13.9762, 65.7530)
Luminance0.1398 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E48D7 #A1D748
analogous
#485AD7 #7E48D7 #C648D7
triadic
#7E48D7 #D77E48 #48D77E
tetradic
#7E48D7 #D7485A #A1D748 #48D7C6
square
#7E48D7 #D7485A #A1D748 #48D7C6
split-complementary
#7E48D7 #D7C648 #5AD748
monochromatic
#451E87 #5F29B9 #7E48D7 #A17AE2 #C5ACED

Accessibility & contrast

On white

5.53
#7E48D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#7E48D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E48D7
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E48D7#FFFFFF#000000##FFFFFF
##7E48D71.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DB
Deuteranopia (green-blind)
#0066D4
Tritanopia (blue-blind)
#676A8A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7e48d7;
/* rgb */ color: rgb(126, 72, 215);
/* oklch */ color: oklch(54.2% 0.207 296.1);
Tailwind
colors: {
  custom: {
    50: '#aa7ee4',
    500: '#7e48d7',
    950: '#000000',
  },
}
SCSS
$custom: #7e48d7;
$custom-light: #aa7ee4;
$custom-dark: #000000;
JSON
{
  "hex": "#7e48d7",
  "rgb": {
    "r": 126,
    "g": 72,
    "b": 215
  },
  "hsl": {
    "h": 262.657,
    "s": 64.126,
    "l": 56.275
  },
  "oklch": {
    "l": 0.54208,
    "c": 0.20748,
    "h": 296.1
  },
  "luminance": 0.13977
}

Semantic roles & 50–950 ramp

primary
#7E48D7
secondary
#C5DBA0
accent
#E741A8
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7E48D7

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

Preview Lab → · Contrast checker → · Palette generator →

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