#794CC3#794CC3

#794CC3 is a mid, vivid violet. Relative luminance 0.132; OKLCH L 52.8% C 0.178 H 297.3°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#794CC3
RGBrgb(121, 76, 195)
HSLhsl(263, 50%, 53%)
HSVhsv(263, 61%, 76%)
CMYKcmyk(37.9%, 61%, 0%, 23.5%)
CIE-LABlab(43.02, 44.55, -55.65)
CIE-LCHlch(43.02, 71.29, 308.68°)
OKLaboklab(52.79% 0.0818 -0.1583)
OKLCHoklch(52.79% 0.178 297.3)
XYZxyz(20.3174, 13.1736, 53.0915)
Luminance0.1317 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794CC3 #96C34C
analogous
#4C5AC3 #794CC3 #B44CC3
triadic
#794CC3 #C3794C #4CC379
tetradic
#794CC3 #C34C5A #96C34C #4CC3B4
square
#794CC3 #C34C5A #96C34C #4CC3B4
split-complementary
#794CC3 #C3B44C #5AC34C
monochromatic
#41256F #5C359D #794CC3 #9B7AD2 #BEA8E2

Accessibility & contrast

On white

5.78
#794CC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#794CC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794CC3
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794CC3#FFFFFF#000000##FFFFFF
##794CC31.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C7
Deuteranopia (green-blind)
#1664C0
Tritanopia (blue-blind)
#676680
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #794cc3;
/* rgb */ color: rgb(121, 76, 195);
/* oklch */ color: oklch(52.8% 0.178 297.3);
Tailwind
colors: {
  custom: {
    50: '#a580d6',
    500: '#794cc3',
    950: '#000000',
  },
}
SCSS
$custom: #794cc3;
$custom-light: #a580d6;
$custom-dark: #000000;
JSON
{
  "hex": "#794cc3",
  "rgb": {
    "r": 121,
    "g": 76,
    "b": 195
  },
  "hsl": {
    "h": 262.689,
    "s": 49.791,
    "l": 53.137
  },
  "oklch": {
    "l": 0.52787,
    "c": 0.1782,
    "h": 297.3
  },
  "luminance": 0.13174
}

Semantic roles & 50–950 ramp

primary
#794CC3
secondary
#BCCF9C
accent
#D94EA5
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #794CC3

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

Preview Lab → · Contrast checker → · Palette generator →

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