#7E4FE5#7E4FE5

#7E4FE5 is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.2% C 0.215 H 292.5°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#7E4FE5
RGBrgb(126, 79, 229)
HSLhsl(259, 74%, 60%)
HSVhsv(259, 66%, 90%)
CMYKcmyk(45%, 65.5%, 0%, 10.2%)
CIE-LABlab(46.56, 53.00, -69.39)
CIE-LCHlch(46.56, 87.32, 307.37°)
OKLaboklab(56.23% 0.0823 -0.1985)
OKLCHoklch(56.23% 0.215 292.5)
XYZxyz(25.5391, 15.6839, 75.7952)
Luminance0.1568 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E4FE5 #B6E54F
analogous
#4F6BE5 #7E4FE5 #C94FE5
triadic
#7E4FE5 #E57E4F #4FE57E
tetradic
#7E4FE5 #E54F6B #B6E54F #4FE5C9
square
#7E4FE5 #E54F6B #B6E54F #4FE5C9
split-complementary
#7E4FE5 #E5C94F #6BE54F
monochromatic
#4318A2 #5920D7 #7E4FE5 #A584ED #CCBAF5

Accessibility & contrast

On white

5.08
#7E4FE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#7E4FE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E4FE5
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E4FE5#FFFFFF#000000##FFFFFF
##7E4FE51.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e4fe5;
/* rgb */ color: rgb(126, 79, 229);
/* oklch */ color: oklch(56.2% 0.215 292.5);
Tailwind
colors: {
  custom: {
    50: '#ab83ee',
    500: '#7e4fe5',
    950: '#000000',
  },
}
SCSS
$custom: #7e4fe5;
$custom-light: #ab83ee;
$custom-dark: #000000;
JSON
{
  "hex": "#7e4fe5",
  "rgb": {
    "r": 126,
    "g": 79,
    "b": 229
  },
  "hsl": {
    "h": 258.8,
    "s": 74.257,
    "l": 60.392
  },
  "oklch": {
    "l": 0.56228,
    "c": 0.21493,
    "h": 292.5
  },
  "luminance": 0.15685
}

Semantic roles & 50–950 ramp

primary
#7E4FE5
secondary
#D3E5AB
accent
#D60F98
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7E4FE5

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

Preview Lab → · Contrast checker → · Palette generator →

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