#7E4FDA#7E4FDA

#7E4FDA is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 55.4% C 0.202 H 294.4°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#7E4FDA
RGBrgb(126, 79, 218)
HSLhsl(260, 65%, 58%)
HSVhsv(260, 64%, 85%)
CMYKcmyk(42.2%, 63.8%, 0%, 14.5%)
CIE-LABlab(45.76, 50.07, -64.45)
CIE-LCHlch(45.76, 81.61, 307.84°)
OKLaboklab(55.4% 0.0835 -0.184)
OKLCHoklch(55.4% 0.202 294.4)
XYZxyz(24.0517, 15.0889, 67.9613)
Luminance0.1509 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E4FDA #ABDA4F
analogous
#4F65DA #7E4FDA #C34FDA
triadic
#7E4FDA #DA7E4F #4FDA7E
tetradic
#7E4FDA #DA4F65 #ABDA4F #4FDAC3
square
#7E4FDA #DA4F65 #ABDA4F #4FDAC3
split-complementary
#7E4FDA #DAC34F #65DA4F
monochromatic
#451E90 #5D29C3 #7E4FDA #A382E5 #C8B4EF

Accessibility & contrast

On white

5.23
#7E4FDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#7E4FDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E4FDA
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E4FDA#FFFFFF#000000##FFFFFF
##7E4FDA1.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDE
Deuteranopia (green-blind)
#006AD7
Tritanopia (blue-blind)
#656F8D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7e4fda;
/* rgb */ color: rgb(126, 79, 218);
/* oklch */ color: oklch(55.4% 0.202 294.4);
Tailwind
colors: {
  custom: {
    50: '#aa83e6',
    500: '#7e4fda',
    950: '#000000',
  },
}
SCSS
$custom: #7e4fda;
$custom-light: #aa83e6;
$custom-dark: #000000;
JSON
{
  "hex": "#7e4fda",
  "rgb": {
    "r": 126,
    "g": 79,
    "b": 218
  },
  "hsl": {
    "h": 260.288,
    "s": 65.258,
    "l": 58.235
  },
  "oklch": {
    "l": 0.55398,
    "c": 0.20206,
    "h": 294.4
  },
  "luminance": 0.1509
}

Semantic roles & 50–950 ramp

primary
#7E4FDA
secondary
#CBDEA7
accent
#E840AF
background
#FAF8FE
surface
#F5EFFC
border
#CFCAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7E4FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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