#7A599B#7A599B

#7A599B is a mid, moderate violet. Relative luminance 0.136; OKLCH L 52.6% C 0.107 H 306.1°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#7A599B
RGBrgb(122, 89, 155)
HSLhsl(270, 27%, 48%)
HSVhsv(270, 43%, 61%)
CMYKcmyk(21.3%, 42.6%, 0%, 39.2%)
CIE-LABlab(43.73, 27.09, -30.98)
CIE-LCHlch(43.73, 41.15, 311.16°)
OKLaboklab(52.58% 0.0628 -0.0862)
OKLCHoklch(52.58% 0.107 306.1)
XYZxyz(17.5136, 13.6490, 32.7159)
Luminance0.1365 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A599B #7A9B59
analogous
#59599B #7A599B #9B599B
triadic
#7A599B #9B7A59 #599B7A
tetradic
#7A599B #9B5959 #7A9B59 #599B9B
square
#7A599B #9B5959 #7A9B59 #599B9B
split-complementary
#7A599B #9B9B59 #599B59
monochromatic
#3D2C4D #5B4374 #7A599B #997DB4 #B7A4CB

Accessibility & contrast

On white

5.63
#7A599B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#7A599B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A599B
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A599B#FFFFFF#000000##FFFFFF
##7A599B1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A669D
Deuteranopia (green-blind)
#516899
Tritanopia (blue-blind)
#756472
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7a599b;
/* rgb */ color: rgb(122, 89, 155);
/* oklch */ color: oklch(52.6% 0.107 306.1);
Tailwind
colors: {
  custom: {
    50: '#a288b9',
    500: '#7a599b',
    950: '#000000',
  },
}
SCSS
$custom: #7a599b;
$custom-light: #a288b9;
$custom-dark: #000000;
JSON
{
  "hex": "#7a599b",
  "rgb": {
    "r": 122,
    "g": 89,
    "b": 155
  },
  "hsl": {
    "h": 270,
    "s": 27.049,
    "l": 47.843
  },
  "oklch": {
    "l": 0.52581,
    "c": 0.10664,
    "h": 306.1
  },
  "luminance": 0.13649
}

Semantic roles & 50–950 ramp

primary
#7A599B
secondary
#A8B897
accent
#C36494
background
#FAF8FB
surface
#F4F0F6
border
#CECBD0
text
#0F0B11
muted
#7F7C80

Preview Lab

Preview with #7A599B

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

Preview Lab → · Contrast checker → · Palette generator →

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