#795E8D#795E8D

#795E8D is a mid, moderate violet. Relative luminance 0.140; OKLCH L 52.7% C 0.078 H 310.1°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#795E8D
RGBrgb(121, 94, 141)
HSLhsl(274, 20%, 46%)
HSVhsv(274, 33%, 55%)
CMYKcmyk(14.2%, 33.3%, 0%, 44.7%)
CIE-LABlab(44.22, 20.43, -21.84)
CIE-LCHlch(44.22, 29.91, 313.09°)
OKLaboklab(52.72% 0.0505 -0.06)
OKLCHoklch(52.72% 0.078 310.1)
XYZxyz(16.6947, 13.9936, 27.0157)
Luminance0.1399 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795E8D #728D5E
analogous
#615E8D #795E8D #8D5E89
triadic
#795E8D #8D795E #5E8D79
tetradic
#795E8D #8D615E #728D5E #5E898D
square
#795E8D #8D615E #728D5E #5E898D
split-complementary
#795E8D #898D5E #5E8D61
monochromatic
#3A2D44 #594668 #795E8D #977FA9 #B5A3C2

Accessibility & contrast

On white

5.53
#795E8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#795E8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795E8D
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795E8D#FFFFFF#000000##FFFFFF
##795E8D1.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#56678F
Deuteranopia (green-blind)
#5C698C
Tritanopia (blue-blind)
#77646F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #795e8d;
/* rgb */ color: rgb(121, 94, 141);
/* oklch */ color: oklch(52.7% 0.078 310.1);
Tailwind
colors: {
  custom: {
    50: '#a08cae',
    500: '#795e8d',
    950: '#000000',
  },
}
SCSS
$custom: #795e8d;
$custom-light: #a08cae;
$custom-dark: #000000;
JSON
{
  "hex": "#795e8d",
  "rgb": {
    "r": 121,
    "g": 94,
    "b": 141
  },
  "hsl": {
    "h": 274.468,
    "s": 20,
    "l": 46.078
  },
  "oklch": {
    "l": 0.52724,
    "c": 0.07844,
    "h": 310.1
  },
  "luminance": 0.13993
}

Semantic roles & 50–950 ramp

primary
#795E8D
secondary
#A1B097
accent
#BD6B8E
background
#F9F8FA
surface
#F2F0F4
border
#CCCBCE
text
#0F0C10
muted
#7E7D7F

Preview Lab

Preview with #795E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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