#7E4FBE#7E4FBE

#7E4FBE is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.4% C 0.169 H 300.3°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#7E4FBE
RGBrgb(126, 79, 190)
HSLhsl(265, 46%, 53%)
HSVhsv(265, 58%, 75%)
CMYKcmyk(33.7%, 58.4%, 0%, 25.5%)
CIE-LABlab(43.87, 42.75, -51.36)
CIE-LCHlch(43.87, 66.82, 309.77°)
OKLaboklab(53.42% 0.085 -0.1455)
OKLCHoklch(53.42% 0.169 300.3)
XYZxyz(20.6922, 13.7451, 50.2681)
Luminance0.1374 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E4FBE #8FBE4F
analogous
#4F58BE #7E4FBE #B54FBE
triadic
#7E4FBE #BE7E4F #4FBE7E
tetradic
#7E4FBE #BE4F58 #8FBE4F #4FBEB5
square
#7E4FBE #BE4F58 #8FBE4F #4FBEB5
split-complementary
#7E4FBE #BEB54F #58BE4F
monochromatic
#44286B #613898 #7E4FBE #9F7CCF #C0A8DF

Accessibility & contrast

On white

5.60
#7E4FBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7E4FBE
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E4FBE#FFFFFF#000000##FFFFFF
##7E4FBE1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1767C2
Deuteranopia (green-blind)
#2D67BB
Tritanopia (blue-blind)
#71667F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7e4fbe;
/* rgb */ color: rgb(126, 79, 190);
/* oklch */ color: oklch(53.4% 0.169 300.3);
Tailwind
colors: {
  custom: {
    50: '#a782d2',
    500: '#7e4fbe',
    950: '#000000',
  },
}
SCSS
$custom: #7e4fbe;
$custom-light: #a782d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7e4fbe",
  "rgb": {
    "r": 126,
    "g": 79,
    "b": 190
  },
  "hsl": {
    "h": 265.405,
    "s": 46.058,
    "l": 52.745
  },
  "oklch": {
    "l": 0.53422,
    "c": 0.16853,
    "h": 300.3
  },
  "luminance": 0.13745
}

Semantic roles & 50–950 ramp

primary
#7E4FBE
secondary
#B8CC9C
accent
#D6529E
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100B14
muted
#7F7C83

Preview Lab

Preview with #7E4FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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