#794DC7#794DC7

#794DC7 is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.2% C 0.182 H 296.3°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#794DC7
RGBrgb(121, 77, 199)
HSLhsl(262, 52%, 54%)
HSVhsv(262, 61%, 78%)
CMYKcmyk(39.2%, 61.3%, 0%, 22%)
CIE-LABlab(43.50, 45.06, -57.20)
CIE-LCHlch(43.50, 72.82, 308.23°)
OKLaboklab(53.22% 0.0805 -0.1628)
OKLCHoklch(53.22% 0.182 296.3)
XYZxyz(20.8452, 13.4958, 55.5285)
Luminance0.1350 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794DC7 #9BC74D
analogous
#4D5EC7 #794DC7 #B64DC7
triadic
#794DC7 #C7794D #4DC779
tetradic
#794DC7 #C74D5E #9BC74D #4DC7B6
square
#794DC7 #C74D5E #9BC74D #4DC7B6
split-complementary
#794DC7 #C7B64D #5EC74D
monochromatic
#422575 #5C33A3 #794DC7 #9C7CD6 #BFAAE4

Accessibility & contrast

On white

5.68
#794DC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#794DC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794DC7
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794DC7#FFFFFF#000000##FFFFFF
##794DC71.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CB
Deuteranopia (green-blind)
#0D65C4
Tritanopia (blue-blind)
#666883
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #794dc7;
/* rgb */ color: rgb(121, 77, 199);
/* oklch */ color: oklch(53.2% 0.182 296.3);
Tailwind
colors: {
  custom: {
    50: '#a581d9',
    500: '#794dc7',
    950: '#000000',
  },
}
SCSS
$custom: #794dc7;
$custom-light: #a581d9;
$custom-dark: #000000;
JSON
{
  "hex": "#794dc7",
  "rgb": {
    "r": 121,
    "g": 77,
    "b": 199
  },
  "hsl": {
    "h": 261.639,
    "s": 52.137,
    "l": 54.118
  },
  "oklch": {
    "l": 0.53221,
    "c": 0.18165,
    "h": 296.3
  },
  "luminance": 0.13496
}

Semantic roles & 50–950 ramp

primary
#794DC7
secondary
#BFD29E
accent
#DC4CA8
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #794DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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