#794294#794294

#794294 is a mid, vivid purple. Relative luminance 0.101; OKLCH L 48.2% C 0.138 H 313.3°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#794294
RGBrgb(121, 66, 148)
HSLhsl(280, 38%, 42%)
HSVhsv(280, 55%, 58%)
CMYKcmyk(18.2%, 55.4%, 0%, 42%)
CIE-LABlab(38.02, 38.42, -35.78)
CIE-LCHlch(38.02, 52.50, 317.04°)
OKLaboklab(48.19% 0.0944 -0.1)
OKLCHoklch(48.19% 0.138 313.3)
XYZxyz(15.1778, 10.0999, 29.1612)
Luminance0.1010 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794294 #5D9442
analogous
#504294 #794294 #944286
triadic
#794294 #947942 #429479
tetradic
#794294 #945042 #5D9442 #428694
square
#794294 #945042 #5D9442 #428694
split-complementary
#794294 #869442 #429450
monochromatic
#341C3F #562F6A #794294 #995DB7 #B487C9

Accessibility & contrast

On white

6.95
#794294 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#794294 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794294
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794294#FFFFFF#000000##FFFFFF
##7942941.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5697
Deuteranopia (green-blind)
#3F5B92
Tritanopia (blue-blind)
#775064
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #794294;
/* rgb */ color: rgb(121, 66, 148);
/* oklch */ color: oklch(48.2% 0.138 313.3);
Tailwind
colors: {
  custom: {
    50: '#a279b4',
    500: '#794294',
    950: '#000000',
  },
}
SCSS
$custom: #794294;
$custom-light: #a279b4;
$custom-dark: #000000;
JSON
{
  "hex": "#794294",
  "rgb": {
    "r": 121,
    "g": 66,
    "b": 148
  },
  "hsl": {
    "h": 280.244,
    "s": 38.318,
    "l": 41.961
  },
  "oklch": {
    "l": 0.48186,
    "c": 0.13753,
    "h": 313.3
  },
  "luminance": 0.10099
}

Semantic roles & 50–950 ramp

primary
#794294
secondary
#90B47E
accent
#CE5A80
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#0F0911
muted
#7F7B80

Preview Lab

Preview with #794294

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

Preview Lab → · Contrast checker → · Palette generator →

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