#794CC4#794CC4

#794CC4 is a mid, vivid violet. Relative luminance 0.132; OKLCH L 52.9% C 0.179 H 297.1°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#794CC4
RGBrgb(121, 76, 196)
HSLhsl(263, 50%, 53%)
HSVhsv(263, 61%, 77%)
CMYKcmyk(38.3%, 61.2%, 0%, 23.1%)
CIE-LABlab(43.09, 44.81, -56.12)
CIE-LCHlch(43.09, 71.82, 308.61°)
OKLaboklab(52.86% 0.0818 -0.1597)
OKLCHoklch(52.86% 0.179 297.1)
XYZxyz(20.4309, 13.2190, 53.6890)
Luminance0.1322 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794CC4 #97C44C
analogous
#4C5BC4 #794CC4 #B54CC4
triadic
#794CC4 #C4794C #4CC479
tetradic
#794CC4 #C44C5B #97C44C #4CC4B5
square
#794CC4 #C44C5B #97C44C #4CC4B5
split-complementary
#794CC4 #C4B54C #5BC44C
monochromatic
#412571 #5C349F #794CC4 #9B7AD3 #BEA8E2

Accessibility & contrast

On white

5.76
#794CC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#794CC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794CC4
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794CC4#FFFFFF#000000##FFFFFF
##794CC41.005.763.645.76
#FFFFFF5.761.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C8
Deuteranopia (green-blind)
#1364C1
Tritanopia (blue-blind)
#676681
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #794cc4;
/* rgb */ color: rgb(121, 76, 196);
/* oklch */ color: oklch(52.9% 0.179 297.1);
Tailwind
colors: {
  custom: {
    50: '#a580d7',
    500: '#794cc4',
    950: '#000000',
  },
}
SCSS
$custom: #794cc4;
$custom-light: #a580d7;
$custom-dark: #000000;
JSON
{
  "hex": "#794cc4",
  "rgb": {
    "r": 121,
    "g": 76,
    "b": 196
  },
  "hsl": {
    "h": 262.5,
    "s": 50.42,
    "l": 53.333
  },
  "oklch": {
    "l": 0.52858,
    "c": 0.1794,
    "h": 297.1
  },
  "luminance": 0.13219
}

Semantic roles & 50–950 ramp

primary
#794CC4
secondary
#BCD09C
accent
#DA4EA5
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #794CC4

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

Preview Lab → · Contrast checker → · Palette generator →

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