#7A62EC#7A62EC

#7A62EC is a mid, vivid violet. Relative luminance 0.189; OKLCH L 59.2% C 0.199 H 286.6°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#7A62EC
RGBrgb(122, 98, 236)
HSLhsl(250, 78%, 65%)
HSVhsv(250, 58%, 93%)
CMYKcmyk(48.3%, 58.5%, 0%, 7.5%)
CIE-LABlab(50.60, 43.74, -66.79)
CIE-LCHlch(50.60, 79.84, 303.22°)
OKLaboklab(59.24% 0.057 -0.191)
OKLCHoklch(59.24% 0.199 286.6)
XYZxyz(27.5296, 18.9278, 81.5435)
Luminance0.1893 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A62EC #D4EC62
analogous
#628FEC #7A62EC #BF62EC
triadic
#7A62EC #EC7A62 #62EC7A
tetradic
#7A62EC #EC628F #D4EC62 #62ECBF
square
#7A62EC #EC628F #D4EC62 #62ECBF
split-complementary
#7A62EC #ECBF62 #8FEC62
monochromatic
#3417BD #4C2BE5 #7A62EC #A899F3 #D6CFF9

Accessibility & contrast

On white

4.39
#7A62EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#7A62EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A62EC
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A62EC#FFFFFF#000000##000000
##7A62EC1.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF1
Deuteranopia (green-blind)
#0075E9
Tritanopia (blue-blind)
#52829E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7a62ec;
/* rgb */ color: rgb(122, 98, 236);
/* oklch */ color: oklch(59.2% 0.199 286.6);
Tailwind
colors: {
  custom: {
    50: '#a88ff3',
    500: '#7a62ec',
    950: '#000000',
  },
}
SCSS
$custom: #7a62ec;
$custom-light: #a88ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#7a62ec",
  "rgb": {
    "r": 122,
    "g": 98,
    "b": 236
  },
  "hsl": {
    "h": 250.435,
    "s": 78.409,
    "l": 65.49
  },
  "oklch": {
    "l": 0.59239,
    "c": 0.19932,
    "h": 286.6
  },
  "luminance": 0.18929
}

Semantic roles & 50–950 ramp

primary
#7A62EC
secondary
#E4ECBE
accent
#DB0BB7
background
#FAF8FE
surface
#F5F0FD
border
#CFCBD5
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #7A62EC

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

Preview Lab → · Contrast checker → · Palette generator →

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