#794EB3#794EB3

#794EB3 is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.0% C 0.156 H 300.8°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#794EB3
RGBrgb(121, 78, 179)
HSLhsl(266, 40%, 50%)
HSVhsv(266, 56%, 70%)
CMYKcmyk(32.4%, 56.4%, 0%, 29.8%)
CIE-LABlab(42.41, 39.26, -47.28)
CIE-LCHlch(42.41, 61.46, 309.70°)
OKLaboklab(52.01% 0.0796 -0.1337)
OKLCHoklch(52.01% 0.156 300.8)
XYZxyz(18.7443, 12.7683, 44.1161)
Luminance0.1277 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794EB3 #88B34E
analogous
#4E55B3 #794EB3 #AC4EB3
triadic
#794EB3 #B3794E #4EB379
tetradic
#794EB3 #B34E55 #88B34E #4EB3AC
square
#794EB3 #B34E55 #88B34E #4EB3AC
split-complementary
#794EB3 #B3AC4E #55B34E
monochromatic
#3F285E #5C3B89 #794EB3 #9979C5 #BAA4D8

Accessibility & contrast

On white

5.91
#794EB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#794EB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794EB3
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794EB3#FFFFFF#000000##FFFFFF
##794EB31.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2364B6
Deuteranopia (green-blind)
#3364B1
Tritanopia (blue-blind)
#6D6279
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #794eb3;
/* rgb */ color: rgb(121, 78, 179);
/* oklch */ color: oklch(52.0% 0.156 300.8);
Tailwind
colors: {
  custom: {
    50: '#a381ca',
    500: '#794eb3',
    950: '#000000',
  },
}
SCSS
$custom: #794eb3;
$custom-light: #a381ca;
$custom-dark: #000000;
JSON
{
  "hex": "#794eb3",
  "rgb": {
    "r": 121,
    "g": 78,
    "b": 179
  },
  "hsl": {
    "h": 265.545,
    "s": 39.921,
    "l": 50.392
  },
  "oklch": {
    "l": 0.52009,
    "c": 0.1556,
    "h": 300.8
  },
  "luminance": 0.12768
}

Semantic roles & 50–950 ramp

primary
#794EB3
secondary
#B2C598
accent
#D0589D
background
#FAF8FC
surface
#F4EFF8
border
#CECAD1
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #794EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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