#7E4CF5#7E4CF5

#7E4CF5 is a mid, highly saturated violet. Relative luminance 0.162; OKLCH L 57.1% C 0.237 H 290.4°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#7E4CF5
RGBrgb(126, 76, 245)
HSLhsl(258, 89%, 63%)
HSVhsv(258, 69%, 96%)
CMYKcmyk(48.6%, 69%, 0%, 3.9%)
CIE-LABlab(47.23, 58.82, -77.30)
CIE-LCHlch(47.23, 97.14, 307.27°)
OKLaboklab(57.09% 0.0827 -0.2218)
OKLCHoklch(57.09% 0.237 290.4)
XYZxyz(27.6654, 16.1960, 88.0369)
Luminance0.1620 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E4CF5 #C3F54C
analogous
#4C6FF5 #7E4CF5 #D24CF5
triadic
#7E4CF5 #F57E4C #4CF57E
tetradic
#7E4CF5 #F54C6F #C3F54C #4CF5D2
square
#7E4CF5 #F54C6F #C3F54C #4CF5D2
split-complementary
#7E4CF5 #F5D24C #6FF54C
monochromatic
#3F0BBC #5412F2 #7E4CF5 #A886F8 #D2C0FB

Accessibility & contrast

On white

4.95
#7E4CF5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#7E4CF5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E4CF5
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E4CF5#FFFFFF#000000##FFFFFF
##7E4CF51.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073FA
Deuteranopia (green-blind)
#006CF2
Tritanopia (blue-blind)
#56779B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7e4cf5;
/* rgb */ color: rgb(126, 76, 245);
/* oklch */ color: oklch(57.1% 0.237 290.4);
Tailwind
colors: {
  custom: {
    50: '#ad82fa',
    500: '#7e4cf5',
    950: '#000000',
  },
}
SCSS
$custom: #7e4cf5;
$custom-light: #ad82fa;
$custom-dark: #000000;
JSON
{
  "hex": "#7e4cf5",
  "rgb": {
    "r": 126,
    "g": 76,
    "b": 245
  },
  "hsl": {
    "h": 257.751,
    "s": 89.418,
    "l": 62.941
  },
  "oklch": {
    "l": 0.57094,
    "c": 0.23668,
    "h": 290.4
  },
  "luminance": 0.16197
}

Semantic roles & 50–950 ramp

primary
#7E4CF5
secondary
#DBEDB0
accent
#E600A2
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #7E4CF5

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

Preview Lab → · Contrast checker → · Palette generator →

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