#794879#794879

#794879 is a mid, moderate purple. Relative luminance 0.101; OKLCH L 47.7% C 0.096 H 327.0°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#794879
RGBrgb(121, 72, 121)
HSLhsl(300, 25%, 38%)
HSVhsv(300, 40%, 47%)
CMYKcmyk(0%, 40.5%, 0%, 52.5%)
CIE-LABlab(37.99, 29.16, -19.29)
CIE-LCHlch(37.99, 34.96, 326.51°)
OKLaboklab(47.72% 0.0808 -0.0526)
OKLCHoklch(47.72% 0.096 327)
XYZxyz(13.6534, 10.0808, 19.3120)
Luminance0.1008 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794879 #487948
analogous
#604879 #794879 #794860
triadic
#794879 #797948 #487979
tetradic
#794879 #796048 #487948 #486079
square
#794879 #796048 #487948 #486079
split-complementary
#794879 #607948 #487960
monochromatic
#2C1A2C #533153 #794879 #9F5F9F #B685B6

Accessibility & contrast

On white

6.96
#794879 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#794879 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794879
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794879#FFFFFF#000000##FFFFFF
##7948791.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#44557B
Deuteranopia (green-blind)
#515C77
Tritanopia (blue-blind)
#7C4D5B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #794879;
/* rgb */ color: rgb(121, 72, 121);
/* oklch */ color: oklch(47.7% 0.096 327.0);
Tailwind
colors: {
  custom: {
    50: '#a17ca0',
    500: '#794879',
    950: '#000000',
  },
}
SCSS
$custom: #794879;
$custom-light: #a17ca0;
$custom-dark: #000000;
JSON
{
  "hex": "#794879",
  "rgb": {
    "r": 121,
    "g": 72,
    "b": 121
  },
  "hsl": {
    "h": 300,
    "s": 25.389,
    "l": 37.843
  },
  "oklch": {
    "l": 0.47719,
    "c": 0.09641,
    "h": 327
  },
  "luminance": 0.1008
}

Semantic roles & 50–950 ramp

primary
#794879
secondary
#7AA27A
accent
#C26666
background
#FAF7F9
surface
#F3EEF2
border
#CDC9CC
text
#0F090E
muted
#7F7B7E

Preview Lab

Preview with #794879

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

Preview Lab → · Contrast checker → · Palette generator →

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