#7A60DC#7A60DC

#7A60DC is a mid, vivid violet. Relative luminance 0.177; OKLCH L 57.8% C 0.182 H 289.1°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#7A60DC
RGBrgb(122, 96, 220)
HSLhsl(253, 64%, 62%)
HSVhsv(253, 56%, 86%)
CMYKcmyk(44.5%, 56.4%, 0%, 13.7%)
CIE-LABlab(49.09, 40.31, -60.21)
CIE-LCHlch(49.09, 72.46, 303.81°)
OKLaboklab(57.79% 0.0594 -0.1716)
OKLCHoklch(57.79% 0.182 289.1)
XYZxyz(25.1235, 17.6697, 69.7831)
Luminance0.1767 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A60DC #C2DC60
analogous
#6084DC #7A60DC #B860DC
triadic
#7A60DC #DC7A60 #60DC7A
tetradic
#7A60DC #DC6084 #C2DC60 #60DCB8
square
#7A60DC #DC6084 #C2DC60 #60DCB8
split-complementary
#7A60DC #DCB860 #84DC60
monochromatic
#3D239F #502ED1 #7A60DC #A492E7 #CEC4F2

Accessibility & contrast

On white

4.63
#7A60DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#7A60DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7A60DC
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A60DC#FFFFFF#000000##FFFFFF
##7A60DC1.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1277E0
Deuteranopia (green-blind)
#1872D9
Tritanopia (blue-blind)
#5C7B95
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7a60dc;
/* rgb */ color: rgb(122, 96, 220);
/* oklch */ color: oklch(57.8% 0.182 289.1);
Tailwind
colors: {
  custom: {
    50: '#a78ee8',
    500: '#7a60dc',
    950: '#000000',
  },
}
SCSS
$custom: #7a60dc;
$custom-light: #a78ee8;
$custom-dark: #000000;
JSON
{
  "hex": "#7a60dc",
  "rgb": {
    "r": 122,
    "g": 96,
    "b": 220
  },
  "hsl": {
    "h": 252.581,
    "s": 63.918,
    "l": 61.961
  },
  "oklch": {
    "l": 0.57789,
    "c": 0.18162,
    "h": 289.1
  },
  "luminance": 0.17671
}

Semantic roles & 50–950 ramp

primary
#7A60DC
secondary
#D9E3B5
accent
#CC1AA6
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #7A60DC

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

Preview Lab → · Contrast checker → · Palette generator →

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