#7B60C1#7B60C1

#7B60C1 is a mid, vivid violet. Relative luminance 0.164; OKLCH L 56.1% C 0.146 H 294.0°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#7B60C1
RGBrgb(123, 96, 193)
HSLhsl(257, 44%, 57%)
HSVhsv(257, 50%, 76%)
CMYKcmyk(36.3%, 50.3%, 0%, 24.3%)
CIE-LABlab(47.53, 33.04, -47.25)
CIE-LCHlch(47.53, 57.66, 304.97°)
OKLaboklab(56.12% 0.0595 -0.1336)
OKLCHoklch(56.12% 0.146 294)
XYZxyz(21.9744, 16.4265, 52.4546)
Luminance0.1643 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B60C1 #A6C160
analogous
#6076C1 #7B60C1 #AC60C1
triadic
#7B60C1 #C17B60 #60C17B
tetradic
#7B60C1 #C16076 #A6C160 #60C1AC
square
#7B60C1 #C16076 #A6C160 #60C1AC
split-complementary
#7B60C1 #C1AC60 #76C160
monochromatic
#432F78 #5C40A4 #7B60C1 #A08CD2 #C4B8E3

Accessibility & contrast

On white

4.90
#7B60C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#7B60C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B60C1
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B60C1#FFFFFF#000000##FFFFFF
##7B60C11.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B72C4
Deuteranopia (green-blind)
#406FBF
Tritanopia (blue-blind)
#6A7387
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7b60c1;
/* rgb */ color: rgb(123, 96, 193);
/* oklch */ color: oklch(56.1% 0.146 294.0);
Tailwind
colors: {
  custom: {
    50: '#a58ed4',
    500: '#7b60c1',
    950: '#000000',
  },
}
SCSS
$custom: #7b60c1;
$custom-light: #a58ed4;
$custom-dark: #000000;
JSON
{
  "hex": "#7b60c1",
  "rgb": {
    "r": 123,
    "g": 96,
    "b": 193
  },
  "hsl": {
    "h": 256.701,
    "s": 43.891,
    "l": 56.667
  },
  "oklch": {
    "l": 0.56118,
    "c": 0.14621,
    "h": 294
  },
  "luminance": 0.16427
}

Semantic roles & 50–950 ramp

primary
#7B60C1
secondary
#C7D2AB
accent
#D454B0
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100C14
muted
#7F7D83

Preview Lab

Preview with #7B60C1

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

Preview Lab → · Contrast checker → · Palette generator →

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