#794CC1#794CC1

#794CC1 is a mid, vivid violet. Relative luminance 0.131; OKLCH L 52.6% C 0.176 H 297.8°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#794CC1
RGBrgb(121, 76, 193)
HSLhsl(263, 49%, 53%)
HSVhsv(263, 61%, 76%)
CMYKcmyk(37.3%, 60.6%, 0%, 24.3%)
CIE-LABlab(42.89, 44.02, -54.71)
CIE-LCHlch(42.89, 70.22, 308.82°)
OKLaboklab(52.65% 0.0819 -0.1555)
OKLCHoklch(52.65% 0.176 297.8)
XYZxyz(20.0928, 13.0838, 51.9086)
Luminance0.1308 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794CC1 #94C14C
analogous
#4C59C1 #794CC1 #B44CC1
triadic
#794CC1 #C1794C #4CC179
tetradic
#794CC1 #C14C59 #94C14C #4CC1B4
square
#794CC1 #C14C59 #94C14C #4CC1B4
split-complementary
#794CC1 #C1B44C #59C14C
monochromatic
#41266D #5C359A #794CC1 #9B79D1 #BDA7E0

Accessibility & contrast

On white

5.81
#794CC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#794CC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794CC1
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794CC1#FFFFFF#000000##FFFFFF
##794CC11.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C5
Deuteranopia (green-blind)
#1B64BE
Tritanopia (blue-blind)
#68657F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #794cc1;
/* rgb */ color: rgb(121, 76, 193);
/* oklch */ color: oklch(52.6% 0.176 297.8);
Tailwind
colors: {
  custom: {
    50: '#a480d4',
    500: '#794cc1',
    950: '#000000',
  },
}
SCSS
$custom: #794cc1;
$custom-light: #a480d4;
$custom-dark: #000000;
JSON
{
  "hex": "#794cc1",
  "rgb": {
    "r": 121,
    "g": 76,
    "b": 193
  },
  "hsl": {
    "h": 263.077,
    "s": 48.548,
    "l": 52.745
  },
  "oklch": {
    "l": 0.52646,
    "c": 0.17577,
    "h": 297.8
  },
  "luminance": 0.13084
}

Semantic roles & 50–950 ramp

primary
#794CC1
secondary
#BACE9B
accent
#D850A4
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #794CC1

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

Preview Lab → · Contrast checker → · Palette generator →

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