#7A60DB#7A60DB

#7A60DB is a mid, vivid violet. Relative luminance 0.176; OKLCH L 57.7% C 0.180 H 289.2°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#7A60DB
RGBrgb(122, 96, 219)
HSLhsl(253, 63%, 62%)
HSVhsv(253, 56%, 86%)
CMYKcmyk(44.3%, 56.2%, 0%, 14.1%)
CIE-LABlab(49.03, 40.03, -59.74)
CIE-LCHlch(49.03, 71.91, 303.82°)
OKLaboklab(57.72% 0.0594 -0.1703)
OKLCHoklch(57.72% 0.18 289.2)
XYZxyz(24.9915, 17.6169, 69.0877)
Luminance0.1762 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A60DB #C1DB60
analogous
#6084DB #7A60DB #B860DB
triadic
#7A60DB #DB7A60 #60DB7A
tetradic
#7A60DB #DB6084 #C1DB60 #60DBB8
square
#7A60DB #DB6084 #C1DB60 #60DBB8
split-complementary
#7A60DB #DBB860 #84DB60
monochromatic
#3D249D #512FCF #7A60DB #A492E6 #CDC4F2

Accessibility & contrast

On white

4.64
#7A60DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#7A60DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7A60DB
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A60DB#FFFFFF#000000##FFFFFF
##7A60DB1.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1577DF
Deuteranopia (green-blind)
#1B72D8
Tritanopia (blue-blind)
#5D7B94
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7a60db;
/* rgb */ color: rgb(122, 96, 219);
/* oklch */ color: oklch(57.7% 0.180 289.2);
Tailwind
colors: {
  custom: {
    50: '#a68ee7',
    500: '#7a60db',
    950: '#000000',
  },
}
SCSS
$custom: #7a60db;
$custom-light: #a68ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#7a60db",
  "rgb": {
    "r": 122,
    "g": 96,
    "b": 219
  },
  "hsl": {
    "h": 252.683,
    "s": 63.077,
    "l": 61.765
  },
  "oklch": {
    "l": 0.5772,
    "c": 0.18033,
    "h": 289.2
  },
  "luminance": 0.17618
}

Semantic roles & 50–950 ramp

primary
#7A60DB
secondary
#D9E2B5
accent
#CB1BA6
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #7A60DB

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

Preview Lab → · Contrast checker → · Palette generator →

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