#7E62EA#7E62EA

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

Color values

HEX#7E62EA
RGBrgb(126, 98, 234)
HSLhsl(252, 76%, 65%)
HSVhsv(252, 58%, 92%)
CMYKcmyk(46.2%, 58.1%, 0%, 8.2%)
CIE-LABlab(50.82, 43.97, -65.31)
CIE-LCHlch(50.82, 78.73, 303.95°)
OKLaboklab(59.44% 0.0621 -0.1865)
OKLCHoklch(59.44% 0.197 288.4)
XYZxyz(27.8189, 19.1104, 80.0488)
Luminance0.1911 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E62EA #CEEA62
analogous
#628AEA #7E62EA #C262EA
triadic
#7E62EA #EA7E62 #62EA7E
tetradic
#7E62EA #EA628A #CEEA62 #62EAC2
square
#7E62EA #EA628A #CEEA62 #62EAC2
split-complementary
#7E62EA #EAC262 #8AEA62
monochromatic
#3A19B9 #522CE3 #7E62EA #AA98F1 #D7CEF8

Accessibility & contrast

On white

4.35
#7E62EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#7E62EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E62EA
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E62EA#FFFFFF#000000##000000
##7E62EA1.004.354.824.82
#FFFFFF4.351.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CEE
Deuteranopia (green-blind)
#0076E7
Tritanopia (blue-blind)
#5B819D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7e62ea;
/* rgb */ color: rgb(126, 98, 234);
/* oklch */ color: oklch(59.4% 0.197 288.4);
Tailwind
colors: {
  custom: {
    50: '#aa90f2',
    500: '#7e62ea',
    950: '#000000',
  },
}
SCSS
$custom: #7e62ea;
$custom-light: #aa90f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7e62ea",
  "rgb": {
    "r": 126,
    "g": 98,
    "b": 234
  },
  "hsl": {
    "h": 252.353,
    "s": 76.404,
    "l": 65.098
  },
  "oklch": {
    "l": 0.59438,
    "c": 0.19657,
    "h": 288.4
  },
  "luminance": 0.19111
}

Semantic roles & 50–950 ramp

primary
#7E62EA
secondary
#E1EBBD
accent
#D90DAF
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #7E62EA

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

Preview Lab → · Contrast checker → · Palette generator →

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