#7E4FD9#7E4FD9

#7E4FD9 is a mid, highly saturated violet. Relative luminance 0.150; OKLCH L 55.3% C 0.201 H 294.6°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#7E4FD9
RGBrgb(126, 79, 217)
HSLhsl(260, 64%, 58%)
HSVhsv(260, 64%, 85%)
CMYKcmyk(41.9%, 63.6%, 0%, 14.9%)
CIE-LABlab(45.68, 49.80, -63.99)
CIE-LCHlch(45.68, 81.09, 307.89°)
OKLaboklab(55.32% 0.0836 -0.1826)
OKLCHoklch(55.32% 0.201 294.6)
XYZxyz(23.9212, 15.0368, 67.2742)
Luminance0.1504 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E4FD9 #AAD94F
analogous
#4F65D9 #7E4FD9 #C34FD9
triadic
#7E4FD9 #D97E4F #4FD97E
tetradic
#7E4FD9 #D94F65 #AAD94F #4FD9C3
square
#7E4FD9 #D94F65 #AAD94F #4FD9C3
split-complementary
#7E4FD9 #D9C34F #65D94F
monochromatic
#451F8F #5D2AC1 #7E4FD9 #A381E4 #C8B4EF

Accessibility & contrast

On white

5.24
#7E4FD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#7E4FD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E4FD9
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E4FD9#FFFFFF#000000##FFFFFF
##7E4FD91.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDD
Deuteranopia (green-blind)
#006AD6
Tritanopia (blue-blind)
#666F8D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7e4fd9;
/* rgb */ color: rgb(126, 79, 217);
/* oklch */ color: oklch(55.3% 0.201 294.6);
Tailwind
colors: {
  custom: {
    50: '#aa83e6',
    500: '#7e4fd9',
    950: '#000000',
  },
}
SCSS
$custom: #7e4fd9;
$custom-light: #aa83e6;
$custom-dark: #000000;
JSON
{
  "hex": "#7e4fd9",
  "rgb": {
    "r": 126,
    "g": 79,
    "b": 217
  },
  "hsl": {
    "h": 260.435,
    "s": 64.486,
    "l": 58.039
  },
  "oklch": {
    "l": 0.55324,
    "c": 0.20088,
    "h": 294.6
  },
  "luminance": 0.15037
}

Semantic roles & 50–950 ramp

primary
#7E4FD9
secondary
#CBDDA6
accent
#E740AF
background
#FAF8FE
surface
#F5EFFC
border
#CFCAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7E4FD9

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

Preview Lab → · Contrast checker → · Palette generator →

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