#7A62EA#7A62EA

#7A62EA is a mid, vivid violet. Relative luminance 0.188; OKLCH L 59.1% C 0.197 H 286.8°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#7A62EA
RGBrgb(122, 98, 234)
HSLhsl(251, 76%, 65%)
HSVhsv(251, 58%, 92%)
CMYKcmyk(47.9%, 58.1%, 0%, 8.2%)
CIE-LABlab(50.47, 43.16, -65.89)
CIE-LCHlch(50.47, 78.77, 303.23°)
OKLaboklab(59.1% 0.057 -0.1883)
OKLCHoklch(59.1% 0.197 286.8)
XYZxyz(27.2407, 18.8122, 80.0217)
Luminance0.1881 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A62EA #D2EA62
analogous
#628EEA #7A62EA #BE62EA
triadic
#7A62EA #EA7A62 #62EA7A
tetradic
#7A62EA #EA628E #D2EA62 #62EABE
square
#7A62EA #EA628E #D2EA62 #62EABE
split-complementary
#7A62EA #EABE62 #8EEA62
monochromatic
#3519B9 #4C2CE3 #7A62EA #A898F1 #D5CEF8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A62EA#FFFFFF#000000##000000
##7A62EA1.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)
#007CEE
Deuteranopia (green-blind)
#0074E7
Tritanopia (blue-blind)
#54819D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7a62ea;
/* rgb */ color: rgb(122, 98, 234);
/* oklch */ color: oklch(59.1% 0.197 286.8);
Tailwind
colors: {
  custom: {
    50: '#a88ff2',
    500: '#7a62ea',
    950: '#000000',
  },
}
SCSS
$custom: #7a62ea;
$custom-light: #a88ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#7a62ea",
  "rgb": {
    "r": 122,
    "g": 98,
    "b": 234
  },
  "hsl": {
    "h": 250.588,
    "s": 76.404,
    "l": 65.098
  },
  "oklch": {
    "l": 0.59097,
    "c": 0.19679,
    "h": 286.8
  },
  "luminance": 0.18813
}

Semantic roles & 50–950 ramp

primary
#7A62EA
secondary
#E3EBBD
accent
#D90DB5
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #7A62EA

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

Preview Lab → · Contrast checker → · Palette generator →

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