#7B60B3#7B60B3

#7B60B3 is a mid, vivid violet. Relative luminance 0.158; OKLCH L 55.3% C 0.127 H 297.0°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#7B60B3
RGBrgb(123, 96, 179)
HSLhsl(260, 35%, 54%)
HSVhsv(260, 46%, 70%)
CMYKcmyk(31.3%, 46.4%, 0%, 29.8%)
CIE-LABlab(46.75, 29.30, -40.36)
CIE-LCHlch(46.75, 49.87, 305.98°)
OKLaboklab(55.28% 0.0579 -0.1134)
OKLCHoklch(55.28% 0.127 297)
XYZxyz(20.4860, 15.8311, 44.6155)
Luminance0.1583 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B60B3 #98B360
analogous
#606FB3 #7B60B3 #A560B3
triadic
#7B60B3 #B37B60 #60B37B
tetradic
#7B60B3 #B3606F #98B360 #60B3A5
square
#7B60B3 #B3606F #98B360 #60B3A5
split-complementary
#7B60B3 #B3A560 #6FB360
monochromatic
#433167 #5E4591 #7B60B3 #9D89C7 #C0B3DB

Accessibility & contrast

On white

5.04
#7B60B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#7B60B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B60B3
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B60B3#FFFFFF#000000##FFFFFF
##7B60B31.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#466FB6
Deuteranopia (green-blind)
#4B6EB1
Tritanopia (blue-blind)
#6F6F81
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7b60b3;
/* rgb */ color: rgb(123, 96, 179);
/* oklch */ color: oklch(55.3% 0.127 297.0);
Tailwind
colors: {
  custom: {
    50: '#a38dca',
    500: '#7b60b3',
    950: '#000000',
  },
}
SCSS
$custom: #7b60b3;
$custom-light: #a38dca;
$custom-dark: #000000;
JSON
{
  "hex": "#7b60b3",
  "rgb": {
    "r": 123,
    "g": 96,
    "b": 179
  },
  "hsl": {
    "h": 259.518,
    "s": 35.319,
    "l": 53.922
  },
  "oklch": {
    "l": 0.55284,
    "c": 0.12733,
    "h": 297
  },
  "luminance": 0.15831
}

Semantic roles & 50–950 ramp

primary
#7B60B3
secondary
#BEC9A6
accent
#CB5CA7
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#0F0C13
muted
#7F7D82

Preview Lab

Preview with #7B60B3

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

Preview Lab → · Contrast checker → · Palette generator →

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