#7B60C2#7B60C2

#7B60C2 is a mid, vivid violet. Relative luminance 0.165; OKLCH L 56.2% C 0.148 H 293.8°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#7B60C2
RGBrgb(123, 96, 194)
HSLhsl(257, 45%, 57%)
HSVhsv(257, 51%, 76%)
CMYKcmyk(36.6%, 50.5%, 0%, 23.9%)
CIE-LABlab(47.59, 33.31, -47.74)
CIE-LCHlch(47.59, 58.21, 304.91°)
OKLaboklab(56.18% 0.0596 -0.135)
OKLCHoklch(56.18% 0.148 293.8)
XYZxyz(22.0863, 16.4713, 53.0441)
Luminance0.1647 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B60C2 #A7C260
analogous
#6076C2 #7B60C2 #AC60C2
triadic
#7B60C2 #C27B60 #60C27B
tetradic
#7B60C2 #C26076 #A7C260 #60C2AC
square
#7B60C2 #C26076 #A7C260 #60C2AC
split-complementary
#7B60C2 #C2AC60 #76C260
monochromatic
#432E79 #5C3FA5 #7B60C2 #A08CD3 #C4B8E4

Accessibility & contrast

On white

4.89
#7B60C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7B60C2
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B60C2#FFFFFF#000000##FFFFFF
##7B60C21.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A72C5
Deuteranopia (green-blind)
#3F6FC0
Tritanopia (blue-blind)
#6A7388
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7b60c2;
/* rgb */ color: rgb(123, 96, 194);
/* oklch */ color: oklch(56.2% 0.148 293.8);
Tailwind
colors: {
  custom: {
    50: '#a58ed5',
    500: '#7b60c2',
    950: '#000000',
  },
}
SCSS
$custom: #7b60c2;
$custom-light: #a58ed5;
$custom-dark: #000000;
JSON
{
  "hex": "#7b60c2",
  "rgb": {
    "r": 123,
    "g": 96,
    "b": 194
  },
  "hsl": {
    "h": 256.531,
    "s": 44.545,
    "l": 56.863
  },
  "oklch": {
    "l": 0.5618,
    "c": 0.14755,
    "h": 293.8
  },
  "luminance": 0.16472
}

Semantic roles & 50–950 ramp

primary
#7B60C2
secondary
#C8D3AB
accent
#D454B1
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100C14
muted
#7F7D83

Preview Lab

Preview with #7B60C2

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

Preview Lab → · Contrast checker → · Palette generator →

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