#7E48CD#7E48CD

#7E48CD is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.5% C 0.196 H 298.1°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#7E48CD
RGBrgb(126, 72, 205)
HSLhsl(264, 57%, 54%)
HSVhsv(264, 65%, 80%)
CMYKcmyk(38.5%, 64.9%, 0%, 19.6%)
CIE-LABlab(43.47, 50.35, -60.69)
CIE-LCHlch(43.47, 78.86, 309.68°)
OKLaboklab(53.46% 0.0924 -0.1729)
OKLCHoklch(53.46% 0.196 298.1)
XYZxyz(21.9382, 13.4778, 59.1914)
Luminance0.1348 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E48CD #97CD48
analogous
#4855CD #7E48CD #C148CD
triadic
#7E48CD #CD7E48 #48CD7E
tetradic
#7E48CD #CD4855 #97CD48 #48CDC1
square
#7E48CD #CD4855 #97CD48 #48CDC1
split-complementary
#7E48CD #CDC148 #55CD48
monochromatic
#452179 #602EA9 #7E48CD #A078DA #C2A8E7

Accessibility & contrast

On white

5.68
#7E48CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#7E48CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E48CD
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E48CD#FFFFFF#000000##FFFFFF
##7E48CD1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D1
Deuteranopia (green-blind)
#0065CA
Tritanopia (blue-blind)
#6B6684
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7e48cd;
/* rgb */ color: rgb(126, 72, 205);
/* oklch */ color: oklch(53.5% 0.196 298.1);
Tailwind
colors: {
  custom: {
    50: '#a97edd',
    500: '#7e48cd',
    950: '#000000',
  },
}
SCSS
$custom: #7e48cd;
$custom-light: #a97edd;
$custom-dark: #000000;
JSON
{
  "hex": "#7e48cd",
  "rgb": {
    "r": 126,
    "g": 72,
    "b": 205
  },
  "hsl": {
    "h": 264.361,
    "s": 57.082,
    "l": 54.314
  },
  "oklch": {
    "l": 0.53459,
    "c": 0.19604,
    "h": 298.1
  },
  "luminance": 0.13478
}

Semantic roles & 50–950 ramp

primary
#7E48CD
secondary
#BED59C
accent
#E047A2
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7E48CD

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

Preview Lab → · Contrast checker → · Palette generator →

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