#7B60A4#7B60A4

#7B60A4 is a mid, moderate violet. Relative luminance 0.153; OKLCH L 54.5% C 0.107 H 301.2°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#7B60A4
RGBrgb(123, 96, 164)
HSLhsl(264, 27%, 51%)
HSVhsv(264, 41%, 64%)
CMYKcmyk(25%, 41.5%, 0%, 35.7%)
CIE-LABlab(45.98, 25.44, -32.77)
CIE-LCHlch(45.98, 41.48, 307.83°)
OKLaboklab(54.46% 0.0554 -0.0913)
OKLCHoklch(54.46% 0.107 301.2)
XYZxyz(19.0506, 15.2570, 37.0560)
Luminance0.1526 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B60A4 #89A460
analogous
#6067A4 #7B60A4 #9D60A4
triadic
#7B60A4 #A47B60 #60A47B
tetradic
#7B60A4 #A46067 #89A460 #60A49D
square
#7B60A4 #A46067 #89A460 #60A49D
split-complementary
#7B60A4 #A49D60 #67A460
monochromatic
#413258 #5E487E #7B60A4 #9B87BA #BCAED1

Accessibility & contrast

On white

5.18
#7B60A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#7B60A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B60A4
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B60A4#FFFFFF#000000##FFFFFF
##7B60A41.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F6DA7
Deuteranopia (green-blind)
#546DA2
Tritanopia (blue-blind)
#746B7A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7b60a4;
/* rgb */ color: rgb(123, 96, 164);
/* oklch */ color: oklch(54.5% 0.107 301.2);
Tailwind
colors: {
  custom: {
    50: '#a28dbf',
    500: '#7b60a4',
    950: '#000000',
  },
}
SCSS
$custom: #7b60a4;
$custom-light: #a28dbf;
$custom-dark: #000000;
JSON
{
  "hex": "#7b60a4",
  "rgb": {
    "r": 123,
    "g": 96,
    "b": 164
  },
  "hsl": {
    "h": 263.824,
    "s": 27.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.54455,
    "c": 0.10683,
    "h": 301.2
  },
  "luminance": 0.15257
}

Semantic roles & 50–950 ramp

primary
#7B60A4
secondary
#B3BFA1
accent
#C4649E
background
#FAF8FB
surface
#F4F0F7
border
#CECBD0
text
#0F0C12
muted
#7F7D81

Preview Lab

Preview with #7B60A4

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

Preview Lab → · Contrast checker → · Palette generator →

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