#794881#794881

#794881 is a mid, moderate purple. Relative luminance 0.103; OKLCH L 48.1% C 0.105 H 321.8°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#794881
RGBrgb(121, 72, 129)
HSLhsl(292, 28%, 39%)
HSVhsv(292, 44%, 51%)
CMYKcmyk(6.2%, 44.2%, 0%, 49.4%)
CIE-LABlab(38.35, 30.82, -23.66)
CIE-LCHlch(38.35, 38.86, 322.49°)
OKLaboklab(48.11% 0.0827 -0.065)
OKLCHoklch(48.11% 0.105 321.8)
XYZxyz(14.1645, 10.2852, 22.0037)
Luminance0.1028 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794881 #508148
analogous
#5D4881 #794881 #81486D
triadic
#794881 #817948 #488179
tetradic
#794881 #815D48 #508148 #486D81
square
#794881 #815D48 #508148 #486D81
split-complementary
#794881 #6D8148 #48815D
monochromatic
#2F1C32 #54325A #794881 #9C60A6 #B587BC

Accessibility & contrast

On white

6.87
#794881 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#794881 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794881
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794881#FFFFFF#000000##FFFFFF
##7948811.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415783
Deuteranopia (green-blind)
#4E5C7F
Tritanopia (blue-blind)
#7A4F5E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #794881;
/* rgb */ color: rgb(121, 72, 129);
/* oklch */ color: oklch(48.1% 0.105 321.8);
Tailwind
colors: {
  custom: {
    50: '#a17ca6',
    500: '#794881',
    950: '#000000',
  },
}
SCSS
$custom: #794881;
$custom-light: #a17ca6;
$custom-dark: #000000;
JSON
{
  "hex": "#794881",
  "rgb": {
    "r": 121,
    "g": 72,
    "b": 129
  },
  "hsl": {
    "h": 291.579,
    "s": 28.358,
    "l": 39.412
  },
  "oklch": {
    "l": 0.48109,
    "c": 0.10517,
    "h": 321.8
  },
  "luminance": 0.10285
}

Semantic roles & 50–950 ramp

primary
#794881
secondary
#83A87D
accent
#C56371
background
#FAF7FA
surface
#F3EEF4
border
#CDC9CE
text
#0F090F
muted
#7F7B7F

Preview Lab

Preview with #794881

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

Preview Lab → · Contrast checker → · Palette generator →

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