#794AC0#794AC0

#794AC0 is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.3% C 0.177 H 298.4°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#794AC0
RGBrgb(121, 74, 192)
HSLhsl(264, 48%, 52%)
HSVhsv(264, 61%, 75%)
CMYKcmyk(37%, 61.5%, 0%, 24.7%)
CIE-LABlab(42.41, 44.86, -54.89)
CIE-LCHlch(42.41, 70.89, 309.25°)
OKLaboklab(52.28% 0.0843 -0.1561)
OKLCHoklch(52.28% 0.177 298.4)
XYZxyz(19.8460, 12.7680, 51.2778)
Luminance0.1277 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794AC0 #91C04A
analogous
#4A56C0 #794AC0 #B44AC0
triadic
#794AC0 #C0794A #4AC079
tetradic
#794AC0 #C04A56 #91C04A #4AC0B4
square
#794AC0 #C04A56 #91C04A #4AC0B4
split-complementary
#794AC0 #C0B44A #56C04A
monochromatic
#41256B #5C3598 #794AC0 #9B77D0 #BCA5E0

Accessibility & contrast

On white

5.91
#794AC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#794AC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794AC0
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794AC0#FFFFFF#000000##FFFFFF
##794AC01.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C4
Deuteranopia (green-blind)
#1863BD
Tritanopia (blue-blind)
#69647E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #794ac0;
/* rgb */ color: rgb(121, 74, 192);
/* oklch */ color: oklch(52.3% 0.177 298.4);
Tailwind
colors: {
  custom: {
    50: '#a47fd4',
    500: '#794ac0',
    950: '#000000',
  },
}
SCSS
$custom: #794ac0;
$custom-light: #a47fd4;
$custom-dark: #000000;
JSON
{
  "hex": "#794ac0",
  "rgb": {
    "r": 121,
    "g": 74,
    "b": 192
  },
  "hsl": {
    "h": 263.898,
    "s": 48.361,
    "l": 52.157
  },
  "oklch": {
    "l": 0.52277,
    "c": 0.17739,
    "h": 298.4
  },
  "luminance": 0.12768
}

Semantic roles & 50–950 ramp

primary
#794AC0
secondary
#B8CD99
accent
#D850A2
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #794AC0

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

Preview Lab → · Contrast checker → · Palette generator →

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