#795EA0#795EA0

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

Color values

HEX#795EA0
RGBrgb(121, 94, 160)
HSLhsl(265, 26%, 50%)
HSVhsv(265, 41%, 63%)
CMYKcmyk(24.4%, 41.3%, 0%, 37.3%)
CIE-LABlab(45.09, 25.03, -31.81)
CIE-LCHlch(45.09, 40.48, 308.19°)
OKLaboklab(53.67% 0.0551 -0.0886)
OKLCHoklch(53.67% 0.104 301.8)
XYZxyz(18.2316, 14.6084, 35.1101)
Luminance0.1461 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795EA0 #85A05E
analogous
#5E64A0 #795EA0 #9A5EA0
triadic
#795EA0 #A0795E #5EA079
tetradic
#795EA0 #A05E64 #85A05E #5EA09A
square
#795EA0 #A05E64 #85A05E #5EA09A
split-complementary
#795EA0 #A09A5E #64A05E
monochromatic
#3F3153 #5C4779 #795EA0 #9984B7 #B9ABCE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##795EA0#FFFFFF#000000##FFFFFF
##795EA01.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)
#4D6AA2
Deuteranopia (green-blind)
#536A9E
Tritanopia (blue-blind)
#726977
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #795ea0;
/* rgb */ color: rgb(121, 94, 160);
/* oklch */ color: oklch(53.7% 0.104 301.8);
Tailwind
colors: {
  custom: {
    50: '#a18cbc',
    500: '#795ea0',
    950: '#000000',
  },
}
SCSS
$custom: #795ea0;
$custom-light: #a18cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#795ea0",
  "rgb": {
    "r": 121,
    "g": 94,
    "b": 160
  },
  "hsl": {
    "h": 264.545,
    "s": 25.984,
    "l": 49.804
  },
  "oklch": {
    "l": 0.5367,
    "c": 0.10434,
    "h": 301.8
  },
  "luminance": 0.14608
}

Semantic roles & 50–950 ramp

primary
#795EA0
secondary
#B0BC9E
accent
#C2659C
background
#FAF8FB
surface
#F3F0F6
border
#CDCBD0
text
#0F0C12
muted
#7F7D81

Preview Lab

Preview with #795EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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