#7A599C#7A599C

#7A599C is a mid, moderate violet. Relative luminance 0.137; OKLCH L 52.6% C 0.108 H 305.7°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#7A599C
RGBrgb(122, 89, 156)
HSLhsl(270, 27%, 48%)
HSVhsv(270, 43%, 61%)
CMYKcmyk(21.8%, 42.9%, 0%, 38.8%)
CIE-LABlab(43.77, 27.33, -31.50)
CIE-LCHlch(43.77, 41.70, 310.94°)
OKLaboklab(52.64% 0.063 -0.0877)
OKLCHoklch(52.64% 0.108 305.7)
XYZxyz(17.5979, 13.6827, 33.1600)
Luminance0.1368 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A599C #7B9C59
analogous
#59599C #7A599C #9B599C
triadic
#7A599C #9C7A59 #599C7A
tetradic
#7A599C #9C5959 #7B9C59 #599C9B
square
#7A599C #9C5959 #7B9C59 #599C9B
split-complementary
#7A599C #9C9B59 #599C59
monochromatic
#3D2D4E #5C4375 #7A599C #997DB5 #B7A4CB

Accessibility & contrast

On white

5.62
#7A599C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#7A599C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A599C
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A599C#FFFFFF#000000##FFFFFF
##7A599C1.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49669E
Deuteranopia (green-blind)
#51689A
Tritanopia (blue-blind)
#756473
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7a599c;
/* rgb */ color: rgb(122, 89, 156);
/* oklch */ color: oklch(52.6% 0.108 305.7);
Tailwind
colors: {
  custom: {
    50: '#a288b9',
    500: '#7a599c',
    950: '#000000',
  },
}
SCSS
$custom: #7a599c;
$custom-light: #a288b9;
$custom-dark: #000000;
JSON
{
  "hex": "#7a599c",
  "rgb": {
    "r": 122,
    "g": 89,
    "b": 156
  },
  "hsl": {
    "h": 269.552,
    "s": 27.347,
    "l": 48.039
  },
  "oklch": {
    "l": 0.52635,
    "c": 0.10796,
    "h": 305.7
  },
  "luminance": 0.13683
}

Semantic roles & 50–950 ramp

primary
#7A599C
secondary
#A9B998
accent
#C46495
background
#FAF8FB
surface
#F4F0F6
border
#CECBD0
text
#0F0B11
muted
#7F7C80

Preview Lab

Preview with #7A599C

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

Preview Lab → · Contrast checker → · Palette generator →

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