#7B60AB#7B60AB

#7B60AB is a mid, moderate violet. Relative luminance 0.155; OKLCH L 54.8% C 0.116 H 299.1°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#7B60AB
RGBrgb(123, 96, 171)
HSLhsl(262, 31%, 52%)
HSVhsv(262, 44%, 67%)
CMYKcmyk(28.1%, 43.9%, 0%, 32.9%)
CIE-LABlab(46.33, 27.22, -36.33)
CIE-LCHlch(46.33, 45.40, 306.84°)
OKLaboklab(54.83% 0.0567 -0.1017)
OKLCHoklch(54.83% 0.116 299.1)
XYZxyz(19.7002, 15.5168, 40.4773)
Luminance0.1552 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B60AB #90AB60
analogous
#606BAB #7B60AB #A060AB
triadic
#7B60AB #AB7B60 #60AB7B
tetradic
#7B60AB #AB606B #90AB60 #60ABA0
square
#7B60AB #AB606B #90AB60 #60ABA0
split-complementary
#7B60AB #ABA060 #6BAB60
monochromatic
#42325F #5E4787 #7B60AB #9C88C0 #BDB0D5

Accessibility & contrast

On white

5.12
#7B60AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#7B60AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B60AB
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B60AB#FFFFFF#000000##FFFFFF
##7B60AB1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B6EAE
Deuteranopia (green-blind)
#506DA9
Tritanopia (blue-blind)
#726D7D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7b60ab;
/* rgb */ color: rgb(123, 96, 171);
/* oklch */ color: oklch(54.8% 0.116 299.1);
Tailwind
colors: {
  custom: {
    50: '#a38dc4',
    500: '#7b60ab',
    950: '#000000',
  },
}
SCSS
$custom: #7b60ab;
$custom-light: #a38dc4;
$custom-dark: #000000;
JSON
{
  "hex": "#7b60ab",
  "rgb": {
    "r": 123,
    "g": 96,
    "b": 171
  },
  "hsl": {
    "h": 261.6,
    "s": 30.864,
    "l": 52.353
  },
  "oklch": {
    "l": 0.54833,
    "c": 0.11641,
    "h": 299.1
  },
  "luminance": 0.15517
}

Semantic roles & 50–950 ramp

primary
#7B60AB
secondary
#B8C4A3
accent
#C761A2
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#0F0C13
muted
#7F7D82

Preview Lab

Preview with #7B60AB

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

Preview Lab → · Contrast checker → · Palette generator →

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