#7E5EE9#7E5EE9

#7E5EE9 is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 58.7% C 0.201 H 289.3°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#7E5EE9
RGBrgb(126, 94, 233)
HSLhsl(254, 76%, 64%)
HSVhsv(254, 60%, 91%)
CMYKcmyk(45.9%, 59.7%, 0%, 8.6%)
CIE-LABlab(49.89, 45.95, -66.25)
CIE-LCHlch(49.89, 80.63, 304.74°)
OKLaboklab(58.73% 0.0664 -0.1893)
OKLCHoklch(58.73% 0.201 289.3)
XYZxyz(27.3107, 18.3232, 79.1727)
Luminance0.1832 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E5EE9 #C9E95E
analogous
#5E84E9 #7E5EE9 #C45EE9
triadic
#7E5EE9 #E97E5E #5EE97E
tetradic
#7E5EE9 #E95E84 #C9E95E #5EE9C4
square
#7E5EE9 #E95E84 #C9E95E #5EE9C4
split-complementary
#7E5EE9 #E9C45E #84E95E
monochromatic
#3C19B4 #5328E2 #7E5EE9 #A994F0 #D4CAF8

Accessibility & contrast

On white

4.50
#7E5EE9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#7E5EE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E5EE9
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E5EE9#FFFFFF#000000##000000
##7E5EE91.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079EE
Deuteranopia (green-blind)
#0073E6
Tritanopia (blue-blind)
#5C7E9B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7e5ee9;
/* rgb */ color: rgb(126, 94, 233);
/* oklch */ color: oklch(58.7% 0.201 289.3);
Tailwind
colors: {
  custom: {
    50: '#ab8df1',
    500: '#7e5ee9',
    950: '#000000',
  },
}
SCSS
$custom: #7e5ee9;
$custom-light: #ab8df1;
$custom-dark: #000000;
JSON
{
  "hex": "#7e5ee9",
  "rgb": {
    "r": 126,
    "g": 94,
    "b": 233
  },
  "hsl": {
    "h": 253.813,
    "s": 75.956,
    "l": 64.118
  },
  "oklch": {
    "l": 0.58734,
    "c": 0.20061,
    "h": 289.3
  },
  "luminance": 0.18324
}

Semantic roles & 50–950 ramp

primary
#7E5EE9
secondary
#DEEAB9
accent
#D80DA9
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #7E5EE9

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

Preview Lab → · Contrast checker → · Palette generator →

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