#7B6098#7B6098

#7B6098 is a mid, moderate violet. Relative luminance 0.148; OKLCH L 53.8% C 0.090 H 305.7°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#7B6098
RGBrgb(123, 96, 152)
HSLhsl(269, 23%, 49%)
HSVhsv(269, 37%, 60%)
CMYKcmyk(19.1%, 36.8%, 0%, 40.4%)
CIE-LABlab(45.42, 22.49, -26.54)
CIE-LCHlch(45.42, 34.79, 310.27°)
OKLaboklab(53.84% 0.0528 -0.0734)
OKLCHoklch(53.84% 0.09 305.7)
XYZxyz(18.0176, 14.8438, 31.6156)
Luminance0.1484 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B6098 #7D9860
analogous
#606198 #7B6098 #976098
triadic
#7B6098 #987B60 #60987B
tetradic
#7B6098 #986061 #7D9860 #609897
square
#7B6098 #986061 #7D9860 #609897
split-complementary
#7B6098 #989760 #619860
monochromatic
#3E314D #5D4872 #7B6098 #9A84B1 #B9A9C9

Accessibility & contrast

On white

5.29
#7B6098 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#7B6098 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B6098
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B6098#FFFFFF#000000##FFFFFF
##7B60981.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#546B9A
Deuteranopia (green-blind)
#5A6C96
Tritanopia (blue-blind)
#776875
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7b6098;
/* rgb */ color: rgb(123, 96, 152);
/* oklch */ color: oklch(53.8% 0.090 305.7);
Tailwind
colors: {
  custom: {
    50: '#a28db6',
    500: '#7b6098',
    950: '#000000',
  },
}
SCSS
$custom: #7b6098;
$custom-light: #a28db6;
$custom-dark: #000000;
JSON
{
  "hex": "#7b6098",
  "rgb": {
    "r": 123,
    "g": 96,
    "b": 152
  },
  "hsl": {
    "h": 268.929,
    "s": 22.581,
    "l": 48.627
  },
  "oklch": {
    "l": 0.53842,
    "c": 0.0904,
    "h": 305.7
  },
  "luminance": 0.14844
}

Semantic roles & 50–950 ramp

primary
#7B6098
secondary
#AAB79C
accent
#BF6995
background
#FAF8FB
surface
#F3F0F6
border
#CDCBD0
text
#0F0C11
muted
#7F7D80

Preview Lab

Preview with #7B6098

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

Preview Lab → · Contrast checker → · Palette generator →

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