#795B95#795B95

#795B95 is a mid, moderate violet. Relative luminance 0.137; OKLCH L 52.5% C 0.095 H 307.2°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#795B95
RGBrgb(121, 91, 149)
HSLhsl(271, 24%, 47%)
HSVhsv(271, 39%, 58%)
CMYKcmyk(18.8%, 38.9%, 0%, 41.6%)
CIE-LABlab(43.82, 24.12, -27.25)
CIE-LCHlch(43.82, 36.40, 311.52°)
OKLaboklab(52.54% 0.0573 -0.0754)
OKLCHoklch(52.54% 0.095 307.2)
XYZxyz(17.0500, 13.7172, 30.1774)
Luminance0.1372 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795B95 #77955B
analogous
#5C5B95 #795B95 #955B94
triadic
#795B95 #95795B #5B9579
tetradic
#795B95 #955C5B #77955B #5B9495
square
#795B95 #955C5B #77955B #5B9495
split-complementary
#795B95 #94955B #5B955C
monochromatic
#3B2D49 #5A446F #795B95 #977DB0 #B6A3C7

Accessibility & contrast

On white

5.61
#795B95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#795B95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795B95
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795B95#FFFFFF#000000##FFFFFF
##795B951.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F6697
Deuteranopia (green-blind)
#556893
Tritanopia (blue-blind)
#756471
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #795b95;
/* rgb */ color: rgb(121, 91, 149);
/* oklch */ color: oklch(52.5% 0.095 307.2);
Tailwind
colors: {
  custom: {
    50: '#a18ab4',
    500: '#795b95',
    950: '#000000',
  },
}
SCSS
$custom: #795b95;
$custom-light: #a18ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#795b95",
  "rgb": {
    "r": 121,
    "g": 91,
    "b": 149
  },
  "hsl": {
    "h": 271.034,
    "s": 24.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.52538,
    "c": 0.09471,
    "h": 307.2
  },
  "luminance": 0.13717
}

Semantic roles & 50–950 ramp

primary
#795B95
secondary
#A5B597
accent
#C16792
background
#F9F8FB
surface
#F2F0F6
border
#CCCBD0
text
#0F0B11
muted
#7E7C80

Preview Lab

Preview with #795B95

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

Preview Lab → · Contrast checker → · Palette generator →

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