#7E4FDC#7E4FDC

#7E4FDC is a mid, highly saturated violet. Relative luminance 0.152; OKLCH L 55.5% C 0.204 H 294.1°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#7E4FDC
RGBrgb(126, 79, 220)
HSLhsl(260, 67%, 59%)
HSVhsv(260, 64%, 86%)
CMYKcmyk(42.7%, 64.1%, 0%, 13.7%)
CIE-LABlab(45.90, 50.60, -65.35)
CIE-LCHlch(45.90, 82.65, 307.75°)
OKLaboklab(55.55% 0.0833 -0.1867)
OKLCHoklch(55.55% 0.204 294.1)
XYZxyz(24.3150, 15.1942, 69.3480)
Luminance0.1520 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E4FDC #ADDC4F
analogous
#4F66DC #7E4FDC #C44FDC
triadic
#7E4FDC #DC7E4F #4FDC7E
tetradic
#7E4FDC #DC4F66 #ADDC4F #4FDCC4
square
#7E4FDC #DC4F66 #ADDC4F #4FDCC4
split-complementary
#7E4FDC #DCC44F #66DC4F
monochromatic
#451D93 #5C27C6 #7E4FDC #A382E6 #C9B5F0

Accessibility & contrast

On white

5.20
#7E4FDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#7E4FDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E4FDC
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E4FDC#FFFFFF#000000##FFFFFF
##7E4FDC1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE0
Deuteranopia (green-blind)
#006AD9
Tritanopia (blue-blind)
#64708E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7e4fdc;
/* rgb */ color: rgb(126, 79, 220);
/* oklch */ color: oklch(55.5% 0.204 294.1);
Tailwind
colors: {
  custom: {
    50: '#aa83e8',
    500: '#7e4fdc',
    950: '#000000',
  },
}
SCSS
$custom: #7e4fdc;
$custom-light: #aa83e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7e4fdc",
  "rgb": {
    "r": 126,
    "g": 79,
    "b": 220
  },
  "hsl": {
    "h": 260,
    "s": 66.825,
    "l": 58.627
  },
  "oklch": {
    "l": 0.55547,
    "c": 0.20441,
    "h": 294.1
  },
  "luminance": 0.15195
}

Semantic roles & 50–950 ramp

primary
#7E4FDC
secondary
#CDDFA8
accent
#EA3EB1
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7E4FDC

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

Preview Lab → · Contrast checker → · Palette generator →

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