#794882#794882

#794882 is a mid, moderate purple. Relative luminance 0.103; OKLCH L 48.2% C 0.106 H 321.2°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#794882
RGBrgb(121, 72, 130)
HSLhsl(291, 29%, 40%)
HSVhsv(291, 45%, 51%)
CMYKcmyk(6.9%, 44.6%, 0%, 49%)
CIE-LABlab(38.40, 31.04, -24.20)
CIE-LCHlch(38.40, 39.36, 322.05°)
OKLaboklab(48.16% 0.0829 -0.0666)
OKLCHoklch(48.16% 0.106 321.2)
XYZxyz(14.2313, 10.3119, 22.3555)
Luminance0.1031 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794882 #518248
analogous
#5C4882 #794882 #82486E
triadic
#794882 #827948 #488279
tetradic
#794882 #825C48 #518248 #486E82
square
#794882 #825C48 #518248 #486E82
split-complementary
#794882 #6E8248 #48825C
monochromatic
#301C33 #54325B #794882 #9C60A7 #B588BD

Accessibility & contrast

On white

6.86
#794882 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #794882
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794882#FFFFFF#000000##FFFFFF
##7948821.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405784
Deuteranopia (green-blind)
#4D5C80
Tritanopia (blue-blind)
#7A4F5F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #794882;
/* rgb */ color: rgb(121, 72, 130);
/* oklch */ color: oklch(48.2% 0.106 321.2);
Tailwind
colors: {
  custom: {
    50: '#a17ca6',
    500: '#794882',
    950: '#000000',
  },
}
SCSS
$custom: #794882;
$custom-light: #a17ca6;
$custom-dark: #000000;
JSON
{
  "hex": "#794882",
  "rgb": {
    "r": 121,
    "g": 72,
    "b": 130
  },
  "hsl": {
    "h": 290.69,
    "s": 28.713,
    "l": 39.608
  },
  "oklch": {
    "l": 0.4816,
    "c": 0.1063,
    "h": 321.2
  },
  "luminance": 0.10311
}

Semantic roles & 50–950 ramp

primary
#794882
secondary
#84A97D
accent
#C56372
background
#FAF7FA
surface
#F3EEF4
border
#CDC9CE
text
#0F090F
muted
#7F7B7F

Preview Lab

Preview with #794882

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

Preview Lab → · Contrast checker → · Palette generator →

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