#7B599D#7B599D

#7B599D is a mid, moderate violet. Relative luminance 0.138; OKLCH L 52.8% C 0.110 H 306.0°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#7B599D
RGBrgb(123, 89, 157)
HSLhsl(270, 28%, 48%)
HSVhsv(270, 43%, 62%)
CMYKcmyk(21.7%, 43.3%, 0%, 38.4%)
CIE-LABlab(43.93, 27.88, -31.84)
CIE-LCHlch(43.93, 42.32, 311.20°)
OKLaboklab(52.79% 0.0645 -0.0886)
OKLCHoklch(52.79% 0.11 306)
XYZxyz(17.8253, 13.7902, 33.6145)
Luminance0.1379 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B599D #7B9D59
analogous
#59599D #7B599D #9D599D
triadic
#7B599D #9D7B59 #599D7B
tetradic
#7B599D #9D5959 #7B9D59 #599D9D
square
#7B599D #9D5959 #7B9D59 #599D9D
split-complementary
#7B599D #9D9D59 #599D59
monochromatic
#3E2D4F #5C4376 #7B599D #9A7EB6 #B8A5CC

Accessibility & contrast

On white

5.59
#7B599D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#7B599D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B599D
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B599D#FFFFFF#000000##FFFFFF
##7B599D1.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4967A0
Deuteranopia (green-blind)
#51689B
Tritanopia (blue-blind)
#766473
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7b599d;
/* rgb */ color: rgb(123, 89, 157);
/* oklch */ color: oklch(52.8% 0.110 306.0);
Tailwind
colors: {
  custom: {
    50: '#a288ba',
    500: '#7b599d',
    950: '#000000',
  },
}
SCSS
$custom: #7b599d;
$custom-light: #a288ba;
$custom-dark: #000000;
JSON
{
  "hex": "#7b599d",
  "rgb": {
    "r": 123,
    "g": 89,
    "b": 157
  },
  "hsl": {
    "h": 270,
    "s": 27.642,
    "l": 48.235
  },
  "oklch": {
    "l": 0.52793,
    "c": 0.10961,
    "h": 306
  },
  "luminance": 0.1379
}

Semantic roles & 50–950 ramp

primary
#7B599D
secondary
#A9BA98
accent
#C46494
background
#FAF8FB
surface
#F4F0F6
border
#CECBD0
text
#0F0B11
muted
#7F7C80

Preview Lab

Preview with #7B599D

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

Preview Lab → · Contrast checker → · Palette generator →

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