#795AA6#795AA6

#795AA6 is a mid, moderate violet. Relative luminance 0.141; OKLCH L 53.3% C 0.119 H 301.3°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#795AA6
RGBrgb(121, 90, 166)
HSLhsl(264, 30%, 50%)
HSVhsv(264, 46%, 65%)
CMYKcmyk(27.1%, 45.8%, 0%, 34.9%)
CIE-LABlab(44.42, 28.93, -36.42)
CIE-LCHlch(44.42, 46.52, 308.46°)
OKLaboklab(53.26% 0.062 -0.102)
OKLCHoklch(53.26% 0.119 301.3)
XYZxyz(18.4227, 14.1304, 37.8259)
Luminance0.1413 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795AA6 #87A65A
analogous
#5A61A6 #795AA6 #9F5AA6
triadic
#795AA6 #A6795A #5AA679
tetradic
#795AA6 #A65A61 #87A65A #5AA69F
square
#795AA6 #A65A61 #87A65A #5AA69F
split-complementary
#795AA6 #A69F5A #61A65A
monochromatic
#3F2F57 #5C447F #795AA6 #9982BB #BAAAD1

Accessibility & contrast

On white

5.49
#795AA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#795AA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795AA6
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795AA6#FFFFFF#000000##FFFFFF
##795AA61.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4469A9
Deuteranopia (green-blind)
#4B69A4
Tritanopia (blue-blind)
#716778
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #795aa6;
/* rgb */ color: rgb(121, 90, 166);
/* oklch */ color: oklch(53.3% 0.119 301.3);
Tailwind
colors: {
  custom: {
    50: '#a189c1',
    500: '#795aa6',
    950: '#000000',
  },
}
SCSS
$custom: #795aa6;
$custom-light: #a189c1;
$custom-dark: #000000;
JSON
{
  "hex": "#795aa6",
  "rgb": {
    "r": 121,
    "g": 90,
    "b": 166
  },
  "hsl": {
    "h": 264.474,
    "s": 29.921,
    "l": 50.196
  },
  "oklch": {
    "l": 0.53261,
    "c": 0.11934,
    "h": 301.3
  },
  "luminance": 0.1413
}

Semantic roles & 50–950 ramp

primary
#795AA6
secondary
#B1BF9D
accent
#C6629D
background
#FAF8FB
surface
#F4F0F7
border
#CECBD0
text
#0F0B12
muted
#7F7C81

Preview Lab

Preview with #795AA6

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

Preview Lab → · Contrast checker → · Palette generator →

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