#7E4AE3#7E4AE3

#7E4AE3 is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 55.4% C 0.219 H 293.6°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#7E4AE3
RGBrgb(126, 74, 227)
HSLhsl(260, 73%, 59%)
HSVhsv(260, 67%, 89%)
CMYKcmyk(44.5%, 67.4%, 0%, 11%)
CIE-LABlab(45.47, 55.05, -70.03)
CIE-LCHlch(45.47, 89.08, 308.17°)
OKLaboklab(55.4% 0.0875 -0.2004)
OKLCHoklch(55.4% 0.219 293.6)
XYZxyz(24.9143, 14.8785, 74.2173)
Luminance0.1488 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E4AE3 #AFE34A
analogous
#4A63E3 #7E4AE3 #CB4AE3
triadic
#7E4AE3 #E37E4A #4AE37E
tetradic
#7E4AE3 #E34A63 #AFE34A #4AE3CB
square
#7E4AE3 #E34A63 #AFE34A #4AE3CB
split-complementary
#7E4AE3 #E3CB4A #63E34A
monochromatic
#44189B #5C20D0 #7E4AE3 #A47FEB #CAB4F3

Accessibility & contrast

On white

5.28
#7E4AE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#7E4AE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E4AE3
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E4AE3#FFFFFF#000000##FFFFFF
##7E4AE31.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE8
Deuteranopia (green-blind)
#0069E0
Tritanopia (blue-blind)
#617091
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7e4ae3;
/* rgb */ color: rgb(126, 74, 227);
/* oklch */ color: oklch(55.4% 0.219 293.6);
Tailwind
colors: {
  custom: {
    50: '#ab80ed',
    500: '#7e4ae3',
    950: '#000000',
  },
}
SCSS
$custom: #7e4ae3;
$custom-light: #ab80ed;
$custom-dark: #000000;
JSON
{
  "hex": "#7e4ae3",
  "rgb": {
    "r": 126,
    "g": 74,
    "b": 227
  },
  "hsl": {
    "h": 260.392,
    "s": 73.206,
    "l": 59.02
  },
  "oklch": {
    "l": 0.55399,
    "c": 0.21867,
    "h": 293.6
  },
  "luminance": 0.14879
}

Semantic roles & 50–950 ramp

primary
#7E4AE3
secondary
#CEE2A6
accent
#F038B1
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7E4AE3

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

Preview Lab → · Contrast checker → · Palette generator →

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