#7E5EE3#7E5EE3

#7E5EE3 is a mid, vivid violet. Relative luminance 0.180; OKLCH L 58.3% C 0.193 H 290.2°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#7E5EE3
RGBrgb(126, 94, 227)
HSLhsl(254, 70%, 63%)
HSVhsv(254, 59%, 89%)
CMYKcmyk(44.5%, 58.6%, 0%, 11%)
CIE-LABlab(49.48, 44.27, -63.53)
CIE-LCHlch(49.48, 77.43, 304.87°)
OKLaboklab(58.31% 0.0667 -0.1813)
OKLCHoklch(58.31% 0.193 290.2)
XYZxyz(26.4681, 17.9861, 74.7352)
Luminance0.1799 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E5EE3 #C3E35E
analogous
#5E80E3 #7E5EE3 #C05EE3
triadic
#7E5EE3 #E37E5E #5EE37E
tetradic
#7E5EE3 #E35E80 #C3E35E #5EE3C0
square
#7E5EE3 #E35E80 #C3E35E #5EE3C0
split-complementary
#7E5EE3 #E3C05E #80E35E
monochromatic
#3F1DA9 #542ADA #7E5EE3 #A892EC #D2C6F5

Accessibility & contrast

On white

4.57
#7E5EE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#7E5EE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E5EE3
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E5EE3#FFFFFF#000000##000000
##7E5EE31.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078E7
Deuteranopia (green-blind)
#0073E0
Tritanopia (blue-blind)
#607C98
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7e5ee3;
/* rgb */ color: rgb(126, 94, 227);
/* oklch */ color: oklch(58.3% 0.193 290.2);
Tailwind
colors: {
  custom: {
    50: '#aa8ded',
    500: '#7e5ee3',
    950: '#000000',
  },
}
SCSS
$custom: #7e5ee3;
$custom-light: #aa8ded;
$custom-dark: #000000;
JSON
{
  "hex": "#7e5ee3",
  "rgb": {
    "r": 126,
    "g": 94,
    "b": 227
  },
  "hsl": {
    "h": 254.436,
    "s": 70.37,
    "l": 62.941
  },
  "oklch": {
    "l": 0.58308,
    "c": 0.19314,
    "h": 290.2
  },
  "luminance": 0.17987
}

Semantic roles & 50–950 ramp

primary
#7E5EE3
secondary
#DBE6B6
accent
#D213A4
background
#FAF8FE
surface
#F5F0FD
border
#CFCBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #7E5EE3

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

Preview Lab → · Contrast checker → · Palette generator →

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