#7B60C0#7B60C0

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

Color values

HEX#7B60C0
RGBrgb(123, 96, 192)
HSLhsl(257, 43%, 56%)
HSVhsv(257, 50%, 75%)
CMYKcmyk(35.9%, 50%, 0%, 24.7%)
CIE-LABlab(47.47, 32.77, -46.77)
CIE-LCHlch(47.47, 57.11, 305.02°)
OKLaboklab(56.06% 0.0594 -0.1321)
OKLCHoklch(56.06% 0.145 294.2)
XYZxyz(21.8632, 16.3820, 51.8691)
Luminance0.1638 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B60C0 #A5C060
analogous
#6075C0 #7B60C0 #AB60C0
triadic
#7B60C0 #C07B60 #60C07B
tetradic
#7B60C0 #C06075 #A5C060 #60C0AB
square
#7B60C0 #C06075 #A5C060 #60C0AB
split-complementary
#7B60C0 #C0AB60 #75C060
monochromatic
#432F77 #5C40A2 #7B60C0 #9F8CD1 #C4B8E3

Accessibility & contrast

On white

4.91
#7B60C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#7B60C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B60C0
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B60C0#FFFFFF#000000##FFFFFF
##7B60C01.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C72C3
Deuteranopia (green-blind)
#416FBE
Tritanopia (blue-blind)
#6A7387
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7b60c0;
/* rgb */ color: rgb(123, 96, 192);
/* oklch */ color: oklch(56.1% 0.145 294.2);
Tailwind
colors: {
  custom: {
    50: '#a48ed3',
    500: '#7b60c0',
    950: '#000000',
  },
}
SCSS
$custom: #7b60c0;
$custom-light: #a48ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#7b60c0",
  "rgb": {
    "r": 123,
    "g": 96,
    "b": 192
  },
  "hsl": {
    "h": 256.875,
    "s": 43.243,
    "l": 56.471
  },
  "oklch": {
    "l": 0.56057,
    "c": 0.14487,
    "h": 294.2
  },
  "luminance": 0.16382
}

Semantic roles & 50–950 ramp

primary
#7B60C0
secondary
#C7D2AA
accent
#D355B0
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#0F0C14
muted
#7F7D83

Preview Lab

Preview with #7B60C0

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

Preview Lab → · Contrast checker → · Palette generator →

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