#795CA5#795CA5

#795CA5 is a mid, moderate violet. Relative luminance 0.144; OKLCH L 53.6% C 0.115 H 300.9°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#795CA5
RGBrgb(121, 92, 165)
HSLhsl(264, 29%, 50%)
HSVhsv(264, 44%, 65%)
CMYKcmyk(26.7%, 44.2%, 0%, 35.3%)
CIE-LABlab(44.85, 27.49, -35.15)
CIE-LCHlch(44.85, 44.62, 308.02°)
OKLaboklab(53.57% 0.0589 -0.0983)
OKLCHoklch(53.57% 0.115 300.9)
XYZxyz(18.5023, 14.4358, 37.4016)
Luminance0.1444 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795CA5 #88A55C
analogous
#5C63A5 #795CA5 #9E5CA5
triadic
#795CA5 #A5795C #5CA579
tetradic
#795CA5 #A55C63 #88A55C #5CA59E
square
#795CA5 #A55C63 #88A55C #5CA59E
split-complementary
#795CA5 #A59E5C #63A55C
monochromatic
#3F3057 #5C467E #795CA5 #9983BB #BAABD1

Accessibility & contrast

On white

5.40
#795CA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#795CA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795CA5
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795CA5#FFFFFF#000000##FFFFFF
##795CA51.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#486AA8
Deuteranopia (green-blind)
#4E6AA3
Tritanopia (blue-blind)
#716978
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #795ca5;
/* rgb */ color: rgb(121, 92, 165);
/* oklch */ color: oklch(53.6% 0.115 300.9);
Tailwind
colors: {
  custom: {
    50: '#a18ac0',
    500: '#795ca5',
    950: '#000000',
  },
}
SCSS
$custom: #795ca5;
$custom-light: #a18ac0;
$custom-dark: #000000;
JSON
{
  "hex": "#795ca5",
  "rgb": {
    "r": 121,
    "g": 92,
    "b": 165
  },
  "hsl": {
    "h": 263.836,
    "s": 28.854,
    "l": 50.392
  },
  "oklch": {
    "l": 0.53569,
    "c": 0.1146,
    "h": 300.9
  },
  "luminance": 0.14436
}

Semantic roles & 50–950 ramp

primary
#795CA5
secondary
#B2BF9E
accent
#C5639E
background
#FAF8FB
surface
#F4F0F7
border
#CECBD0
text
#0F0C12
muted
#7F7D81

Preview Lab

Preview with #795CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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