#794889#794889

#794889 is a mid, moderate purple. Relative luminance 0.105; OKLCH L 48.5% C 0.114 H 317.4°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#794889
RGBrgb(121, 72, 137)
HSLhsl(285, 31%, 41%)
HSVhsv(285, 47%, 54%)
CMYKcmyk(11.7%, 47.4%, 0%, 46.3%)
CIE-LABlab(38.74, 32.56, -27.96)
CIE-LCHlch(38.74, 42.92, 319.35°)
OKLaboklab(48.53% 0.0842 -0.0774)
OKLCHoklch(48.53% 0.114 317.4)
XYZxyz(14.7172, 10.5063, 24.9147)
Luminance0.1051 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794889 #588948
analogous
#584889 #794889 #894878
triadic
#794889 #897948 #488979
tetradic
#794889 #895848 #588948 #487889
square
#794889 #895848 #588948 #487889
split-complementary
#794889 #788948 #488958
monochromatic
#321E39 #563361 #794889 #9A62AC #B48AC1

Accessibility & contrast

On white

6.77
#794889 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#794889 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794889
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794889#FFFFFF#000000##FFFFFF
##7948891.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D588B
Deuteranopia (green-blind)
#4A5D87
Tritanopia (blue-blind)
#795162
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #794889;
/* rgb */ color: rgb(121, 72, 137);
/* oklch */ color: oklch(48.5% 0.114 317.4);
Tailwind
colors: {
  custom: {
    50: '#a17cab',
    500: '#794889',
    950: '#000000',
  },
}
SCSS
$custom: #794889;
$custom-light: #a17cab;
$custom-dark: #000000;
JSON
{
  "hex": "#794889",
  "rgb": {
    "r": 121,
    "g": 72,
    "b": 137
  },
  "hsl": {
    "h": 285.231,
    "s": 31.1,
    "l": 40.98
  },
  "oklch": {
    "l": 0.48525,
    "c": 0.11433,
    "h": 317.4
  },
  "luminance": 0.10506
}

Semantic roles & 50–950 ramp

primary
#794889
secondary
#8BAD80
accent
#C7617A
background
#FAF7FA
surface
#F3EEF4
border
#CDC9CE
text
#0F0910
muted
#7F7B7F

Preview Lab

Preview with #794889

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

Preview Lab → · Contrast checker → · Palette generator →

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