#794FC8#794FC8

#794FC8 is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.6% C 0.180 H 295.7°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#794FC8
RGBrgb(121, 79, 200)
HSLhsl(261, 52%, 55%)
HSVhsv(261, 61%, 78%)
CMYKcmyk(39.5%, 60.5%, 0%, 21.6%)
CIE-LABlab(43.98, 44.22, -57.00)
CIE-LCHlch(43.98, 72.14, 307.80°)
OKLaboklab(53.59% 0.0781 -0.1623)
OKLCHoklch(53.59% 0.18 295.7)
XYZxyz(21.1037, 13.8266, 56.1893)
Luminance0.1383 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794FC8 #9EC84F
analogous
#4F62C8 #794FC8 #B54FC8
triadic
#794FC8 #C8794F #4FC879
tetradic
#794FC8 #C84F62 #9EC84F #4FC8B5
square
#794FC8 #C84F62 #9EC84F #4FC8B5
split-complementary
#794FC8 #C8B54F #62C84F
monochromatic
#422577 #5B34A6 #794FC8 #9D7ED7 #C0ACE5

Accessibility & contrast

On white

5.58
#794FC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#794FC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794FC8
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794FC8#FFFFFF#000000##FFFFFF
##794FC81.005.583.775.58
#FFFFFF5.581.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CC
Deuteranopia (green-blind)
#1266C5
Tritanopia (blue-blind)
#656A84
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #794fc8;
/* rgb */ color: rgb(121, 79, 200);
/* oklch */ color: oklch(53.6% 0.180 295.7);
Tailwind
colors: {
  custom: {
    50: '#a582d9',
    500: '#794fc8',
    950: '#000000',
  },
}
SCSS
$custom: #794fc8;
$custom-light: #a582d9;
$custom-dark: #000000;
JSON
{
  "hex": "#794fc8",
  "rgb": {
    "r": 121,
    "g": 79,
    "b": 200
  },
  "hsl": {
    "h": 260.826,
    "s": 52.381,
    "l": 54.706
  },
  "oklch": {
    "l": 0.53594,
    "c": 0.18008,
    "h": 295.7
  },
  "luminance": 0.13827
}

Semantic roles & 50–950 ramp

primary
#794FC8
secondary
#C1D3A0
accent
#DC4CAA
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #794FC8

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

Preview Lab → · Contrast checker → · Palette generator →

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