#795BA3#795BA3

#795BA3 is a mid, moderate violet. Relative luminance 0.142; OKLCH L 53.3% C 0.114 H 301.9°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#795BA3
RGBrgb(121, 91, 163)
HSLhsl(265, 28%, 50%)
HSVhsv(265, 44%, 64%)
CMYKcmyk(25.8%, 44.2%, 0%, 36.1%)
CIE-LABlab(44.51, 27.58, -34.51)
CIE-LCHlch(44.51, 44.18, 308.63°)
OKLaboklab(53.28% 0.06 -0.0964)
OKLCHoklch(53.28% 0.114 301.9)
XYZxyz(18.2356, 14.1914, 36.4217)
Luminance0.1419 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795BA3 #85A35B
analogous
#5B61A3 #795BA3 #9D5BA3
triadic
#795BA3 #A3795B #5BA379
tetradic
#795BA3 #A35B61 #85A35B #5BA39D
square
#795BA3 #A35B61 #85A35B #5BA39D
split-complementary
#795BA3 #A39D5B #61A35B
monochromatic
#3F2F54 #5C457C #795BA3 #9982B9 #B9A9CF

Accessibility & contrast

On white

5.47
#795BA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#795BA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795BA3
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795BA3#FFFFFF#000000##FFFFFF
##795BA31.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4869A6
Deuteranopia (green-blind)
#4E69A1
Tritanopia (blue-blind)
#716777
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #795ba3;
/* rgb */ color: rgb(121, 91, 163);
/* oklch */ color: oklch(53.3% 0.114 301.9);
Tailwind
colors: {
  custom: {
    50: '#a18abe',
    500: '#795ba3',
    950: '#000000',
  },
}
SCSS
$custom: #795ba3;
$custom-light: #a18abe;
$custom-dark: #000000;
JSON
{
  "hex": "#795ba3",
  "rgb": {
    "r": 121,
    "g": 91,
    "b": 163
  },
  "hsl": {
    "h": 265,
    "s": 28.346,
    "l": 49.804
  },
  "oklch": {
    "l": 0.53276,
    "c": 0.1136,
    "h": 301.9
  },
  "luminance": 0.14191
}

Semantic roles & 50–950 ramp

primary
#795BA3
secondary
#B0BD9D
accent
#C5639C
background
#FAF8FB
surface
#F4F0F7
border
#CECBD0
text
#0F0B12
muted
#7F7C81

Preview Lab

Preview with #795BA3

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

Preview Lab → · Contrast checker → · Palette generator →

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