#795DA5#795DA5

#795DA5 is a mid, moderate violet. Relative luminance 0.146; OKLCH L 53.8% C 0.113 H 300.6°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#795DA5
RGBrgb(121, 93, 165)
HSLhsl(263, 29%, 51%)
HSVhsv(263, 44%, 65%)
CMYKcmyk(26.7%, 43.6%, 0%, 35.3%)
CIE-LABlab(45.10, 26.89, -34.77)
CIE-LCHlch(45.10, 43.95, 307.72°)
OKLaboklab(53.75% 0.0575 -0.0972)
OKLCHoklch(53.75% 0.113 300.6)
XYZxyz(18.5895, 14.6102, 37.4307)
Luminance0.1461 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795DA5 #89A55D
analogous
#5D65A5 #795DA5 #9D5DA5
triadic
#795DA5 #A5795D #5DA579
tetradic
#795DA5 #A55D65 #89A55D #5DA59D
square
#795DA5 #A55D65 #89A55D #5DA59D
split-complementary
#795DA5 #A59D5D #65A55D
monochromatic
#3F3057 #5C467F #795DA5 #9A84BB #BAACD1

Accessibility & contrast

On white

5.35
#795DA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#795DA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795DA5
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795DA5#FFFFFF#000000##FFFFFF
##795DA51.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#496AA8
Deuteranopia (green-blind)
#4F6AA3
Tritanopia (blue-blind)
#716979
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #795da5;
/* rgb */ color: rgb(121, 93, 165);
/* oklch */ color: oklch(53.8% 0.113 300.6);
Tailwind
colors: {
  custom: {
    50: '#a18bc0',
    500: '#795da5',
    950: '#000000',
  },
}
SCSS
$custom: #795da5;
$custom-light: #a18bc0;
$custom-dark: #000000;
JSON
{
  "hex": "#795da5",
  "rgb": {
    "r": 121,
    "g": 93,
    "b": 165
  },
  "hsl": {
    "h": 263.333,
    "s": 28.571,
    "l": 50.588
  },
  "oklch": {
    "l": 0.53753,
    "c": 0.1129,
    "h": 300.6
  },
  "luminance": 0.1461
}

Semantic roles & 50–950 ramp

primary
#795DA5
secondary
#B2BF9F
accent
#C5639F
background
#FAF8FB
surface
#F4F0F7
border
#CECBD0
text
#0F0C12
muted
#7F7D81

Preview Lab

Preview with #795DA5

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

Preview Lab → · Contrast checker → · Palette generator →

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