#795FA9#795FA9

#795FA9 is a mid, moderate violet. Relative luminance 0.151; OKLCH L 54.3% C 0.115 H 298.7°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#795FA9
RGBrgb(121, 95, 169)
HSLhsl(261, 30%, 52%)
HSVhsv(261, 44%, 66%)
CMYKcmyk(28.4%, 43.8%, 0%, 33.7%)
CIE-LABlab(45.79, 26.72, -36.03)
CIE-LCHlch(45.79, 44.86, 306.56°)
OKLaboklab(54.34% 0.0553 -0.1009)
OKLCHoklch(54.34% 0.115 298.7)
XYZxyz(19.1371, 15.1138, 39.4375)
Luminance0.1511 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795FA9 #8FA95F
analogous
#5F6AA9 #795FA9 #9E5FA9
triadic
#795FA9 #A9795F #5FA979
tetradic
#795FA9 #A95F6A #8FA95F #5FA99E
square
#795FA9 #A95F6A #8FA95F #5FA99E
split-complementary
#795FA9 #A99E5F #6AA95F
monochromatic
#40325C #5C4784 #795FA9 #9A87BE #BCAFD4

Accessibility & contrast

On white

5.22
#795FA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#795FA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795FA9
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795FA9#FFFFFF#000000##FFFFFF
##795FA91.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A6CAC
Deuteranopia (green-blind)
#4F6CA7
Tritanopia (blue-blind)
#6F6C7C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #795fa9;
/* rgb */ color: rgb(121, 95, 169);
/* oklch */ color: oklch(54.3% 0.115 298.7);
Tailwind
colors: {
  custom: {
    50: '#a18dc3',
    500: '#795fa9',
    950: '#000000',
  },
}
SCSS
$custom: #795fa9;
$custom-light: #a18dc3;
$custom-dark: #000000;
JSON
{
  "hex": "#795fa9",
  "rgb": {
    "r": 121,
    "g": 95,
    "b": 169
  },
  "hsl": {
    "h": 261.081,
    "s": 30.081,
    "l": 51.765
  },
  "oklch": {
    "l": 0.54343,
    "c": 0.11501,
    "h": 298.7
  },
  "luminance": 0.15114
}

Semantic roles & 50–950 ramp

primary
#795FA9
secondary
#B7C2A2
accent
#C661A3
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#0F0C12
muted
#7F7D81

Preview Lab

Preview with #795FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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