#7E62E9#7E62E9

#7E62E9 is a mid, vivid violet. Relative luminance 0.191; OKLCH L 59.4% C 0.195 H 288.5°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#7E62E9
RGBrgb(126, 98, 233)
HSLhsl(252, 75%, 65%)
HSVhsv(252, 58%, 91%)
CMYKcmyk(45.9%, 57.9%, 0%, 8.6%)
CIE-LABlab(50.75, 43.69, -64.85)
CIE-LCHlch(50.75, 78.20, 303.97°)
OKLaboklab(59.37% 0.0621 -0.1852)
OKLCHoklch(59.37% 0.195 288.5)
XYZxyz(27.6756, 19.0531, 79.2944)
Luminance0.1905 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E62E9 #CDE962
analogous
#628AE9 #7E62E9 #C162E9
triadic
#7E62E9 #E97E62 #62E97E
tetradic
#7E62E9 #E9628A #CDE962 #62E9C1
square
#7E62E9 #E9628A #CDE962 #62E9C1
split-complementary
#7E62E9 #E9C162 #8AE962
monochromatic
#3A1AB7 #522CE1 #7E62E9 #AA98F1 #D6CDF8

Accessibility & contrast

On white

4.37
#7E62E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#7E62E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E62E9
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E62E9#FFFFFF#000000##000000
##7E62E91.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CED
Deuteranopia (green-blind)
#0075E6
Tritanopia (blue-blind)
#5C809C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7e62e9;
/* rgb */ color: rgb(126, 98, 233);
/* oklch */ color: oklch(59.4% 0.195 288.5);
Tailwind
colors: {
  custom: {
    50: '#aa90f1',
    500: '#7e62e9',
    950: '#000000',
  },
}
SCSS
$custom: #7e62e9;
$custom-light: #aa90f1;
$custom-dark: #000000;
JSON
{
  "hex": "#7e62e9",
  "rgb": {
    "r": 126,
    "g": 98,
    "b": 233
  },
  "hsl": {
    "h": 252.444,
    "s": 75.419,
    "l": 64.902
  },
  "oklch": {
    "l": 0.59368,
    "c": 0.19532,
    "h": 288.5
  },
  "luminance": 0.19054
}

Semantic roles & 50–950 ramp

primary
#7E62E9
secondary
#E1EABC
accent
#D80EAE
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #7E62E9

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

Preview Lab → · Contrast checker → · Palette generator →

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