#7E62EC#7E62EC

#7E62EC is a mid, vivid violet. Relative luminance 0.192; OKLCH L 59.6% C 0.199 H 288.2°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#7E62EC
RGBrgb(126, 98, 236)
HSLhsl(252, 78%, 65%)
HSVhsv(252, 58%, 93%)
CMYKcmyk(46.6%, 58.5%, 0%, 7.5%)
CIE-LABlab(50.95, 44.54, -66.21)
CIE-LCHlch(50.95, 79.80, 303.93°)
OKLaboklab(59.58% 0.062 -0.1892)
OKLCHoklch(59.58% 0.199 288.2)
XYZxyz(28.1078, 19.2260, 81.5706)
Luminance0.1923 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E62EC #D0EC62
analogous
#628BEC #7E62EC #C362EC
triadic
#7E62EC #EC7E62 #62EC7E
tetradic
#7E62EC #EC628B #D0EC62 #62ECC3
square
#7E62EC #EC628B #D0EC62 #62ECC3
split-complementary
#7E62EC #ECC362 #8BEC62
monochromatic
#3917BD #512BE5 #7E62EC #AB99F3 #D8CFF9

Accessibility & contrast

On white

4.33
#7E62EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#7E62EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E62EC
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E62EC#FFFFFF#000000##000000
##7E62EC1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF1
Deuteranopia (green-blind)
#0076E9
Tritanopia (blue-blind)
#5A819E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7e62ec;
/* rgb */ color: rgb(126, 98, 236);
/* oklch */ color: oklch(59.6% 0.199 288.2);
Tailwind
colors: {
  custom: {
    50: '#ab90f3',
    500: '#7e62ec',
    950: '#000000',
  },
}
SCSS
$custom: #7e62ec;
$custom-light: #ab90f3;
$custom-dark: #000000;
JSON
{
  "hex": "#7e62ec",
  "rgb": {
    "r": 126,
    "g": 98,
    "b": 236
  },
  "hsl": {
    "h": 252.174,
    "s": 78.409,
    "l": 65.49
  },
  "oklch": {
    "l": 0.59579,
    "c": 0.19908,
    "h": 288.2
  },
  "luminance": 0.19227
}

Semantic roles & 50–950 ramp

primary
#7E62EC
secondary
#E3ECBE
accent
#DB0BB1
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #7E62EC

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

Preview Lab → · Contrast checker → · Palette generator →

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