#7E48D2#7E48D2

#7E48D2 is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 53.8% C 0.202 H 297.1°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#7E48D2
RGBrgb(126, 72, 210)
HSLhsl(263, 61%, 55%)
HSVhsv(263, 66%, 82%)
CMYKcmyk(40%, 65.7%, 0%, 17.6%)
CIE-LABlab(43.83, 51.64, -62.98)
CIE-LCHlch(43.83, 81.45, 309.35°)
OKLaboklab(53.83% 0.0918 -0.1797)
OKLCHoklch(53.83% 0.202 297.1)
XYZxyz(22.5514, 13.7231, 62.4209)
Luminance0.1372 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E48D2 #9CD248
analogous
#4857D2 #7E48D2 #C348D2
triadic
#7E48D2 #D27E48 #48D27E
tetradic
#7E48D2 #D24857 #9CD248 #48D2C3
square
#7E48D2 #D24857 #9CD248 #48D2C3
split-complementary
#7E48D2 #D2C348 #57D248
monochromatic
#452080 #602CB1 #7E48D2 #A179DE #C3AAEA

Accessibility & contrast

On white

5.61
#7E48D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#7E48D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E48D2
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E48D2#FFFFFF#000000##FFFFFF
##7E48D21.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D6
Deuteranopia (green-blind)
#0066CF
Tritanopia (blue-blind)
#696887
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7e48d2;
/* rgb */ color: rgb(126, 72, 210);
/* oklch */ color: oklch(53.8% 0.202 297.1);
Tailwind
colors: {
  custom: {
    50: '#a97ee1',
    500: '#7e48d2',
    950: '#000000',
  },
}
SCSS
$custom: #7e48d2;
$custom-light: #a97ee1;
$custom-dark: #000000;
JSON
{
  "hex": "#7e48d2",
  "rgb": {
    "r": 126,
    "g": 72,
    "b": 210
  },
  "hsl": {
    "h": 263.478,
    "s": 60.526,
    "l": 55.294
  },
  "oklch": {
    "l": 0.5383,
    "c": 0.20178,
    "h": 297.1
  },
  "luminance": 0.13723
}

Semantic roles & 50–950 ramp

primary
#7E48D2
secondary
#C1D89E
accent
#E444A5
background
#FAF7FD
surface
#F5EEFB
border
#CFC9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #7E48D2

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

Preview Lab → · Contrast checker → · Palette generator →

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