#7E61E5#7E61E5

#7E61E5 is a mid, vivid violet. Relative luminance 0.186; OKLCH L 58.9% C 0.192 H 289.3°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#7E61E5
RGBrgb(126, 97, 229)
HSLhsl(253, 72%, 64%)
HSVhsv(253, 58%, 90%)
CMYKcmyk(45%, 57.6%, 0%, 10.2%)
CIE-LABlab(50.26, 43.13, -63.39)
CIE-LCHlch(50.26, 76.67, 304.23°)
OKLaboklab(58.93% 0.0633 -0.1809)
OKLCHoklch(58.93% 0.192 289.3)
XYZxyz(27.0177, 18.6411, 76.2881)
Luminance0.1864 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E61E5 #C8E561
analogous
#6186E5 #7E61E5 #C061E5
triadic
#7E61E5 #E57E61 #61E57E
tetradic
#7E61E5 #E56186 #C8E561 #61E5C0
square
#7E61E5 #E56186 #C8E561 #61E5C0
split-complementary
#7E61E5 #E5C061 #86E561
monochromatic
#3D1DAF #532CDC #7E61E5 #A996EE #D4CAF6

Accessibility & contrast

On white

4.44
#7E61E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#7E61E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E61E5
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E61E5#FFFFFF#000000##000000
##7E61E51.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AE9
Deuteranopia (green-blind)
#0374E2
Tritanopia (blue-blind)
#5E7F9A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7e61e5;
/* rgb */ color: rgb(126, 97, 229);
/* oklch */ color: oklch(58.9% 0.192 289.3);
Tailwind
colors: {
  custom: {
    50: '#aa8fee',
    500: '#7e61e5',
    950: '#000000',
  },
}
SCSS
$custom: #7e61e5;
$custom-light: #aa8fee;
$custom-dark: #000000;
JSON
{
  "hex": "#7e61e5",
  "rgb": {
    "r": 126,
    "g": 97,
    "b": 229
  },
  "hsl": {
    "h": 253.182,
    "s": 71.739,
    "l": 63.922
  },
  "oklch": {
    "l": 0.58927,
    "c": 0.19161,
    "h": 289.3
  },
  "luminance": 0.18642
}

Semantic roles & 50–950 ramp

primary
#7E61E5
secondary
#DEE8BA
accent
#D412A9
background
#FAF8FE
surface
#F5F0FD
border
#CFCBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #7E61E5

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

Preview Lab → · Contrast checker → · Palette generator →

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