#795E87#795E87

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

Color values

HEX#795E87
RGBrgb(121, 94, 135)
HSLhsl(280, 18%, 45%)
HSVhsv(280, 30%, 53%)
CMYKcmyk(10.4%, 30.4%, 0%, 47.1%)
CIE-LABlab(43.97, 19.06, -18.62)
CIE-LCHlch(43.97, 26.65, 315.67°)
OKLaboklab(52.45% 0.0488 -0.0509)
OKLCHoklch(52.45% 0.07 313.8)
XYZxyz(16.2603, 13.8199, 24.7279)
Luminance0.1382 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795E87 #6C875E
analogous
#645E87 #795E87 #875E81
triadic
#795E87 #87795E #5E8779
tetradic
#795E87 #87645E #6C875E #5E8187
square
#795E87 #87645E #6C875E #5E8187
split-complementary
#795E87 #81875E #5E8764
monochromatic
#382C3F #594563 #795E87 #977DA5 #B4A2BE

Accessibility & contrast

On white

5.58
#795E87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#795E87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795E87
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795E87#FFFFFF#000000##FFFFFF
##795E871.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#586689
Deuteranopia (green-blind)
#5E6986
Tritanopia (blue-blind)
#78636D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #795e87;
/* rgb */ color: rgb(121, 94, 135);
/* oklch */ color: oklch(52.5% 0.070 313.8);
Tailwind
colors: {
  custom: {
    50: '#a08caa',
    500: '#795e87',
    950: '#000000',
  },
}
SCSS
$custom: #795e87;
$custom-light: #a08caa;
$custom-dark: #000000;
JSON
{
  "hex": "#795e87",
  "rgb": {
    "r": 121,
    "g": 94,
    "b": 135
  },
  "hsl": {
    "h": 279.512,
    "s": 17.904,
    "l": 44.902
  },
  "oklch": {
    "l": 0.52451,
    "c": 0.07049,
    "h": 313.8
  },
  "luminance": 0.1382
}

Semantic roles & 50–950 ramp

primary
#795E87
secondary
#9DAC95
accent
#BB6D88
background
#F9F8FA
surface
#F2F0F4
border
#CCCBCE
text
#0E0C10
muted
#7E7D7F

Preview Lab

Preview with #795E87

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

Preview Lab → · Contrast checker → · Palette generator →

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