#7E48D3#7E48D3

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

Color values

HEX#7E48D3
RGBrgb(126, 72, 211)
HSLhsl(263, 61%, 55%)
HSVhsv(263, 66%, 83%)
CMYKcmyk(40.3%, 65.9%, 0%, 17.3%)
CIE-LABlab(43.91, 51.90, -63.44)
CIE-LCHlch(43.91, 81.96, 309.28°)
OKLaboklab(53.91% 0.0917 -0.181)
OKLCHoklch(53.91% 0.203 296.9)
XYZxyz(22.6764, 13.7731, 63.0791)
Luminance0.1377 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E48D3 #9DD348
analogous
#4858D3 #7E48D3 #C348D3
triadic
#7E48D3 #D37E48 #48D37E
tetradic
#7E48D3 #D34858 #9DD348 #48D3C3
square
#7E48D3 #D34858 #9DD348 #48D3C3
split-complementary
#7E48D3 #D3C348 #58D348
monochromatic
#451F81 #602BB3 #7E48D3 #A179DF #C4ABEB

Accessibility & contrast

On white

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

On black

3.75
#7E48D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7E48D3#FFFFFF#000000##FFFFFF
##7E48D31.005.593.755.59
#FFFFFF5.591.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D7
Deuteranopia (green-blind)
#0066D0
Tritanopia (blue-blind)
#696987
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7e48d3;
/* rgb */ color: rgb(126, 72, 211);
/* oklch */ color: oklch(53.9% 0.203 296.9);
Tailwind
colors: {
  custom: {
    50: '#aa7ee1',
    500: '#7e48d3',
    950: '#000000',
  },
}
SCSS
$custom: #7e48d3;
$custom-light: #aa7ee1;
$custom-dark: #000000;
JSON
{
  "hex": "#7e48d3",
  "rgb": {
    "r": 126,
    "g": 72,
    "b": 211
  },
  "hsl": {
    "h": 263.309,
    "s": 61.233,
    "l": 55.49
  },
  "oklch": {
    "l": 0.53905,
    "c": 0.20292,
    "h": 296.9
  },
  "luminance": 0.13773
}

Semantic roles & 50–950 ramp

primary
#7E48D3
secondary
#C2D89E
accent
#E443A6
background
#FAF7FD
surface
#F5EEFB
border
#CFC9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #7E48D3

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

Preview Lab → · Contrast checker → · Palette generator →

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