#794DA7#794DA7

#794DA7 is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.1% C 0.142 H 304.4°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#794DA7
RGBrgb(121, 77, 167)
HSLhsl(269, 37%, 48%)
HSVhsv(269, 54%, 65%)
CMYKcmyk(27.5%, 53.9%, 0%, 34.5%)
CIE-LABlab(41.47, 36.78, -41.69)
CIE-LCHlch(41.47, 55.60, 311.42°)
OKLaboklab(51.09% 0.0804 -0.1173)
OKLCHoklch(51.09% 0.142 304.4)
XYZxyz(17.5126, 12.1628, 37.9768)
Luminance0.1216 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794DA7 #7BA74D
analogous
#4D4EA7 #794DA7 #A64DA7
triadic
#794DA7 #A7794D #4DA779
tetradic
#794DA7 #A74D4E #7BA74D #4DA7A6
square
#794DA7 #A74D4E #7BA74D #4DA7A6
split-complementary
#794DA7 #A7A64D #4EA74D
monochromatic
#3C2653 #5B3A7D #794DA7 #9873BE #B79DD2

Accessibility & contrast

On white

6.12
#794DA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#794DA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794DA7
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794DA7#FFFFFF#000000##FFFFFF
##794DA71.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F61AA
Deuteranopia (green-blind)
#3D62A5
Tritanopia (blue-blind)
#715E72
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #794da7;
/* rgb */ color: rgb(121, 77, 167);
/* oklch */ color: oklch(51.1% 0.142 304.4);
Tailwind
colors: {
  custom: {
    50: '#a280c1',
    500: '#794da7',
    950: '#000000',
  },
}
SCSS
$custom: #794da7;
$custom-light: #a280c1;
$custom-dark: #000000;
JSON
{
  "hex": "#794da7",
  "rgb": {
    "r": 121,
    "g": 77,
    "b": 167
  },
  "hsl": {
    "h": 269.333,
    "s": 36.885,
    "l": 47.843
  },
  "oklch": {
    "l": 0.51085,
    "c": 0.14222,
    "h": 304.4
  },
  "luminance": 0.12163
}

Semantic roles & 50–950 ramp

primary
#794DA7
secondary
#A8BE91
accent
#CD5B95
background
#FAF7FB
surface
#F4EEF7
border
#CEC9D0
text
#0F0A12
muted
#7F7C81

Preview Lab

Preview with #794DA7

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

Preview Lab → · Contrast checker → · Palette generator →

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