#7B6096#7B6096

#7B6096 is a mid, moderate violet. Relative luminance 0.148; OKLCH L 53.7% C 0.088 H 306.6°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#7B6096
RGBrgb(123, 96, 150)
HSLhsl(270, 22%, 48%)
HSVhsv(270, 36%, 59%)
CMYKcmyk(18%, 36%, 0%, 41.2%)
CIE-LABlab(45.33, 22.01, -25.49)
CIE-LCHlch(45.33, 33.68, 310.81°)
OKLaboklab(53.74% 0.0523 -0.0704)
OKLCHoklch(53.74% 0.088 306.6)
XYZxyz(17.8552, 14.7788, 30.7602)
Luminance0.1478 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B6096 #7B9660
analogous
#606096 #7B6096 #966096
triadic
#7B6096 #967B60 #60967B
tetradic
#7B6096 #966060 #7B9660 #609696
square
#7B6096 #966060 #7B9660 #609696
split-complementary
#7B6096 #969660 #609660
monochromatic
#3E304B #5C4871 #7B6096 #9A83B0 #B8A9C8

Accessibility & contrast

On white

5.31
#7B6096 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#7B6096 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B6096
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B6096#FFFFFF#000000##FFFFFF
##7B60961.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#556A98
Deuteranopia (green-blind)
#5B6C94
Tritanopia (blue-blind)
#776874
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7b6096;
/* rgb */ color: rgb(123, 96, 150);
/* oklch */ color: oklch(53.7% 0.088 306.6);
Tailwind
colors: {
  custom: {
    50: '#a28db5',
    500: '#7b6096',
    950: '#000000',
  },
}
SCSS
$custom: #7b6096;
$custom-light: #a28db5;
$custom-dark: #000000;
JSON
{
  "hex": "#7b6096",
  "rgb": {
    "r": 123,
    "g": 96,
    "b": 150
  },
  "hsl": {
    "h": 270,
    "s": 21.951,
    "l": 48.235
  },
  "oklch": {
    "l": 0.53744,
    "c": 0.08768,
    "h": 306.6
  },
  "luminance": 0.14779
}

Semantic roles & 50–950 ramp

primary
#7B6096
secondary
#A9B69C
accent
#BE6994
background
#FAF8FB
surface
#F3F0F6
border
#CDCBD0
text
#0F0C11
muted
#7F7D80

Preview Lab

Preview with #7B6096

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

Preview Lab → · Contrast checker → · Palette generator →

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