#7B60B5#7B60B5

#7B60B5 is a mid, vivid violet. Relative luminance 0.159; OKLCH L 55.4% C 0.130 H 296.6°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#7B60B5
RGBrgb(123, 96, 181)
HSLhsl(259, 36%, 54%)
HSVhsv(259, 47%, 71%)
CMYKcmyk(32%, 47%, 0%, 29%)
CIE-LABlab(46.86, 29.83, -41.35)
CIE-LCHlch(46.86, 50.99, 305.80°)
OKLaboklab(55.4% 0.0582 -0.1163)
OKLCHoklch(55.4% 0.13 296.6)
XYZxyz(20.6897, 15.9126, 45.6885)
Luminance0.1591 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B60B5 #9AB560
analogous
#6070B5 #7B60B5 #A660B5
triadic
#7B60B5 #B57B60 #60B57B
tetradic
#7B60B5 #B56070 #9AB560 #60B5A6
square
#7B60B5 #B56070 #9AB560 #60B5A6
split-complementary
#7B60B5 #B5A660 #70B560
monochromatic
#43316A #5E4593 #7B60B5 #9E8AC8 #C0B4DC

Accessibility & contrast

On white

5.02
#7B60B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#7B60B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B60B5
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B60B5#FFFFFF#000000##FFFFFF
##7B60B51.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4470B8
Deuteranopia (green-blind)
#4A6EB3
Tritanopia (blue-blind)
#6E7082
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7b60b5;
/* rgb */ color: rgb(123, 96, 181);
/* oklch */ color: oklch(55.4% 0.130 296.6);
Tailwind
colors: {
  custom: {
    50: '#a48dcb',
    500: '#7b60b5',
    950: '#000000',
  },
}
SCSS
$custom: #7b60b5;
$custom-light: #a48dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#7b60b5",
  "rgb": {
    "r": 123,
    "g": 96,
    "b": 181
  },
  "hsl": {
    "h": 259.059,
    "s": 36.481,
    "l": 54.314
  },
  "oklch": {
    "l": 0.554,
    "c": 0.13005,
    "h": 296.6
  },
  "luminance": 0.15913
}

Semantic roles & 50–950 ramp

primary
#7B60B5
secondary
#BFCAA6
accent
#CC5BA9
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#0F0C13
muted
#7F7D82

Preview Lab

Preview with #7B60B5

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

Preview Lab → · Contrast checker → · Palette generator →

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