#794875#794875

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

Color values

HEX#794875
RGBrgb(121, 72, 117)
HSLhsl(305, 25%, 38%)
HSVhsv(305, 40%, 47%)
CMYKcmyk(0%, 40.5%, 3.3%, 52.5%)
CIE-LABlab(37.81, 28.36, -17.08)
CIE-LCHlch(37.81, 33.10, 328.94°)
OKLaboklab(47.53% 0.0798 -0.0463)
OKLCHoklch(47.53% 0.092 329.9)
XYZxyz(13.4132, 9.9847, 18.0469)
Luminance0.0998 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794875 #48794C
analogous
#644879 #794875 #79485C
triadic
#794875 #757948 #487579
tetradic
#794875 #796448 #48794C #485C79
square
#794875 #796448 #48794C #485C79
split-complementary
#794875 #5C7948 #487964
monochromatic
#2C1A2B #533150 #794875 #9F5F9A #B685B2

Accessibility & contrast

On white

7.01
#794875 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#794875 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794875
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794875#FFFFFF#000000##FFFFFF
##7948751.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465577
Deuteranopia (green-blind)
#535B73
Tritanopia (blue-blind)
#7C4C59
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #794875;
/* rgb */ color: rgb(121, 72, 117);
/* oklch */ color: oklch(47.5% 0.092 329.9);
Tailwind
colors: {
  custom: {
    50: '#a17c9d',
    500: '#794875',
    950: '#000000',
  },
}
SCSS
$custom: #794875;
$custom-light: #a17c9d;
$custom-dark: #000000;
JSON
{
  "hex": "#794875",
  "rgb": {
    "r": 121,
    "g": 72,
    "b": 117
  },
  "hsl": {
    "h": 304.898,
    "s": 25.389,
    "l": 37.843
  },
  "oklch": {
    "l": 0.47533,
    "c": 0.09224,
    "h": 329.9
  },
  "luminance": 0.09984
}

Semantic roles & 50–950 ramp

primary
#794875
secondary
#7AA27E
accent
#C26E66
background
#FAF7F9
surface
#F3EEF2
border
#CDC9CC
text
#0F090E
muted
#7F7B7E

Preview Lab

Preview with #794875

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

Preview Lab → · Contrast checker → · Palette generator →

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