#795F99#795F99

#795F99 is a mid, moderate violet. Relative luminance 0.145; OKLCH L 53.5% C 0.093 H 304.0°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#795F99
RGBrgb(121, 95, 153)
HSLhsl(267, 23%, 49%)
HSVhsv(267, 38%, 60%)
CMYKcmyk(20.9%, 37.9%, 0%, 40%)
CIE-LABlab(45.01, 22.69, -27.79)
CIE-LCHlch(45.01, 35.88, 309.23°)
OKLaboklab(53.5% 0.052 -0.077)
OKLCHoklch(53.5% 0.093 304)
XYZxyz(17.7259, 14.5493, 32.0053)
Luminance0.1455 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795F99 #7F995F
analogous
#5F6299 #795F99 #965F99
triadic
#795F99 #99795F #5F9979
tetradic
#795F99 #995F62 #7F995F #5F9996
square
#795F99 #995F62 #7F995F #5F9996
split-complementary
#795F99 #99965F #62995F
monochromatic
#3D304D #5B4873 #795F99 #9883B2 #B8A9CA

Accessibility & contrast

On white

5.37
#795F99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#795F99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795F99
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795F99#FFFFFF#000000##FFFFFF
##795F991.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#526A9B
Deuteranopia (green-blind)
#576B97
Tritanopia (blue-blind)
#746875
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #795f99;
/* rgb */ color: rgb(121, 95, 153);
/* oklch */ color: oklch(53.5% 0.093 304.0);
Tailwind
colors: {
  custom: {
    50: '#a18cb7',
    500: '#795f99',
    950: '#000000',
  },
}
SCSS
$custom: #795f99;
$custom-light: #a18cb7;
$custom-dark: #000000;
JSON
{
  "hex": "#795f99",
  "rgb": {
    "r": 121,
    "g": 95,
    "b": 153
  },
  "hsl": {
    "h": 266.897,
    "s": 23.387,
    "l": 48.627
  },
  "oklch": {
    "l": 0.53498,
    "c": 0.09295,
    "h": 304
  },
  "luminance": 0.14549
}

Semantic roles & 50–950 ramp

primary
#795F99
secondary
#ABB89C
accent
#C06898
background
#F9F8FB
surface
#F2F0F6
border
#CCCBD0
text
#0F0C11
muted
#7E7D80

Preview Lab

Preview with #795F99

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

Preview Lab → · Contrast checker → · Palette generator →

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