#7E4FC0#7E4FC0

#7E4FC0 is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.6% C 0.171 H 299.8°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#7E4FC0
RGBrgb(126, 79, 192)
HSLhsl(265, 47%, 53%)
HSVhsv(265, 59%, 75%)
CMYKcmyk(34.4%, 58.9%, 0%, 24.7%)
CIE-LABlab(43.99, 43.26, -52.32)
CIE-LCHlch(43.99, 67.89, 309.59°)
OKLaboklab(53.56% 0.085 -0.1483)
OKLCHoklch(53.56% 0.171 299.8)
XYZxyz(20.9123, 13.8332, 51.4273)
Luminance0.1383 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E4FC0 #91C04F
analogous
#4F58C0 #7E4FC0 #B64FC0
triadic
#7E4FC0 #C07E4F #4FC07E
tetradic
#7E4FC0 #C04F58 #91C04F #4FC0B6
square
#7E4FC0 #C04F58 #91C04F #4FC0B6
split-complementary
#7E4FC0 #C0B64F #58C04F
monochromatic
#44276D #61379A #7E4FC0 #9F7CD0 #C0A9E0

Accessibility & contrast

On white

5.58
#7E4FC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#7E4FC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E4FC0
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E4FC0#FFFFFF#000000##FFFFFF
##7E4FC01.005.583.775.58
#FFFFFF5.581.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1268C4
Deuteranopia (green-blind)
#2B67BD
Tritanopia (blue-blind)
#706680
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7e4fc0;
/* rgb */ color: rgb(126, 79, 192);
/* oklch */ color: oklch(53.6% 0.171 299.8);
Tailwind
colors: {
  custom: {
    50: '#a782d4',
    500: '#7e4fc0',
    950: '#000000',
  },
}
SCSS
$custom: #7e4fc0;
$custom-light: #a782d4;
$custom-dark: #000000;
JSON
{
  "hex": "#7e4fc0",
  "rgb": {
    "r": 126,
    "g": 79,
    "b": 192
  },
  "hsl": {
    "h": 264.956,
    "s": 47.28,
    "l": 53.137
  },
  "oklch": {
    "l": 0.53556,
    "c": 0.17096,
    "h": 299.8
  },
  "luminance": 0.13833
}

Semantic roles & 50–950 ramp

primary
#7E4FC0
secondary
#B9CE9D
accent
#D7519F
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100B14
muted
#7F7C83

Preview Lab

Preview with #7E4FC0

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

Preview Lab → · Contrast checker → · Palette generator →

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