#795E88#795E88

#795E88 is a mid, moderate violet. Relative luminance 0.138; OKLCH L 52.5% C 0.072 H 313.2°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#795E88
RGBrgb(121, 94, 136)
HSLhsl(279, 18%, 45%)
HSVhsv(279, 31%, 53%)
CMYKcmyk(11%, 30.9%, 0%, 46.7%)
CIE-LABlab(44.01, 19.29, -19.16)
CIE-LCHlch(44.01, 27.18, 315.19°)
OKLaboklab(52.5% 0.0491 -0.0524)
OKLCHoklch(52.5% 0.072 313.2)
XYZxyz(16.3311, 13.8482, 25.1004)
Luminance0.1385 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795E88 #6D885E
analogous
#645E88 #795E88 #885E82
triadic
#795E88 #88795E #5E8879
tetradic
#795E88 #88645E #6D885E #5E8288
square
#795E88 #88645E #6D885E #5E8288
split-complementary
#795E88 #82885E #5E8864
monochromatic
#392C40 #594564 #795E88 #977EA6 #B4A2BF

Accessibility & contrast

On white

5.57
#795E88 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#795E88 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795E88
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795E88#FFFFFF#000000##FFFFFF
##795E881.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#58678A
Deuteranopia (green-blind)
#5D6987
Tritanopia (blue-blind)
#78636D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #795e88;
/* rgb */ color: rgb(121, 94, 136);
/* oklch */ color: oklch(52.5% 0.072 313.2);
Tailwind
colors: {
  custom: {
    50: '#a08caa',
    500: '#795e88',
    950: '#000000',
  },
}
SCSS
$custom: #795e88;
$custom-light: #a08caa;
$custom-dark: #000000;
JSON
{
  "hex": "#795e88",
  "rgb": {
    "r": 121,
    "g": 94,
    "b": 136
  },
  "hsl": {
    "h": 278.571,
    "s": 18.261,
    "l": 45.098
  },
  "oklch": {
    "l": 0.52495,
    "c": 0.0718,
    "h": 313.2
  },
  "luminance": 0.13848
}

Semantic roles & 50–950 ramp

primary
#795E88
secondary
#9DAD95
accent
#BB6D89
background
#F9F8FA
surface
#F2F0F4
border
#CCCBCE
text
#0F0C10
muted
#7E7D7F

Preview Lab

Preview with #795E88

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

Preview Lab → · Contrast checker → · Palette generator →

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