#794282#794282

#794282 is a mid, moderate purple. Relative luminance 0.096; OKLCH L 47.2% C 0.117 H 321.8°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#794282
RGBrgb(121, 66, 130)
HSLhsl(292, 33%, 38%)
HSVhsv(292, 49%, 51%)
CMYKcmyk(6.9%, 49.2%, 0%, 49%)
CIE-LABlab(37.07, 34.46, -26.28)
CIE-LCHlch(37.07, 43.33, 322.67°)
OKLaboklab(47.17% 0.0922 -0.0725)
OKLCHoklch(47.17% 0.117 321.8)
XYZxyz(13.8622, 9.5737, 22.2325)
Luminance0.0957 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794282 #4B8242
analogous
#594282 #794282 #82426B
triadic
#794282 #827942 #428279
tetradic
#794282 #825942 #4B8242 #426B82
square
#794282 #825942 #4B8242 #426B82
split-complementary
#794282 #6B8242 #428259
monochromatic
#2D1931 #532D59 #794282 #9E57AA #B680BE

Accessibility & contrast

On white

7.21
#794282 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#794282 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #794282
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794282#FFFFFF#000000##FFFFFF
##7942821.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395384
Deuteranopia (green-blind)
#495980
Tritanopia (blue-blind)
#7A4A5C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #794282;
/* rgb */ color: rgb(121, 66, 130);
/* oklch */ color: oklch(47.2% 0.117 321.8);
Tailwind
colors: {
  custom: {
    50: '#a178a6',
    500: '#794282',
    950: '#000000',
  },
}
SCSS
$custom: #794282;
$custom-light: #a178a6;
$custom-dark: #000000;
JSON
{
  "hex": "#794282",
  "rgb": {
    "r": 121,
    "g": 66,
    "b": 130
  },
  "hsl": {
    "h": 291.563,
    "s": 32.653,
    "l": 38.431
  },
  "oklch": {
    "l": 0.47169,
    "c": 0.11728,
    "h": 321.8
  },
  "luminance": 0.09573
}

Semantic roles & 50–950 ramp

primary
#794282
secondary
#7EA977
accent
#C95F6E
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#0F090F
muted
#7F7B7F

Preview Lab

Preview with #794282

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

Preview Lab → · Contrast checker → · Palette generator →

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