#7C599D#7C599D

#7C599D is a mid, moderate violet. Relative luminance 0.139; OKLCH L 52.9% C 0.110 H 306.7°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#7C599D
RGBrgb(124, 89, 157)
HSLhsl(271, 28%, 48%)
HSVhsv(271, 43%, 62%)
CMYKcmyk(21%, 43.3%, 0%, 38.4%)
CIE-LABlab(44.04, 28.18, -31.67)
CIE-LCHlch(44.04, 42.39, 311.67°)
OKLaboklab(52.9% 0.0657 -0.0881)
OKLCHoklch(52.9% 0.11 306.7)
XYZxyz(17.9692, 13.8643, 33.6212)
Luminance0.1386 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C599D #7A9D59
analogous
#5A599D #7C599D #9D599C
triadic
#7C599D #9D7C59 #599D7C
tetradic
#7C599D #9D5A59 #7A9D59 #599C9D
square
#7C599D #9D5A59 #7A9D59 #599C9D
split-complementary
#7C599D #9C9D59 #599D5A
monochromatic
#3E2D4F #5D4376 #7C599D #9A7EB6 #B9A5CC

Accessibility & contrast

On white

5.57
#7C599D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#7C599D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C599D
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C599D#FFFFFF#000000##FFFFFF
##7C599D1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49679F
Deuteranopia (green-blind)
#51689B
Tritanopia (blue-blind)
#776473
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7c599d;
/* rgb */ color: rgb(124, 89, 157);
/* oklch */ color: oklch(52.9% 0.110 306.7);
Tailwind
colors: {
  custom: {
    50: '#a388ba',
    500: '#7c599d',
    950: '#000000',
  },
}
SCSS
$custom: #7c599d;
$custom-light: #a388ba;
$custom-dark: #000000;
JSON
{
  "hex": "#7c599d",
  "rgb": {
    "r": 124,
    "g": 89,
    "b": 157
  },
  "hsl": {
    "h": 270.882,
    "s": 27.642,
    "l": 48.235
  },
  "oklch": {
    "l": 0.52898,
    "c": 0.10993,
    "h": 306.7
  },
  "luminance": 0.13864
}

Semantic roles & 50–950 ramp

primary
#7C599D
secondary
#A8BA98
accent
#C46492
background
#FAF8FB
surface
#F4F0F6
border
#CECBD0
text
#0F0B11
muted
#7F7C80

Preview Lab

Preview with #7C599D

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

Preview Lab → · Contrast checker → · Palette generator →

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