#795D95#795D95

#795D95 is a mid, moderate violet. Relative luminance 0.141; OKLCH L 52.9% C 0.091 H 306.5°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#795D95
RGBrgb(121, 93, 149)
HSLhsl(270, 23%, 47%)
HSVhsv(270, 38%, 58%)
CMYKcmyk(18.8%, 37.6%, 0%, 41.6%)
CIE-LABlab(44.32, 22.92, -26.47)
CIE-LCHlch(44.32, 35.02, 310.89°)
OKLaboklab(52.92% 0.0542 -0.0732)
OKLCHoklch(52.92% 0.091 306.5)
XYZxyz(17.2233, 14.0637, 30.2352)
Luminance0.1406 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795D95 #79955D
analogous
#5D5D95 #795D95 #955D95
triadic
#795D95 #95795D #5D9579
tetradic
#795D95 #955D5D #79955D #5D9595
square
#795D95 #955D5D #79955D #5D9595
split-complementary
#795D95 #95955D #5D955D
monochromatic
#3C2E4A #5A456F #795D95 #9880B0 #B6A5C7

Accessibility & contrast

On white

5.51
#795D95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#795D95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795D95
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795D95#FFFFFF#000000##FFFFFF
##795D951.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#516897
Deuteranopia (green-blind)
#576993
Tritanopia (blue-blind)
#756572
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #795d95;
/* rgb */ color: rgb(121, 93, 149);
/* oklch */ color: oklch(52.9% 0.091 306.5);
Tailwind
colors: {
  custom: {
    50: '#a08bb4',
    500: '#795d95',
    950: '#000000',
  },
}
SCSS
$custom: #795d95;
$custom-light: #a08bb4;
$custom-dark: #000000;
JSON
{
  "hex": "#795d95",
  "rgb": {
    "r": 121,
    "g": 93,
    "b": 149
  },
  "hsl": {
    "h": 270,
    "s": 23.14,
    "l": 47.451
  },
  "oklch": {
    "l": 0.52917,
    "c": 0.09108,
    "h": 306.5
  },
  "luminance": 0.14064
}

Semantic roles & 50–950 ramp

primary
#795D95
secondary
#A7B599
accent
#C06894
background
#F9F8FB
surface
#F2F0F6
border
#CCCBD0
text
#0F0C11
muted
#7E7D80

Preview Lab

Preview with #795D95

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

Preview Lab → · Contrast checker → · Palette generator →

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