#795C99#795C99

#795C99 is a mid, moderate violet. Relative luminance 0.140; OKLCH L 52.9% C 0.098 H 305.2°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#795C99
RGBrgb(121, 92, 153)
HSLhsl(269, 25%, 48%)
HSVhsv(269, 40%, 60%)
CMYKcmyk(20.9%, 39.9%, 0%, 40%)
CIE-LABlab(44.26, 24.49, -28.96)
CIE-LCHlch(44.26, 37.93, 310.22°)
OKLaboklab(52.93% 0.0566 -0.0804)
OKLCHoklch(52.93% 0.098 305.2)
XYZxyz(17.4609, 14.0192, 31.9169)
Luminance0.1402 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795C99 #7C995C
analogous
#5C5D99 #795C99 #975C99
triadic
#795C99 #99795C #5C9979
tetradic
#795C99 #995C5D #7C995C #5C9997
square
#795C99 #995C5D #7C995C #5C9997
split-complementary
#795C99 #99975C #5D995C
monochromatic
#3D2E4D #5B4573 #795C99 #9880B2 #B7A6C9

Accessibility & contrast

On white

5.52
#795C99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#795C99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795C99
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795C99#FFFFFF#000000##FFFFFF
##795C991.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E689B
Deuteranopia (green-blind)
#546997
Tritanopia (blue-blind)
#746673
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #795c99;
/* rgb */ color: rgb(121, 92, 153);
/* oklch */ color: oklch(52.9% 0.098 305.2);
Tailwind
colors: {
  custom: {
    50: '#a18ab7',
    500: '#795c99',
    950: '#000000',
  },
}
SCSS
$custom: #795c99;
$custom-light: #a18ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#795c99",
  "rgb": {
    "r": 121,
    "g": 92,
    "b": 153
  },
  "hsl": {
    "h": 268.525,
    "s": 24.898,
    "l": 48.039
  },
  "oklch": {
    "l": 0.5293,
    "c": 0.09831,
    "h": 305.2
  },
  "luminance": 0.14019
}

Semantic roles & 50–950 ramp

primary
#795C99
secondary
#A9B799
accent
#C16696
background
#FAF8FB
surface
#F3F0F6
border
#CDCBD0
text
#0F0C11
muted
#7F7D80

Preview Lab

Preview with #795C99

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

Preview Lab → · Contrast checker → · Palette generator →

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