#795D99#795D99

#795D99 is a mid, moderate violet. Relative luminance 0.142; OKLCH L 53.1% C 0.097 H 304.8°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#795D99
RGBrgb(121, 93, 153)
HSLhsl(268, 24%, 48%)
HSVhsv(268, 39%, 60%)
CMYKcmyk(20.9%, 39.2%, 0%, 40%)
CIE-LABlab(44.51, 23.89, -28.57)
CIE-LCHlch(44.51, 37.24, 309.90°)
OKLaboklab(53.12% 0.0551 -0.0793)
OKLCHoklch(53.12% 0.097 304.8)
XYZxyz(17.5481, 14.1936, 31.9460)
Luminance0.1419 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795D99 #7D995D
analogous
#5D5F99 #795D99 #975D99
triadic
#795D99 #99795D #5D9979
tetradic
#795D99 #995D5F #7D995D #5D9997
square
#795D99 #995D5F #7D995D #5D9997
split-complementary
#795D99 #99975D #5F995D
monochromatic
#3D2F4D #5B4673 #795D99 #9881B2 #B7A7C9

Accessibility & contrast

On white

5.47
#795D99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#795D99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795D99
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795D99#FFFFFF#000000##FFFFFF
##795D991.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F689B
Deuteranopia (green-blind)
#556997
Tritanopia (blue-blind)
#746674
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #795d99;
/* rgb */ color: rgb(121, 93, 153);
/* oklch */ color: oklch(53.1% 0.097 304.8);
Tailwind
colors: {
  custom: {
    50: '#a18bb7',
    500: '#795d99',
    950: '#000000',
  },
}
SCSS
$custom: #795d99;
$custom-light: #a18bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#795d99",
  "rgb": {
    "r": 121,
    "g": 93,
    "b": 153
  },
  "hsl": {
    "h": 268,
    "s": 24.39,
    "l": 48.235
  },
  "oklch": {
    "l": 0.53118,
    "c": 0.09652,
    "h": 304.8
  },
  "luminance": 0.14194
}

Semantic roles & 50–950 ramp

primary
#795D99
secondary
#AAB89A
accent
#C16797
background
#FAF8FB
surface
#F3F0F6
border
#CDCBD0
text
#0F0C11
muted
#7F7D80

Preview Lab

Preview with #795D99

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

Preview Lab → · Contrast checker → · Palette generator →

#795D99 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva