#795CAA#795CAA

#795CAA is a mid, vivid violet. Relative luminance 0.146; OKLCH L 53.8% C 0.121 H 299.5°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#795CAA
RGBrgb(121, 92, 170)
HSLhsl(262, 31%, 51%)
HSVhsv(262, 46%, 67%)
CMYKcmyk(28.8%, 45.9%, 0%, 33.3%)
CIE-LABlab(45.11, 28.77, -37.69)
CIE-LCHlch(45.11, 47.42, 307.36°)
OKLaboklab(53.85% 0.0597 -0.1057)
OKLCHoklch(53.85% 0.121 299.5)
XYZxyz(18.9663, 14.6214, 39.8454)
Luminance0.1462 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795CAA #8DAA5C
analogous
#5C66AA #795CAA #A05CAA
triadic
#795CAA #AA795C #5CAA79
tetradic
#795CAA #AA5C66 #8DAA5C #5CAAA0
square
#795CAA #AA5C66 #8DAA5C #5CAAA0
split-complementary
#795CAA #AAA05C #66AA5C
monochromatic
#40305C #5C4584 #795CAA #9A84BF #BBACD4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##795CAA#FFFFFF#000000##FFFFFF
##795CAA1.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)
#456BAD
Deuteranopia (green-blind)
#4B6AA8
Tritanopia (blue-blind)
#6F6A7B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #795caa;
/* rgb */ color: rgb(121, 92, 170);
/* oklch */ color: oklch(53.8% 0.121 299.5);
Tailwind
colors: {
  custom: {
    50: '#a28ac3',
    500: '#795caa',
    950: '#000000',
  },
}
SCSS
$custom: #795caa;
$custom-light: #a28ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#795caa",
  "rgb": {
    "r": 121,
    "g": 92,
    "b": 170
  },
  "hsl": {
    "h": 262.308,
    "s": 31.452,
    "l": 51.373
  },
  "oklch": {
    "l": 0.53849,
    "c": 0.12138,
    "h": 299.5
  },
  "luminance": 0.14622
}

Semantic roles & 50–950 ramp

primary
#795CAA
secondary
#B5C2A0
accent
#C860A1
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#0F0C12
muted
#7F7D81

Preview Lab

Preview with #795CAA

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

Preview Lab → · Contrast checker → · Palette generator →

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