#794384#794384

#794384 is a mid, moderate purple. Relative luminance 0.097; OKLCH L 47.4% C 0.118 H 320.6°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#794384
RGBrgb(121, 67, 132)
HSLhsl(290, 33%, 39%)
HSVhsv(290, 49%, 52%)
CMYKcmyk(8.3%, 49.2%, 0%, 48.2%)
CIE-LABlab(37.38, 34.32, -27.01)
CIE-LCHlch(37.38, 43.68, 321.79°)
OKLaboklab(47.44% 0.091 -0.0746)
OKLCHoklch(47.44% 0.118 320.6)
XYZxyz(14.0567, 9.7457, 22.9660)
Luminance0.0974 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794384 #4E8443
analogous
#594384 #794384 #84436F
triadic
#794384 #847943 #438479
tetradic
#794384 #845943 #4E8443 #436F84
square
#794384 #845943 #4E8443 #436F84
split-complementary
#794384 #6F8443 #438459
monochromatic
#2F1A33 #542E5B #794384 #9D59AB #B582C0

Accessibility & contrast

On white

7.12
#794384 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#794384 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #794384
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794384#FFFFFF#000000##FFFFFF
##7943841.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395486
Deuteranopia (green-blind)
#495A82
Tritanopia (blue-blind)
#7A4B5D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #794384;
/* rgb */ color: rgb(121, 67, 132);
/* oklch */ color: oklch(47.4% 0.118 320.6);
Tailwind
colors: {
  custom: {
    50: '#a179a8',
    500: '#794384',
    950: '#000000',
  },
}
SCSS
$custom: #794384;
$custom-light: #a179a8;
$custom-dark: #000000;
JSON
{
  "hex": "#794384",
  "rgb": {
    "r": 121,
    "g": 67,
    "b": 132
  },
  "hsl": {
    "h": 289.846,
    "s": 32.663,
    "l": 39.02
  },
  "oklch": {
    "l": 0.47436,
    "c": 0.11768,
    "h": 320.6
  },
  "luminance": 0.09745
}

Semantic roles & 50–950 ramp

primary
#794384
secondary
#81AA78
accent
#C95F71
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#0F090F
muted
#7F7B7F

Preview Lab

Preview with #794384

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

Preview Lab → · Contrast checker → · Palette generator →

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