#794292#794292

#794292 is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.1% C 0.135 H 314.2°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#794292
RGBrgb(121, 66, 146)
HSLhsl(281, 38%, 42%)
HSVhsv(281, 55%, 57%)
CMYKcmyk(17.1%, 54.8%, 0%, 42.7%)
CIE-LABlab(37.91, 37.96, -34.74)
CIE-LCHlch(37.91, 51.46, 317.54°)
OKLaboklab(48.07% 0.0942 -0.097)
OKLCHoklch(48.07% 0.135 314.2)
XYZxyz(15.0208, 10.0371, 28.3346)
Luminance0.1004 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794292 #5B9242
analogous
#514292 #794292 #924283
triadic
#794292 #927942 #429279
tetradic
#794292 #925142 #5B9242 #428392
square
#794292 #925142 #5B9242 #428392
split-complementary
#794292 #839242 #429251
monochromatic
#331C3E #562F68 #794292 #995CB5 #B486C8

Accessibility & contrast

On white

6.98
#794292 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#794292 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794292
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794292#FFFFFF#000000##FFFFFF
##7942921.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5695
Deuteranopia (green-blind)
#405B90
Tritanopia (blue-blind)
#774F63
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #794292;
/* rgb */ color: rgb(121, 66, 146);
/* oklch */ color: oklch(48.1% 0.135 314.2);
Tailwind
colors: {
  custom: {
    50: '#a279b2',
    500: '#794292',
    950: '#000000',
  },
}
SCSS
$custom: #794292;
$custom-light: #a279b2;
$custom-dark: #000000;
JSON
{
  "hex": "#794292",
  "rgb": {
    "r": 121,
    "g": 66,
    "b": 146
  },
  "hsl": {
    "h": 281.25,
    "s": 37.736,
    "l": 41.569
  },
  "oklch": {
    "l": 0.48067,
    "c": 0.13523,
    "h": 314.2
  },
  "luminance": 0.10037
}

Semantic roles & 50–950 ramp

primary
#794292
secondary
#8EB37D
accent
#CE5A7E
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#0F0911
muted
#7F7B80

Preview Lab

Preview with #794292

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

Preview Lab → · Contrast checker → · Palette generator →

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