#794CA8#794CA8

#794CA8 is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.0% C 0.145 H 304.3°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#794CA8
RGBrgb(121, 76, 168)
HSLhsl(269, 38%, 48%)
HSVhsv(269, 55%, 66%)
CMYKcmyk(28%, 54.8%, 0%, 34.1%)
CIE-LABlab(41.31, 37.60, -42.54)
CIE-LCHlch(41.31, 56.78, 311.48°)
OKLaboklab(50.99% 0.0818 -0.1198)
OKLCHoklch(50.99% 0.145 304.3)
XYZxyz(17.5359, 12.0611, 38.4424)
Luminance0.1206 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794CA8 #7BA84C
analogous
#4C4DA8 #794CA8 #A74CA8
triadic
#794CA8 #A8794C #4CA879
tetradic
#794CA8 #A84C4D #7BA84C #4CA8A7
square
#794CA8 #A84C4D #7BA84C #4CA8A7
split-complementary
#794CA8 #A8A74C #4DA84C
monochromatic
#3C2654 #5B397E #794CA8 #9872BF #B79CD2

Accessibility & contrast

On white

6.15
#794CA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#794CA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794CA8
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794CA8#FFFFFF#000000##FFFFFF
##794CA81.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C60AB
Deuteranopia (green-blind)
#3B61A6
Tritanopia (blue-blind)
#715D73
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #794ca8;
/* rgb */ color: rgb(121, 76, 168);
/* oklch */ color: oklch(51.0% 0.145 304.3);
Tailwind
colors: {
  custom: {
    50: '#a280c2',
    500: '#794ca8',
    950: '#000000',
  },
}
SCSS
$custom: #794ca8;
$custom-light: #a280c2;
$custom-dark: #000000;
JSON
{
  "hex": "#794ca8",
  "rgb": {
    "r": 121,
    "g": 76,
    "b": 168
  },
  "hsl": {
    "h": 269.348,
    "s": 37.705,
    "l": 47.843
  },
  "oklch": {
    "l": 0.50985,
    "c": 0.14508,
    "h": 304.3
  },
  "luminance": 0.12061
}

Semantic roles & 50–950 ramp

primary
#794CA8
secondary
#A8BF91
accent
#CE5A95
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#0F0A12
muted
#7F7C81

Preview Lab

Preview with #794CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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