#795D91#795D91

#795D91 is a mid, moderate violet. Relative luminance 0.139; OKLCH L 52.7% C 0.086 H 308.4°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#795D91
RGBrgb(121, 93, 145)
HSLhsl(272, 22%, 47%)
HSVhsv(272, 36%, 57%)
CMYKcmyk(16.6%, 35.9%, 0%, 43.1%)
CIE-LABlab(44.14, 21.97, -24.36)
CIE-LCHlch(44.14, 32.81, 312.05°)
OKLaboklab(52.72% 0.0532 -0.0672)
OKLCHoklch(52.72% 0.086 308.4)
XYZxyz(16.9094, 13.9381, 28.5821)
Luminance0.1394 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795D91 #75915D
analogous
#5F5D91 #795D91 #915D8F
triadic
#795D91 #91795D #5D9179
tetradic
#795D91 #915F5D #75915D #5D8F91
square
#795D91 #915F5D #75915D #5D8F91
split-complementary
#795D91 #8F915D #5D915F
monochromatic
#3B2D46 #5A456C #795D91 #977FAD #B5A4C5

Accessibility & contrast

On white

5.54
#795D91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#795D91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795D91
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795D91#FFFFFF#000000##FFFFFF
##795D911.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#536793
Deuteranopia (green-blind)
#59698F
Tritanopia (blue-blind)
#766470
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #795d91;
/* rgb */ color: rgb(121, 93, 145);
/* oklch */ color: oklch(52.7% 0.086 308.4);
Tailwind
colors: {
  custom: {
    50: '#a08bb1',
    500: '#795d91',
    950: '#000000',
  },
}
SCSS
$custom: #795d91;
$custom-light: #a08bb1;
$custom-dark: #000000;
JSON
{
  "hex": "#795d91",
  "rgb": {
    "r": 121,
    "g": 93,
    "b": 145
  },
  "hsl": {
    "h": 272.308,
    "s": 21.849,
    "l": 46.667
  },
  "oklch": {
    "l": 0.52721,
    "c": 0.08568,
    "h": 308.4
  },
  "luminance": 0.13938
}

Semantic roles & 50–950 ramp

primary
#795D91
secondary
#A4B397
accent
#BE6991
background
#F9F8FA
surface
#F2F0F5
border
#CCCBCF
text
#0F0C10
muted
#7E7D7F

Preview Lab

Preview with #795D91

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

Preview Lab → · Contrast checker → · Palette generator →

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