#795AA5#795AA5

#795AA5 is a mid, moderate violet. Relative luminance 0.141; OKLCH L 53.2% C 0.118 H 301.6°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#795AA5
RGBrgb(121, 90, 165)
HSLhsl(265, 29%, 50%)
HSVhsv(265, 45%, 65%)
CMYKcmyk(26.7%, 45.5%, 0%, 35.3%)
CIE-LABlab(44.37, 28.68, -35.92)
CIE-LCHlch(44.37, 45.96, 308.61°)
OKLaboklab(53.21% 0.0618 -0.1005)
OKLCHoklch(53.21% 0.118 301.6)
XYZxyz(18.3313, 14.0939, 37.3447)
Luminance0.1409 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795AA5 #86A55A
analogous
#5A60A5 #795AA5 #9F5AA5
triadic
#795AA5 #A5795A #5AA579
tetradic
#795AA5 #A55A60 #86A55A #5AA59F
square
#795AA5 #A55A60 #86A55A #5AA59F
split-complementary
#795AA5 #A59F5A #60A55A
monochromatic
#3F2F56 #5C447D #795AA5 #9982BB #B9A9D0

Accessibility & contrast

On white

5.50
#795AA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#795AA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795AA5
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795AA5#FFFFFF#000000##FFFFFF
##795AA51.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4568A8
Deuteranopia (green-blind)
#4C69A3
Tritanopia (blue-blind)
#716777
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #795aa5;
/* rgb */ color: rgb(121, 90, 165);
/* oklch */ color: oklch(53.2% 0.118 301.6);
Tailwind
colors: {
  custom: {
    50: '#a189c0',
    500: '#795aa5',
    950: '#000000',
  },
}
SCSS
$custom: #795aa5;
$custom-light: #a189c0;
$custom-dark: #000000;
JSON
{
  "hex": "#795aa5",
  "rgb": {
    "r": 121,
    "g": 90,
    "b": 165
  },
  "hsl": {
    "h": 264.8,
    "s": 29.412,
    "l": 50
  },
  "oklch": {
    "l": 0.53205,
    "c": 0.11799,
    "h": 301.6
  },
  "luminance": 0.14094
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #795AA5

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

Preview Lab → · Contrast checker → · Palette generator →

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