#794571#794571

#794571 is a mid, moderate purple. Relative luminance 0.095; OKLCH L 46.8% C 0.094 H 332.8°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#794571
RGBrgb(121, 69, 113)
HSLhsl(309, 27%, 37%)
HSVhsv(309, 43%, 47%)
CMYKcmyk(0%, 43%, 6.6%, 52.5%)
CIE-LABlab(36.96, 29.32, -15.91)
CIE-LCHlch(36.96, 33.35, 331.52°)
OKLaboklab(46.83% 0.0836 -0.043)
OKLCHoklch(46.83% 0.094 332.8)
XYZxyz(12.9938, 9.5141, 16.7716)
Luminance0.0951 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794571 #45794D
analogous
#674579 #794571 #794557
triadic
#794571 #717945 #457179
tetradic
#794571 #796745 #45794D #455779
square
#794571 #796745 #45794D #455779
split-complementary
#794571 #577945 #457967
monochromatic
#2B1928 #522F4D #794571 #A05B95 #B781AF

Accessibility & contrast

On white

7.23
#794571 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#794571 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #794571
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794571#FFFFFF#000000##FFFFFF
##7945711.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445273
Deuteranopia (green-blind)
#525A6F
Tritanopia (blue-blind)
#7D4856
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #794571;
/* rgb */ color: rgb(121, 69, 113);
/* oklch */ color: oklch(46.8% 0.094 332.8);
Tailwind
colors: {
  custom: {
    50: '#a17a9a',
    500: '#794571',
    950: '#000000',
  },
}
SCSS
$custom: #794571;
$custom-light: #a17a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#794571",
  "rgb": {
    "r": 121,
    "g": 69,
    "b": 113
  },
  "hsl": {
    "h": 309.231,
    "s": 27.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.46832,
    "c": 0.09405,
    "h": 332.8
  },
  "luminance": 0.09513
}

Semantic roles & 50–950 ramp

primary
#794571
secondary
#77A37E
accent
#C47364
background
#FAF7F9
surface
#F3EDF2
border
#CDC8CC
text
#0F090E
muted
#7F7B7E

Preview Lab

Preview with #794571

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

Preview Lab → · Contrast checker → · Palette generator →

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