#795F95#795F95

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

Color values

HEX#795F95
RGBrgb(121, 95, 149)
HSLhsl(269, 22%, 48%)
HSVhsv(269, 36%, 58%)
CMYKcmyk(18.8%, 36.2%, 0%, 41.6%)
CIE-LABlab(44.83, 21.72, -25.69)
CIE-LCHlch(44.83, 33.64, 310.21°)
OKLaboklab(53.3% 0.0511 -0.071)
OKLCHoklch(53.3% 0.087 305.7)
XYZxyz(17.4011, 14.4194, 30.2944)
Luminance0.1442 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795F95 #7B955F
analogous
#5F6095 #795F95 #945F95
triadic
#795F95 #95795F #5F9579
tetradic
#795F95 #955F60 #7B955F #5F9594
square
#795F95 #955F60 #7B955F #5F9594
split-complementary
#795F95 #95945F #60955F
monochromatic
#3C2F4A #5B4770 #795F95 #9882AF #B7A7C7

Accessibility & contrast

On white

5.41
#795F95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#795F95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795F95
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795F95#FFFFFF#000000##FFFFFF
##795F951.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#546997
Deuteranopia (green-blind)
#596A93
Tritanopia (blue-blind)
#756773
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #795f95;
/* rgb */ color: rgb(121, 95, 149);
/* oklch */ color: oklch(53.3% 0.087 305.7);
Tailwind
colors: {
  custom: {
    50: '#a08cb4',
    500: '#795f95',
    950: '#000000',
  },
}
SCSS
$custom: #795f95;
$custom-light: #a08cb4;
$custom-dark: #000000;
JSON
{
  "hex": "#795f95",
  "rgb": {
    "r": 121,
    "g": 95,
    "b": 149
  },
  "hsl": {
    "h": 268.889,
    "s": 22.131,
    "l": 47.843
  },
  "oklch": {
    "l": 0.533,
    "c": 0.08745,
    "h": 305.7
  },
  "luminance": 0.14419
}

Semantic roles & 50–950 ramp

primary
#795F95
secondary
#A8B59A
accent
#BF6995
background
#F9F8FB
surface
#F2F0F6
border
#CCCBD0
text
#0F0C11
muted
#7E7D80

Preview Lab

Preview with #795F95

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

Preview Lab → · Contrast checker → · Palette generator →

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