#795696#795696

#795696 is a mid, moderate violet. Relative luminance 0.129; OKLCH L 51.7% C 0.105 H 308.3°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#795696
RGBrgb(121, 86, 150)
HSLhsl(273, 27%, 46%)
HSVhsv(273, 43%, 59%)
CMYKcmyk(19.3%, 42.7%, 0%, 41.2%)
CIE-LABlab(42.65, 27.35, -29.69)
CIE-LCHlch(42.65, 40.37, 312.65°)
OKLaboklab(51.66% 0.0651 -0.0825)
OKLCHoklch(51.66% 0.105 308.3)
XYZxyz(16.7169, 12.9227, 30.4619)
Luminance0.1292 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795696 #739656
analogous
#595696 #795696 #965693
triadic
#795696 #967956 #569679
tetradic
#795696 #965956 #739656 #569396
square
#795696 #965956 #739656 #569396
split-complementary
#795696 #939656 #569659
monochromatic
#3A2948 #5A406F #795696 #9778B1 #B59FC8

Accessibility & contrast

On white

5.86
#795696 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#795696 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795696
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795696#FFFFFF#000000##FFFFFF
##7956961.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#486398
Deuteranopia (green-blind)
#506594
Tritanopia (blue-blind)
#75606F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #795696;
/* rgb */ color: rgb(121, 86, 150);
/* oklch */ color: oklch(51.7% 0.105 308.3);
Tailwind
colors: {
  custom: {
    50: '#a186b5',
    500: '#795696',
    950: '#000000',
  },
}
SCSS
$custom: #795696;
$custom-light: #a186b5;
$custom-dark: #000000;
JSON
{
  "hex": "#795696",
  "rgb": {
    "r": 121,
    "g": 86,
    "b": 150
  },
  "hsl": {
    "h": 272.813,
    "s": 27.119,
    "l": 46.275
  },
  "oklch": {
    "l": 0.51664,
    "c": 0.10507,
    "h": 308.3
  },
  "luminance": 0.12923
}

Semantic roles & 50–950 ramp

primary
#795696
secondary
#A2B593
accent
#C3648F
background
#FAF8FB
surface
#F3EFF6
border
#CDCAD0
text
#0F0B11
muted
#7F7C80

Preview Lab

Preview with #795696

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

Preview Lab → · Contrast checker → · Palette generator →

#795696 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva