#7A60EA#7A60EA

#7A60EA is a mid, vivid violet. Relative luminance 0.184; OKLCH L 58.8% C 0.199 H 287.3°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#7A60EA
RGBrgb(122, 96, 234)
HSLhsl(251, 77%, 65%)
HSVhsv(251, 59%, 92%)
CMYKcmyk(47.9%, 59%, 0%, 8.2%)
CIE-LABlab(50.03, 44.30, -66.60)
CIE-LCHlch(50.03, 79.99, 303.63°)
OKLaboklab(58.78% 0.0592 -0.1904)
OKLCHoklch(58.78% 0.199 287.3)
XYZxyz(27.0559, 18.4426, 79.9601)
Luminance0.1844 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A60EA #D0EA60
analogous
#608BEA #7A60EA #BF60EA
triadic
#7A60EA #EA7A60 #60EA7A
tetradic
#7A60EA #EA608B #D0EA60 #60EABF
square
#7A60EA #EA608B #D0EA60 #60EABF
split-complementary
#7A60EA #EABF60 #8BEA60
monochromatic
#3618B7 #4D2AE3 #7A60EA #A796F1 #D4CCF8

Accessibility & contrast

On white

4.48
#7A60EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#7A60EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A60EA
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A60EA#FFFFFF#000000##000000
##7A60EA1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEF
Deuteranopia (green-blind)
#0073E7
Tritanopia (blue-blind)
#54809C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7a60ea;
/* rgb */ color: rgb(122, 96, 234);
/* oklch */ color: oklch(58.8% 0.199 287.3);
Tailwind
colors: {
  custom: {
    50: '#a88ef2',
    500: '#7a60ea',
    950: '#000000',
  },
}
SCSS
$custom: #7a60ea;
$custom-light: #a88ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#7a60ea",
  "rgb": {
    "r": 122,
    "g": 96,
    "b": 234
  },
  "hsl": {
    "h": 251.304,
    "s": 76.667,
    "l": 64.706
  },
  "oklch": {
    "l": 0.58775,
    "c": 0.19941,
    "h": 287.3
  },
  "luminance": 0.18444
}

Semantic roles & 50–950 ramp

primary
#7A60EA
secondary
#E2EBBB
accent
#D90DB2
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #7A60EA

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

Preview Lab → · Contrast checker → · Palette generator →

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