#794871#794871

#794871 is a mid, moderate purple. Relative luminance 0.099; OKLCH L 47.4% C 0.088 H 333.0°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#794871
RGBrgb(121, 72, 113)
HSLhsl(310, 25%, 38%)
HSVhsv(310, 40%, 47%)
CMYKcmyk(0%, 40.5%, 6.6%, 52.5%)
CIE-LABlab(37.65, 27.57, -14.85)
CIE-LCHlch(37.65, 31.32, 331.70°)
OKLaboklab(47.35% 0.0787 -0.04)
OKLCHoklch(47.35% 0.088 333)
XYZxyz(13.1830, 9.8926, 16.8347)
Luminance0.0989 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794871 #487950
analogous
#684879 #794871 #794858
triadic
#794871 #717948 #487179
tetradic
#794871 #796848 #487950 #485879
square
#794871 #796848 #487950 #485879
split-complementary
#794871 #587948 #487968
monochromatic
#2C1A29 #53314D #794871 #9F5F95 #B685AE

Accessibility & contrast

On white

7.05
#794871 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#794871 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #794871
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794871#FFFFFF#000000##FFFFFF
##7948711.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475473
Deuteranopia (green-blind)
#545B70
Tritanopia (blue-blind)
#7D4B57
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #794871;
/* rgb */ color: rgb(121, 72, 113);
/* oklch */ color: oklch(47.4% 0.088 333.0);
Tailwind
colors: {
  custom: {
    50: '#a17c9a',
    500: '#794871',
    950: '#000000',
  },
}
SCSS
$custom: #794871;
$custom-light: #a17c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#794871",
  "rgb": {
    "r": 121,
    "g": 72,
    "b": 113
  },
  "hsl": {
    "h": 309.796,
    "s": 25.389,
    "l": 37.843
  },
  "oklch": {
    "l": 0.47353,
    "c": 0.08826,
    "h": 333
  },
  "luminance": 0.09892
}

Semantic roles & 50–950 ramp

primary
#794871
secondary
#7AA281
accent
#C27566
background
#FAF7F9
surface
#F3EEF2
border
#CDC9CC
text
#0F090E
muted
#7F7B7E

Preview Lab

Preview with #794871

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

Preview Lab → · Contrast checker → · Palette generator →

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