#794FCC#794FCC

#794FCC is a mid, vivid violet. Relative luminance 0.140; OKLCH L 53.9% C 0.185 H 294.9°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#794FCC
RGBrgb(121, 79, 204)
HSLhsl(260, 55%, 55%)
HSVhsv(260, 61%, 80%)
CMYKcmyk(40.7%, 61.3%, 0%, 20%)
CIE-LABlab(44.26, 45.29, -58.87)
CIE-LCHlch(44.26, 74.28, 307.57°)
OKLaboklab(53.88% 0.0779 -0.1678)
OKLCHoklch(53.88% 0.185 294.9)
XYZxyz(21.5773, 14.0161, 58.6836)
Luminance0.1402 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794FCC #A2CC4F
analogous
#4F63CC #794FCC #B74FCC
triadic
#794FCC #CC794F #4FCC79
tetradic
#794FCC #CC4F63 #A2CC4F #4FCCB7
square
#794FCC #CC4F63 #A2CC4F #4FCCB7
split-complementary
#794FCC #CCB74F #63CC4F
monochromatic
#42247D #5B32AC #794FCC #9D7EDA #C1AEE7

Accessibility & contrast

On white

5.52
#794FCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#794FCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794FCC
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794FCC#FFFFFF#000000##FFFFFF
##794FCC1.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD0
Deuteranopia (green-blind)
#0067C9
Tritanopia (blue-blind)
#646B86
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #794fcc;
/* rgb */ color: rgb(121, 79, 204);
/* oklch */ color: oklch(53.9% 0.185 294.9);
Tailwind
colors: {
  custom: {
    50: '#a582dc',
    500: '#794fcc',
    950: '#000000',
  },
}
SCSS
$custom: #794fcc;
$custom-light: #a582dc;
$custom-dark: #000000;
JSON
{
  "hex": "#794fcc",
  "rgb": {
    "r": 121,
    "g": 79,
    "b": 204
  },
  "hsl": {
    "h": 260.16,
    "s": 55.066,
    "l": 55.49
  },
  "oklch": {
    "l": 0.53879,
    "c": 0.18496,
    "h": 294.9
  },
  "luminance": 0.14017
}

Semantic roles & 50–950 ramp

primary
#794FCC
secondary
#C4D5A1
accent
#DE49AC
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #794FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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