#794DC6#794DC6

#794DC6 is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.1% C 0.180 H 296.5°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#794DC6
RGBrgb(121, 77, 198)
HSLhsl(262, 51%, 54%)
HSVhsv(262, 61%, 78%)
CMYKcmyk(38.9%, 61.1%, 0%, 22.4%)
CIE-LABlab(43.43, 44.79, -56.73)
CIE-LCHlch(43.43, 72.28, 308.29°)
OKLaboklab(53.15% 0.0805 -0.1615)
OKLCHoklch(53.15% 0.18 296.5)
XYZxyz(20.7294, 13.4495, 54.9190)
Luminance0.1345 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794DC6 #9AC64D
analogous
#4D5EC6 #794DC6 #B64DC6
triadic
#794DC6 #C6794D #4DC679
tetradic
#794DC6 #C64D5E #9AC64D #4DC6B6
square
#794DC6 #C64D5E #9AC64D #4DC6B6
split-complementary
#794DC6 #C6B64D #5EC64D
monochromatic
#422574 #5C34A2 #794DC6 #9C7BD5 #BFAAE4

Accessibility & contrast

On white

5.69
#794DC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#794DC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794DC6
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794DC6#FFFFFF#000000##FFFFFF
##794DC61.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CA
Deuteranopia (green-blind)
#1065C3
Tritanopia (blue-blind)
#666882
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #794dc6;
/* rgb */ color: rgb(121, 77, 198);
/* oklch */ color: oklch(53.1% 0.180 296.5);
Tailwind
colors: {
  custom: {
    50: '#a581d8',
    500: '#794dc6',
    950: '#000000',
  },
}
SCSS
$custom: #794dc6;
$custom-light: #a581d8;
$custom-dark: #000000;
JSON
{
  "hex": "#794dc6",
  "rgb": {
    "r": 121,
    "g": 77,
    "b": 198
  },
  "hsl": {
    "h": 261.818,
    "s": 51.489,
    "l": 53.922
  },
  "oklch": {
    "l": 0.5315,
    "c": 0.18043,
    "h": 296.5
  },
  "luminance": 0.1345
}

Semantic roles & 50–950 ramp

primary
#794DC6
secondary
#BED19E
accent
#DB4DA7
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #794DC6

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

Preview Lab → · Contrast checker → · Palette generator →

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