#7A60EB#7A60EB

#7A60EB is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 58.8% C 0.201 H 287.1°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#7A60EB
RGBrgb(122, 96, 235)
HSLhsl(251, 78%, 65%)
HSVhsv(251, 59%, 92%)
CMYKcmyk(48.1%, 59.1%, 0%, 7.8%)
CIE-LABlab(50.10, 44.59, -67.05)
CIE-LCHlch(50.10, 80.52, 303.63°)
OKLaboklab(58.85% 0.0591 -0.1918)
OKLCHoklch(58.85% 0.201 287.1)
XYZxyz(27.1999, 18.5003, 80.7189)
Luminance0.1850 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A60EB #D1EB60
analogous
#608CEB #7A60EB #C060EB
triadic
#7A60EB #EB7A60 #60EB7A
tetradic
#7A60EB #EB608C #D1EB60 #60EBC0
square
#7A60EB #EB608C #D1EB60 #60EBC0
split-complementary
#7A60EB #EBC060 #8CEB60
monochromatic
#3617B9 #4D2AE4 #7A60EB #A796F2 #D5CDF9

Accessibility & contrast

On white

4.47
#7A60EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#7A60EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A60EB
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A60EB#FFFFFF#000000##000000
##7A60EB1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF0
Deuteranopia (green-blind)
#0073E8
Tritanopia (blue-blind)
#53809C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7a60eb;
/* rgb */ color: rgb(122, 96, 235);
/* oklch */ color: oklch(58.8% 0.201 287.1);
Tailwind
colors: {
  custom: {
    50: '#a88ef2',
    500: '#7a60eb',
    950: '#000000',
  },
}
SCSS
$custom: #7a60eb;
$custom-light: #a88ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#7a60eb",
  "rgb": {
    "r": 122,
    "g": 96,
    "b": 235
  },
  "hsl": {
    "h": 251.223,
    "s": 77.654,
    "l": 64.902
  },
  "oklch": {
    "l": 0.58847,
    "c": 0.20067,
    "h": 287.1
  },
  "luminance": 0.18501
}

Semantic roles & 50–950 ramp

primary
#7A60EB
secondary
#E2EBBC
accent
#DA0CB3
background
#FAF8FE
surface
#F5F0FD
border
#CFCBD5
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #7A60EB

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

Preview Lab → · Contrast checker → · Palette generator →

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