#794779#794779

#794779 is a mid, moderate purple. Relative luminance 0.100; OKLCH L 47.5% C 0.098 H 327.0°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#794779
RGBrgb(121, 71, 121)
HSLhsl(300, 26%, 38%)
HSVhsv(300, 41%, 47%)
CMYKcmyk(0%, 41.3%, 0%, 52.5%)
CIE-LABlab(37.76, 29.74, -19.64)
CIE-LCHlch(37.76, 35.64, 326.55°)
OKLaboklab(47.55% 0.0824 -0.0536)
OKLCHoklch(47.55% 0.098 327)
XYZxyz(13.5893, 9.9525, 19.2907)
Luminance0.0995 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794779 #477947
analogous
#604779 #794779 #794760
triadic
#794779 #797947 #477979
tetradic
#794779 #796047 #477947 #476079
square
#794779 #796047 #477947 #476079
split-complementary
#794779 #607947 #477960
monochromatic
#2C1A2C #523052 #794779 #A05EA0 #B784B7

Accessibility & contrast

On white

7.02
#794779 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#794779 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #794779
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794779#FFFFFF#000000##FFFFFF
##7947791.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43557B
Deuteranopia (green-blind)
#505B77
Tritanopia (blue-blind)
#7C4C5A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #794779;
/* rgb */ color: rgb(121, 71, 121);
/* oklch */ color: oklch(47.5% 0.098 327.0);
Tailwind
colors: {
  custom: {
    50: '#a17ba0',
    500: '#794779',
    950: '#000000',
  },
}
SCSS
$custom: #794779;
$custom-light: #a17ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#794779",
  "rgb": {
    "r": 121,
    "g": 71,
    "b": 121
  },
  "hsl": {
    "h": 300,
    "s": 26.042,
    "l": 37.647
  },
  "oklch": {
    "l": 0.47546,
    "c": 0.09832,
    "h": 327
  },
  "luminance": 0.09952
}

Semantic roles & 50–950 ramp

primary
#794779
secondary
#79A379
accent
#C26565
background
#FAF7F9
surface
#F3EEF2
border
#CDC9CC
text
#0F090E
muted
#7F7B7E

Preview Lab

Preview with #794779

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

Preview Lab → · Contrast checker → · Palette generator →

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