#794CC0#794CC0

#794CC0 is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.6% C 0.175 H 298.0°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#794CC0
RGBrgb(121, 76, 192)
HSLhsl(263, 48%, 53%)
HSVhsv(263, 60%, 75%)
CMYKcmyk(37%, 60.4%, 0%, 24.7%)
CIE-LABlab(42.82, 43.76, -54.23)
CIE-LCHlch(42.82, 69.68, 308.90°)
OKLaboklab(52.58% 0.082 -0.1541)
OKLCHoklch(52.58% 0.175 298)
XYZxyz(19.9816, 13.0393, 51.3231)
Luminance0.1304 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794CC0 #93C04C
analogous
#4C59C0 #794CC0 #B34CC0
triadic
#794CC0 #C0794C #4CC079
tetradic
#794CC0 #C04C59 #93C04C #4CC0B3
square
#794CC0 #C04C59 #93C04C #4CC0B3
split-complementary
#794CC0 #C0B34C #59C04C
monochromatic
#41266C #5C3699 #794CC0 #9B79D0 #BDA7E0

Accessibility & contrast

On white

5.82
#794CC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#794CC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794CC0
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794CC0#FFFFFF#000000##FFFFFF
##794CC01.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C4
Deuteranopia (green-blind)
#1D64BD
Tritanopia (blue-blind)
#69657F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #794cc0;
/* rgb */ color: rgb(121, 76, 192);
/* oklch */ color: oklch(52.6% 0.175 298.0);
Tailwind
colors: {
  custom: {
    50: '#a480d4',
    500: '#794cc0',
    950: '#000000',
  },
}
SCSS
$custom: #794cc0;
$custom-light: #a480d4;
$custom-dark: #000000;
JSON
{
  "hex": "#794cc0",
  "rgb": {
    "r": 121,
    "g": 76,
    "b": 192
  },
  "hsl": {
    "h": 263.276,
    "s": 47.934,
    "l": 52.549
  },
  "oklch": {
    "l": 0.52576,
    "c": 0.17455,
    "h": 298
  },
  "luminance": 0.1304
}

Semantic roles & 50–950 ramp

primary
#794CC0
secondary
#BACD9B
accent
#D850A3
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #794CC0

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

Preview Lab → · Contrast checker → · Palette generator →

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