#795B99#795B99

#795B99 is a mid, moderate violet. Relative luminance 0.138; OKLCH L 52.7% C 0.100 H 305.5°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#795B99
RGBrgb(121, 91, 153)
HSLhsl(269, 25%, 48%)
HSVhsv(269, 41%, 60%)
CMYKcmyk(20.9%, 40.5%, 0%, 40%)
CIE-LABlab(44.01, 25.09, -29.35)
CIE-LCHlch(44.01, 38.61, 310.53°)
OKLaboklab(52.74% 0.0581 -0.0815)
OKLCHoklch(52.74% 0.1 305.5)
XYZxyz(17.3748, 13.8471, 31.8882)
Luminance0.1385 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795B99 #7B995B
analogous
#5B5C99 #795B99 #985B99
triadic
#795B99 #99795B #5B9979
tetradic
#795B99 #995B5C #7B995B #5B9998
square
#795B99 #995B5C #7B995B #5B9998
split-complementary
#795B99 #99985B #5C995B
monochromatic
#3C2D4C #5B4473 #795B99 #987FB3 #B7A5C9

Accessibility & contrast

On white

5.57
#795B99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#795B99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795B99
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795B99#FFFFFF#000000##FFFFFF
##795B991.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)
#4D679B
Deuteranopia (green-blind)
#546897
Tritanopia (blue-blind)
#746573
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #795b99;
/* rgb */ color: rgb(121, 91, 153);
/* oklch */ color: oklch(52.7% 0.100 305.5);
Tailwind
colors: {
  custom: {
    50: '#a18ab7',
    500: '#795b99',
    950: '#000000',
  },
}
SCSS
$custom: #795b99;
$custom-light: #a18ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#795b99",
  "rgb": {
    "r": 121,
    "g": 91,
    "b": 153
  },
  "hsl": {
    "h": 269.032,
    "s": 25.41,
    "l": 47.843
  },
  "oklch": {
    "l": 0.52742,
    "c": 0.10009,
    "h": 305.5
  },
  "luminance": 0.13847
}

Semantic roles & 50–950 ramp

primary
#795B99
secondary
#A8B798
accent
#C26695
background
#FAF8FB
surface
#F3F0F6
border
#CDCBD0
text
#0F0B11
muted
#7F7C80

Preview Lab

Preview with #795B99

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

Preview Lab → · Contrast checker → · Palette generator →

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