#794EA8#794EA8

#794EA8 is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.3% C 0.142 H 303.9°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#794EA8
RGBrgb(121, 78, 168)
HSLhsl(269, 37%, 48%)
HSVhsv(269, 54%, 66%)
CMYKcmyk(28%, 53.6%, 0%, 34.1%)
CIE-LABlab(41.75, 36.46, -41.84)
CIE-LCHlch(41.75, 55.50, 311.07°)
OKLaboklab(51.31% 0.0791 -0.1178)
OKLCHoklch(51.31% 0.142 303.9)
XYZxyz(17.6759, 12.3409, 38.4890)
Luminance0.1234 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794EA8 #7DA84E
analogous
#4E50A8 #794EA8 #A64EA8
triadic
#794EA8 #A8794E #4EA879
tetradic
#794EA8 #A84E50 #7DA84E #4EA8A6
square
#794EA8 #A84E50 #7DA84E #4EA8A6
split-complementary
#794EA8 #A8A64E #50A84E
monochromatic
#3D2754 #5B3B7E #794EA8 #9875BF #B79ED2

Accessibility & contrast

On white

6.06
#794EA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#794EA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794EA8
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794EA8#FFFFFF#000000##FFFFFF
##794EA81.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3061AB
Deuteranopia (green-blind)
#3D62A6
Tritanopia (blue-blind)
#715F73
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #794ea8;
/* rgb */ color: rgb(121, 78, 168);
/* oklch */ color: oklch(51.3% 0.142 303.9);
Tailwind
colors: {
  custom: {
    50: '#a281c2',
    500: '#794ea8',
    950: '#000000',
  },
}
SCSS
$custom: #794ea8;
$custom-light: #a281c2;
$custom-dark: #000000;
JSON
{
  "hex": "#794ea8",
  "rgb": {
    "r": 121,
    "g": 78,
    "b": 168
  },
  "hsl": {
    "h": 268.667,
    "s": 36.585,
    "l": 48.235
  },
  "oklch": {
    "l": 0.5131,
    "c": 0.14185,
    "h": 303.9
  },
  "luminance": 0.12341
}

Semantic roles & 50–950 ramp

primary
#794EA8
secondary
#AABF93
accent
#CD5B96
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#0F0A12
muted
#7F7C81

Preview Lab

Preview with #794EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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