#7E60EB#7E60EB

#7E60EB is a mid, highly saturated violet. Relative luminance 0.188; OKLCH L 59.2% C 0.200 H 288.7°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#7E60EB
RGBrgb(126, 96, 235)
HSLhsl(253, 78%, 65%)
HSVhsv(253, 59%, 92%)
CMYKcmyk(46.4%, 59.1%, 0%, 7.8%)
CIE-LABlab(50.45, 45.39, -66.46)
CIE-LCHlch(50.45, 80.48, 304.33°)
OKLaboklab(59.19% 0.0642 -0.1899)
OKLCHoklch(59.19% 0.2 288.7)
XYZxyz(27.7782, 18.7984, 80.7460)
Luminance0.1880 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E60EB #CDEB60
analogous
#6087EB #7E60EB #C460EB
triadic
#7E60EB #EB7E60 #60EB7E
tetradic
#7E60EB #EB6087 #CDEB60 #60EBC4
square
#7E60EB #EB6087 #CDEB60 #60EBC4
split-complementary
#7E60EB #EBC460 #87EB60
monochromatic
#3A17B9 #522AE4 #7E60EB #AA96F2 #D6CDF9

Accessibility & contrast

On white

4.41
#7E60EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#7E60EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E60EB
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E60EB#FFFFFF#000000##000000
##7E60EB1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF0
Deuteranopia (green-blind)
#0075E8
Tritanopia (blue-blind)
#5B809C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7e60eb;
/* rgb */ color: rgb(126, 96, 235);
/* oklch */ color: oklch(59.2% 0.200 288.7);
Tailwind
colors: {
  custom: {
    50: '#ab8ef2',
    500: '#7e60eb',
    950: '#000000',
  },
}
SCSS
$custom: #7e60eb;
$custom-light: #ab8ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#7e60eb",
  "rgb": {
    "r": 126,
    "g": 96,
    "b": 235
  },
  "hsl": {
    "h": 252.95,
    "s": 77.654,
    "l": 64.902
  },
  "oklch": {
    "l": 0.59191,
    "c": 0.20047,
    "h": 288.7
  },
  "luminance": 0.188
}

Semantic roles & 50–950 ramp

primary
#7E60EB
secondary
#E1EBBC
accent
#DA0CAD
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #7E60EB

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

Preview Lab → · Contrast checker → · Palette generator →

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