#7E4FE4#7E4FE4

#7E4FE4 is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 56.2% C 0.214 H 292.7°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#7E4FE4
RGBrgb(126, 79, 228)
HSLhsl(259, 73%, 60%)
HSVhsv(259, 65%, 89%)
CMYKcmyk(44.7%, 65.4%, 0%, 10.6%)
CIE-LABlab(46.48, 52.74, -68.95)
CIE-LCHlch(46.48, 86.80, 307.41°)
OKLaboklab(56.15% 0.0824 -0.1972)
OKLCHoklch(56.15% 0.214 292.7)
XYZxyz(25.3999, 15.6282, 75.0620)
Luminance0.1563 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E4FE4 #B5E44F
analogous
#4F6BE4 #7E4FE4 #C84FE4
triadic
#7E4FE4 #E47E4F #4FE47E
tetradic
#7E4FE4 #E44F6B #B5E44F #4FE4C8
square
#7E4FE4 #E44F6B #B5E44F #4FE4C8
split-complementary
#7E4FE4 #E4C84F #6BE44F
monochromatic
#4319A0 #5A21D5 #7E4FE4 #A584EC #CCB9F4

Accessibility & contrast

On white

5.09
#7E4FE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#7E4FE4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E4FE4
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E4FE4#FFFFFF#000000##FFFFFF
##7E4FE41.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E9
Deuteranopia (green-blind)
#006BE1
Tritanopia (blue-blind)
#607393
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7e4fe4;
/* rgb */ color: rgb(126, 79, 228);
/* oklch */ color: oklch(56.2% 0.214 292.7);
Tailwind
colors: {
  custom: {
    50: '#ab83ed',
    500: '#7e4fe4',
    950: '#000000',
  },
}
SCSS
$custom: #7e4fe4;
$custom-light: #ab83ed;
$custom-dark: #000000;
JSON
{
  "hex": "#7e4fe4",
  "rgb": {
    "r": 126,
    "g": 79,
    "b": 228
  },
  "hsl": {
    "h": 258.926,
    "s": 73.399,
    "l": 60.196
  },
  "oklch": {
    "l": 0.56152,
    "c": 0.21376,
    "h": 292.7
  },
  "luminance": 0.15629
}

Semantic roles & 50–950 ramp

primary
#7E4FE4
secondary
#D2E4AB
accent
#D61097
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7E4FE4

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

Preview Lab → · Contrast checker → · Palette generator →

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