#795397#795397

#795397 is a mid, moderate violet. Relative luminance 0.125; OKLCH L 51.2% C 0.112 H 308.7°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#795397
RGBrgb(121, 83, 151)
HSLhsl(274, 29%, 46%)
HSVhsv(274, 45%, 59%)
CMYKcmyk(19.9%, 45%, 0%, 40.8%)
CIE-LABlab(41.98, 29.37, -31.34)
CIE-LCHlch(41.98, 42.95, 313.14°)
OKLaboklab(51.18% 0.0699 -0.0872)
OKLCHoklch(51.18% 0.112 308.7)
XYZxyz(16.5633, 12.4860, 30.8096)
Luminance0.1249 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795397 #719753
analogous
#575397 #795397 #975393
triadic
#795397 #977953 #539779
tetradic
#795397 #975753 #719753 #539397
square
#795397 #975753 #719753 #539397
split-complementary
#795397 #939753 #539757
monochromatic
#3A2848 #593D70 #795397 #9774B3 #B59CC9

Accessibility & contrast

On white

6.00
#795397 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#795397 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795397
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795397#FFFFFF#000000##FFFFFF
##7953971.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#436199
Deuteranopia (green-blind)
#4D6495
Tritanopia (blue-blind)
#755E6E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #795397;
/* rgb */ color: rgb(121, 83, 151);
/* oklch */ color: oklch(51.2% 0.112 308.7);
Tailwind
colors: {
  custom: {
    50: '#a184b6',
    500: '#795397',
    950: '#000000',
  },
}
SCSS
$custom: #795397;
$custom-light: #a184b6;
$custom-dark: #000000;
JSON
{
  "hex": "#795397",
  "rgb": {
    "r": 121,
    "g": 83,
    "b": 151
  },
  "hsl": {
    "h": 273.529,
    "s": 29.06,
    "l": 45.882
  },
  "oklch": {
    "l": 0.51178,
    "c": 0.11173,
    "h": 308.7
  },
  "luminance": 0.12486
}

Semantic roles & 50–950 ramp

primary
#795397
secondary
#A1B690
accent
#C5628E
background
#FAF8FB
surface
#F3EFF6
border
#CDCAD0
text
#0F0B11
muted
#7F7C80

Preview Lab

Preview with #795397

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

Preview Lab → · Contrast checker → · Palette generator →

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