#7B60C4#7B60C4

#7B60C4 is a mid, vivid violet. Relative luminance 0.166; OKLCH L 56.3% C 0.150 H 293.4°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#7B60C4
RGBrgb(123, 96, 196)
HSLhsl(256, 46%, 57%)
HSVhsv(256, 51%, 77%)
CMYKcmyk(37.2%, 51%, 0%, 23.1%)
CIE-LABlab(47.70, 33.86, -48.71)
CIE-LCHlch(47.70, 59.32, 304.81°)
OKLaboklab(56.3% 0.0597 -0.1378)
OKLCHoklch(56.3% 0.15 293.4)
XYZxyz(22.3124, 16.5617, 54.2350)
Luminance0.1656 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B60C4 #A9C460
analogous
#6077C4 #7B60C4 #AD60C4
triadic
#7B60C4 #C47B60 #60C47B
tetradic
#7B60C4 #C46077 #A9C460 #60C4AD
square
#7B60C4 #C46077 #A9C460 #60C4AD
split-complementary
#7B60C4 #C4AD60 #77C460
monochromatic
#432E7C #5B3EA8 #7B60C4 #A08DD5 #C5B9E5

Accessibility & contrast

On white

4.87
#7B60C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#7B60C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B60C4
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B60C4#FFFFFF#000000##FFFFFF
##7B60C41.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3872C7
Deuteranopia (green-blind)
#3E6FC2
Tritanopia (blue-blind)
#697489
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7b60c4;
/* rgb */ color: rgb(123, 96, 196);
/* oklch */ color: oklch(56.3% 0.150 293.4);
Tailwind
colors: {
  custom: {
    50: '#a58ed6',
    500: '#7b60c4',
    950: '#000000',
  },
}
SCSS
$custom: #7b60c4;
$custom-light: #a58ed6;
$custom-dark: #000000;
JSON
{
  "hex": "#7b60c4",
  "rgb": {
    "r": 123,
    "g": 96,
    "b": 196
  },
  "hsl": {
    "h": 256.2,
    "s": 45.872,
    "l": 57.255
  },
  "oklch": {
    "l": 0.56304,
    "c": 0.15022,
    "h": 293.4
  },
  "luminance": 0.16562
}

Semantic roles & 50–950 ramp

primary
#7B60C4
secondary
#C9D4AC
accent
#D652B2
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100C14
muted
#7F7D83

Preview Lab

Preview with #7B60C4

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

Preview Lab → · Contrast checker → · Palette generator →

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