#794381#794381

#794381 is a mid, moderate purple. Relative luminance 0.097; OKLCH L 47.3% C 0.114 H 322.3°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#794381
RGBrgb(121, 67, 129)
HSLhsl(292, 32%, 38%)
HSVhsv(292, 48%, 51%)
CMYKcmyk(6.2%, 48.1%, 0%, 49.4%)
CIE-LABlab(37.23, 33.68, -25.40)
CIE-LCHlch(37.23, 42.19, 322.98°)
OKLaboklab(47.28% 0.0905 -0.07)
OKLCHoklch(47.28% 0.114 322.3)
XYZxyz(13.8543, 9.6648, 21.9003)
Luminance0.0966 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794381 #4B8143
analogous
#5A4381 #794381 #81436A
triadic
#794381 #817943 #438179
tetradic
#794381 #815A43 #4B8143 #436A81
square
#794381 #815A43 #4B8143 #436A81
split-complementary
#794381 #6A8143 #43815A
monochromatic
#2D1930 #532E59 #794381 #9E59A9 #B681BE

Accessibility & contrast

On white

7.16
#794381 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#794381 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #794381
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794381#FFFFFF#000000##FFFFFF
##7943811.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5483
Deuteranopia (green-blind)
#4A5A7F
Tritanopia (blue-blind)
#7B4B5C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #794381;
/* rgb */ color: rgb(121, 67, 129);
/* oklch */ color: oklch(47.3% 0.114 322.3);
Tailwind
colors: {
  custom: {
    50: '#a179a6',
    500: '#794381',
    950: '#000000',
  },
}
SCSS
$custom: #794381;
$custom-light: #a179a6;
$custom-dark: #000000;
JSON
{
  "hex": "#794381",
  "rgb": {
    "r": 121,
    "g": 67,
    "b": 129
  },
  "hsl": {
    "h": 292.258,
    "s": 31.633,
    "l": 38.431
  },
  "oklch": {
    "l": 0.47277,
    "c": 0.11439,
    "h": 322.3
  },
  "luminance": 0.09664
}

Semantic roles & 50–950 ramp

primary
#794381
secondary
#7EA977
accent
#C8606D
background
#FAF7FA
surface
#F3EDF4
border
#CDC8CE
text
#0F090F
muted
#7F7B7F

Preview Lab

Preview with #794381

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

Preview Lab → · Contrast checker → · Palette generator →

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