#7E4FB0#7E4FB0

#7E4FB0 is a mid, vivid violet. Relative luminance 0.132; OKLCH L 52.5% C 0.151 H 304.0°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#7E4FB0
RGBrgb(126, 79, 176)
HSLhsl(269, 38%, 50%)
HSVhsv(269, 55%, 69%)
CMYKcmyk(28.4%, 55.1%, 0%, 31%)
CIE-LABlab(43.01, 39.21, -44.53)
CIE-LCHlch(43.01, 59.34, 311.37°)
OKLaboklab(52.52% 0.0847 -0.1255)
OKLCHoklch(52.52% 0.151 304)
XYZxyz(19.2349, 13.1622, 42.5931)
Luminance0.1316 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E4FB0 #81B04F
analogous
#4F51B0 #7E4FB0 #AE4FB0
triadic
#7E4FB0 #B07E4F #4FB07E
tetradic
#7E4FB0 #B04F51 #81B04F #4FB0AE
square
#7E4FB0 #B04F51 #81B04F #4FB0AE
split-complementary
#7E4FB0 #B0AE4F #51B04F
monochromatic
#42295C #603C86 #7E4FB0 #9D79C3 #BCA3D6

Accessibility & contrast

On white

5.78
#7E4FB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#7E4FB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E4FB0
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E4FB0#FFFFFF#000000##FFFFFF
##7E4FB01.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C64B3
Deuteranopia (green-blind)
#3C66AE
Tritanopia (blue-blind)
#756178
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7e4fb0;
/* rgb */ color: rgb(126, 79, 176);
/* oklch */ color: oklch(52.5% 0.151 304.0);
Tailwind
colors: {
  custom: {
    50: '#a682c8',
    500: '#7e4fb0',
    950: '#000000',
  },
}
SCSS
$custom: #7e4fb0;
$custom-light: #a682c8;
$custom-dark: #000000;
JSON
{
  "hex": "#7e4fb0",
  "rgb": {
    "r": 126,
    "g": 79,
    "b": 176
  },
  "hsl": {
    "h": 269.072,
    "s": 38.039,
    "l": 50
  },
  "oklch": {
    "l": 0.52515,
    "c": 0.15144,
    "h": 304
  },
  "luminance": 0.13162
}

Semantic roles & 50–950 ramp

primary
#7E4FB0
secondary
#AEC398
accent
#CE5A96
background
#FAF8FC
surface
#F4EFF8
border
#CECAD1
text
#100A13
muted
#7F7C82

Preview Lab

Preview with #7E4FB0

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

Preview Lab → · Contrast checker → · Palette generator →

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