#795597#795597

#795597 is a mid, moderate violet. Relative luminance 0.128; OKLCH L 51.5% C 0.108 H 308.2°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#795597
RGBrgb(121, 85, 151)
HSLhsl(273, 28%, 46%)
HSVhsv(273, 44%, 59%)
CMYKcmyk(19.9%, 43.7%, 0%, 40.8%)
CIE-LABlab(42.45, 28.19, -30.59)
CIE-LCHlch(42.45, 41.60, 312.66°)
OKLaboklab(51.54% 0.0668 -0.085)
OKLCHoklch(51.54% 0.108 308.2)
XYZxyz(16.7185, 12.7965, 30.8614)
Luminance0.1280 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795597 #739755
analogous
#585597 #795597 #975594
triadic
#795597 #977955 #559779
tetradic
#795597 #975855 #739755 #559497
square
#795597 #975855 #739755 #559497
split-complementary
#795597 #949755 #559758
monochromatic
#3A2949 #5A3F70 #795597 #9777B2 #B59EC8

Accessibility & contrast

On white

5.90
#795597 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#795597 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795597
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795597#FFFFFF#000000##FFFFFF
##7955971.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#466399
Deuteranopia (green-blind)
#4F6595
Tritanopia (blue-blind)
#755F6F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #795597;
/* rgb */ color: rgb(121, 85, 151);
/* oklch */ color: oklch(51.5% 0.108 308.2);
Tailwind
colors: {
  custom: {
    50: '#a185b6',
    500: '#795597',
    950: '#000000',
  },
}
SCSS
$custom: #795597;
$custom-light: #a185b6;
$custom-dark: #000000;
JSON
{
  "hex": "#795597",
  "rgb": {
    "r": 121,
    "g": 85,
    "b": 151
  },
  "hsl": {
    "h": 272.727,
    "s": 27.966,
    "l": 46.275
  },
  "oklch": {
    "l": 0.51536,
    "c": 0.10817,
    "h": 308.2
  },
  "luminance": 0.12796
}

Semantic roles & 50–950 ramp

primary
#795597
secondary
#A2B692
accent
#C46490
background
#FAF8FB
surface
#F3EFF6
border
#CDCAD0
text
#0F0B11
muted
#7F7C80

Preview Lab

Preview with #795597

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

Preview Lab → · Contrast checker → · Palette generator →

#795597 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva