#795E99#795E99

#795E99 is a mid, moderate violet. Relative luminance 0.144; OKLCH L 53.3% C 0.095 H 304.4°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#795E99
RGBrgb(121, 94, 153)
HSLhsl(267, 24%, 48%)
HSVhsv(267, 39%, 60%)
CMYKcmyk(20.9%, 38.6%, 0%, 40%)
CIE-LABlab(44.76, 23.29, -28.18)
CIE-LCHlch(44.76, 36.56, 309.57°)
OKLaboklab(53.31% 0.0536 -0.0781)
OKLCHoklch(53.31% 0.095 304.4)
XYZxyz(17.6365, 14.3703, 31.9754)
Luminance0.1437 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795E99 #7E995E
analogous
#5E6099 #795E99 #965E99
triadic
#795E99 #99795E #5E9979
tetradic
#795E99 #995E60 #7E995E #5E9996
square
#795E99 #995E60 #7E995E #5E9996
split-complementary
#795E99 #99965E #60995E
monochromatic
#3D2F4D #5B4773 #795E99 #9882B2 #B7A8C9

Accessibility & contrast

On white

5.42
#795E99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#795E99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795E99
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795E99#FFFFFF#000000##FFFFFF
##795E991.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51699B
Deuteranopia (green-blind)
#566A97
Tritanopia (blue-blind)
#746774
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #795e99;
/* rgb */ color: rgb(121, 94, 153);
/* oklch */ color: oklch(53.3% 0.095 304.4);
Tailwind
colors: {
  custom: {
    50: '#a18cb7',
    500: '#795e99',
    950: '#000000',
  },
}
SCSS
$custom: #795e99;
$custom-light: #a18cb7;
$custom-dark: #000000;
JSON
{
  "hex": "#795e99",
  "rgb": {
    "r": 121,
    "g": 94,
    "b": 153
  },
  "hsl": {
    "h": 267.458,
    "s": 23.887,
    "l": 48.431
  },
  "oklch": {
    "l": 0.53308,
    "c": 0.09473,
    "h": 304.4
  },
  "luminance": 0.1437
}

Semantic roles & 50–950 ramp

primary
#795E99
secondary
#ABB89B
accent
#C06798
background
#FAF8FB
surface
#F3F0F6
border
#CDCBD0
text
#0F0C11
muted
#7F7D80

Preview Lab

Preview with #795E99

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

Preview Lab → · Contrast checker → · Palette generator →

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