#794DA0#794DA0

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

Color values

HEX#794DA0
RGBrgb(121, 77, 160)
HSLhsl(272, 35%, 46%)
HSVhsv(272, 52%, 63%)
CMYKcmyk(24.4%, 51.9%, 0%, 37.3%)
CIE-LABlab(41.07, 35.06, -38.16)
CIE-LCHlch(41.07, 51.81, 312.57°)
OKLaboklab(50.66% 0.0798 -0.107)
OKLCHoklch(50.66% 0.134 306.7)
XYZxyz(16.8829, 11.9109, 34.6605)
Luminance0.1191 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794DA0 #74A04D
analogous
#504DA0 #794DA0 #A04D9E
triadic
#794DA0 #A0794D #4DA079
tetradic
#794DA0 #A0504D #74A04D #4D9EA0
square
#794DA0 #A0504D #74A04D #4D9EA0
split-complementary
#794DA0 #9EA04D #4DA050
monochromatic
#3B254D #5A3977 #794DA0 #9770BA #B599CE

Accessibility & contrast

On white

6.21
#794DA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#794DA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794DA0
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794DA0#FFFFFF#000000##FFFFFF
##794DA01.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355FA3
Deuteranopia (green-blind)
#42619E
Tritanopia (blue-blind)
#735C6F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #794da0;
/* rgb */ color: rgb(121, 77, 160);
/* oklch */ color: oklch(50.7% 0.134 306.7);
Tailwind
colors: {
  custom: {
    50: '#a280bc',
    500: '#794da0',
    950: '#000000',
  },
}
SCSS
$custom: #794da0;
$custom-light: #a280bc;
$custom-dark: #000000;
JSON
{
  "hex": "#794da0",
  "rgb": {
    "r": 121,
    "g": 77,
    "b": 160
  },
  "hsl": {
    "h": 271.807,
    "s": 35.021,
    "l": 46.471
  },
  "oklch": {
    "l": 0.50659,
    "c": 0.1335,
    "h": 306.7
  },
  "luminance": 0.11911
}

Semantic roles & 50–950 ramp

primary
#794DA0
secondary
#A3BB8E
accent
#CB5D91
background
#FAF7FB
surface
#F4EEF6
border
#CEC9D0
text
#0F0A12
muted
#7F7C81

Preview Lab

Preview with #794DA0

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

Preview Lab → · Contrast checker → · Palette generator →

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