#7A60EC#7A60EC

#7A60EC is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 58.9% C 0.202 H 287.0°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#7A60EC
RGBrgb(122, 96, 236)
HSLhsl(251, 79%, 65%)
HSVhsv(251, 59%, 93%)
CMYKcmyk(48.3%, 59.3%, 0%, 7.5%)
CIE-LABlab(50.17, 44.88, -67.50)
CIE-LCHlch(50.17, 81.06, 303.62°)
OKLaboklab(58.92% 0.0591 -0.1931)
OKLCHoklch(58.92% 0.202 287)
XYZxyz(27.3448, 18.5582, 81.4819)
Luminance0.1856 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A60EC #D2EC60
analogous
#608CEC #7A60EC #C060EC
triadic
#7A60EC #EC7A60 #60EC7A
tetradic
#7A60EC #EC608C #D2EC60 #60ECC0
square
#7A60EC #EC608C #D2EC60 #60ECC0
split-complementary
#7A60EC #ECC060 #8CEC60
monochromatic
#3516BB #4C29E5 #7A60EC #A897F3 #D5CDF9

Accessibility & contrast

On white

4.46
#7A60EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#7A60EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A60EC
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A60EC#FFFFFF#000000##000000
##7A60EC1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF1
Deuteranopia (green-blind)
#0073E9
Tritanopia (blue-blind)
#52809D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7a60ec;
/* rgb */ color: rgb(122, 96, 236);
/* oklch */ color: oklch(58.9% 0.202 287.0);
Tailwind
colors: {
  custom: {
    50: '#a88ef3',
    500: '#7a60ec',
    950: '#000000',
  },
}
SCSS
$custom: #7a60ec;
$custom-light: #a88ef3;
$custom-dark: #000000;
JSON
{
  "hex": "#7a60ec",
  "rgb": {
    "r": 122,
    "g": 96,
    "b": 236
  },
  "hsl": {
    "h": 251.143,
    "s": 78.652,
    "l": 65.098
  },
  "oklch": {
    "l": 0.58919,
    "c": 0.20192,
    "h": 287
  },
  "luminance": 0.18559
}

Semantic roles & 50–950 ramp

primary
#7A60EC
secondary
#E3ECBC
accent
#DB0BB4
background
#FAF8FE
surface
#F5F0FD
border
#CFCBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #7A60EC

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

Preview Lab → · Contrast checker → · Palette generator →

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