#7E60E4#7E60E4

#7E60E4 is a mid, vivid violet. Relative luminance 0.184; OKLCH L 58.7% C 0.192 H 289.6°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#7E60E4
RGBrgb(126, 96, 228)
HSLhsl(254, 71%, 64%)
HSVhsv(254, 58%, 89%)
CMYKcmyk(44.7%, 57.9%, 0%, 10.6%)
CIE-LABlab(49.98, 43.42, -63.28)
CIE-LCHlch(49.98, 76.75, 304.46°)
OKLaboklab(58.7% 0.0644 -0.1806)
OKLCHoklch(58.7% 0.192 289.6)
XYZxyz(26.7867, 18.4018, 75.5243)
Luminance0.1840 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E60E4 #C6E460
analogous
#6084E4 #7E60E4 #C060E4
triadic
#7E60E4 #E47E60 #60E47E
tetradic
#7E60E4 #E46084 #C6E460 #60E4C0
square
#7E60E4 #E46084 #C6E460 #60E4C0
split-complementary
#7E60E4 #E4C060 #84E460
monochromatic
#3E1DAC #542CDB #7E60E4 #A894ED #D3C9F6

Accessibility & contrast

On white

4.49
#7E60E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#7E60E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E60E4
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E60E4#FFFFFF#000000##000000
##7E60E41.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079E8
Deuteranopia (green-blind)
#0174E1
Tritanopia (blue-blind)
#5F7E99
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7e60e4;
/* rgb */ color: rgb(126, 96, 228);
/* oklch */ color: oklch(58.7% 0.192 289.6);
Tailwind
colors: {
  custom: {
    50: '#aa8eed',
    500: '#7e60e4',
    950: '#000000',
  },
}
SCSS
$custom: #7e60e4;
$custom-light: #aa8eed;
$custom-dark: #000000;
JSON
{
  "hex": "#7e60e4",
  "rgb": {
    "r": 126,
    "g": 96,
    "b": 228
  },
  "hsl": {
    "h": 253.636,
    "s": 70.968,
    "l": 63.529
  },
  "oklch": {
    "l": 0.58696,
    "c": 0.1917,
    "h": 289.6
  },
  "luminance": 0.18403
}

Semantic roles & 50–950 ramp

primary
#7E60E4
secondary
#DDE7B9
accent
#D313A7
background
#FAF8FE
surface
#F5F0FD
border
#CFCBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #7E60E4

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

Preview Lab → · Contrast checker → · Palette generator →

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