#794DC5#794DC5

#794DC5 is a mid, vivid violet. Relative luminance 0.134; OKLCH L 53.1% C 0.179 H 296.7°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#794DC5
RGBrgb(121, 77, 197)
HSLhsl(262, 51%, 54%)
HSVhsv(262, 61%, 77%)
CMYKcmyk(38.6%, 60.9%, 0%, 22.7%)
CIE-LABlab(43.37, 44.53, -56.26)
CIE-LCHlch(43.37, 71.75, 308.36°)
OKLaboklab(53.08% 0.0806 -0.1601)
OKLCHoklch(53.08% 0.179 296.7)
XYZxyz(20.6145, 13.4036, 54.3135)
Luminance0.1340 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794DC5 #99C54D
analogous
#4D5DC5 #794DC5 #B54DC5
triadic
#794DC5 #C5794D #4DC579
tetradic
#794DC5 #C54D5D #99C54D #4DC5B5
square
#794DC5 #C54D5D #99C54D #4DC5B5
split-complementary
#794DC5 #C5B54D #5DC54D
monochromatic
#422572 #5C34A0 #794DC5 #9C7BD4 #BEA9E3

Accessibility & contrast

On white

5.71
#794DC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#794DC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794DC5
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794DC5#FFFFFF#000000##FFFFFF
##794DC51.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067C9
Deuteranopia (green-blind)
#1465C2
Tritanopia (blue-blind)
#676782
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #794dc5;
/* rgb */ color: rgb(121, 77, 197);
/* oklch */ color: oklch(53.1% 0.179 296.7);
Tailwind
colors: {
  custom: {
    50: '#a581d7',
    500: '#794dc5',
    950: '#000000',
  },
}
SCSS
$custom: #794dc5;
$custom-light: #a581d7;
$custom-dark: #000000;
JSON
{
  "hex": "#794dc5",
  "rgb": {
    "r": 121,
    "g": 77,
    "b": 197
  },
  "hsl": {
    "h": 262,
    "s": 50.847,
    "l": 53.725
  },
  "oklch": {
    "l": 0.53079,
    "c": 0.17921,
    "h": 296.7
  },
  "luminance": 0.13404
}

Semantic roles & 50–950 ramp

primary
#794DC5
secondary
#BED19D
accent
#DA4DA7
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #794DC5

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

Preview Lab → · Contrast checker → · Palette generator →

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