#794DA1#794DA1

#794DA1 is a mid, vivid violet. Relative luminance 0.119; OKLCH L 50.7% C 0.135 H 306.4°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#794DA1
RGBrgb(121, 77, 161)
HSLhsl(271, 35%, 47%)
HSVhsv(271, 52%, 63%)
CMYKcmyk(24.8%, 52.2%, 0%, 36.9%)
CIE-LABlab(41.13, 35.30, -38.66)
CIE-LCHlch(41.13, 52.35, 312.40°)
OKLaboklab(50.72% 0.0799 -0.1085)
OKLCHoklch(50.72% 0.135 306.4)
XYZxyz(16.9707, 11.9461, 35.1231)
Luminance0.1195 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794DA1 #75A14D
analogous
#4F4DA1 #794DA1 #A14D9F
triadic
#794DA1 #A1794D #4DA179
tetradic
#794DA1 #A14F4D #75A14D #4D9FA1
square
#794DA1 #A14F4D #75A14D #4D9FA1
split-complementary
#794DA1 #9FA14D #4DA14F
monochromatic
#3B254E #5A3978 #794DA1 #9770BB #B59ACF

Accessibility & contrast

On white

6.20
#794DA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#794DA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794DA1
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794DA1#FFFFFF#000000##FFFFFF
##794DA11.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345FA4
Deuteranopia (green-blind)
#41619F
Tritanopia (blue-blind)
#735C70
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #794da1;
/* rgb */ color: rgb(121, 77, 161);
/* oklch */ color: oklch(50.7% 0.135 306.4);
Tailwind
colors: {
  custom: {
    50: '#a280bd',
    500: '#794da1',
    950: '#000000',
  },
}
SCSS
$custom: #794da1;
$custom-light: #a280bd;
$custom-dark: #000000;
JSON
{
  "hex": "#794da1",
  "rgb": {
    "r": 121,
    "g": 77,
    "b": 161
  },
  "hsl": {
    "h": 271.429,
    "s": 35.294,
    "l": 46.667
  },
  "oklch": {
    "l": 0.50719,
    "c": 0.13474,
    "h": 306.4
  },
  "luminance": 0.11946
}

Semantic roles & 50–950 ramp

primary
#794DA1
secondary
#A4BB8F
accent
#CB5C91
background
#FAF7FB
surface
#F4EEF6
border
#CEC9D0
text
#0F0A12
muted
#7F7C81

Preview Lab

Preview with #794DA1

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

Preview Lab → · Contrast checker → · Palette generator →

#794DA1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva