#7E4FDE#7E4FDE

#7E4FDE is a mid, highly saturated violet. Relative luminance 0.153; OKLCH L 55.7% C 0.207 H 293.7°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#7E4FDE
RGBrgb(126, 79, 222)
HSLhsl(260, 68%, 59%)
HSVhsv(260, 64%, 87%)
CMYKcmyk(43.2%, 64.4%, 0%, 12.9%)
CIE-LABlab(46.04, 51.13, -66.26)
CIE-LCHlch(46.04, 83.69, 307.66°)
OKLaboklab(55.7% 0.0831 -0.1893)
OKLCHoklch(55.7% 0.207 293.7)
XYZxyz(24.5814, 15.3008, 70.7513)
Luminance0.1530 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E4FDE #AFDE4F
analogous
#4F68DE #7E4FDE #C54FDE
triadic
#7E4FDE #DE7E4F #4FDE7E
tetradic
#7E4FDE #DE4F68 #AFDE4F #4FDEC5
square
#7E4FDE #DE4F68 #AFDE4F #4FDEC5
split-complementary
#7E4FDE #DEC54F #68DE4F
monochromatic
#441C96 #5C26CA #7E4FDE #A483E8 #CAB6F1

Accessibility & contrast

On white

5.17
#7E4FDE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#7E4FDE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E4FDE
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E4FDE#FFFFFF#000000##FFFFFF
##7E4FDE1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE2
Deuteranopia (green-blind)
#006BDB
Tritanopia (blue-blind)
#637190
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7e4fde;
/* rgb */ color: rgb(126, 79, 222);
/* oklch */ color: oklch(55.7% 0.207 293.7);
Tailwind
colors: {
  custom: {
    50: '#aa83e9',
    500: '#7e4fde',
    950: '#000000',
  },
}
SCSS
$custom: #7e4fde;
$custom-light: #aa83e9;
$custom-dark: #000000;
JSON
{
  "hex": "#7e4fde",
  "rgb": {
    "r": 126,
    "g": 79,
    "b": 222
  },
  "hsl": {
    "h": 259.72,
    "s": 68.421,
    "l": 59.02
  },
  "oklch": {
    "l": 0.55697,
    "c": 0.20676,
    "h": 293.7
  },
  "luminance": 0.15302
}

Semantic roles & 50–950 ramp

primary
#7E4FDE
secondary
#CEE0A8
accent
#EB3DB2
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7E4FDE

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

Preview Lab → · Contrast checker → · Palette generator →

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