#794CA5#794CA5

#794CA5 is a mid, vivid violet. Relative luminance 0.119; OKLCH L 50.8% C 0.141 H 305.3°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#794CA5
RGBrgb(121, 76, 165)
HSLhsl(270, 37%, 47%)
HSVhsv(270, 54%, 65%)
CMYKcmyk(26.7%, 53.9%, 0%, 35.3%)
CIE-LABlab(41.14, 36.86, -41.04)
CIE-LCHlch(41.14, 55.16, 311.93°)
OKLaboklab(50.8% 0.0816 -0.1154)
OKLCHoklch(50.8% 0.141 305.3)
XYZxyz(17.2597, 11.9506, 36.9874)
Luminance0.1195 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794CA5 #78A54C
analogous
#4D4CA5 #794CA5 #A54CA4
triadic
#794CA5 #A5794C #4CA579
tetradic
#794CA5 #A54D4C #78A54C #4CA4A5
square
#794CA5 #A54D4C #78A54C #4CA4A5
split-complementary
#794CA5 #A4A54C #4CA54D
monochromatic
#3C2551 #5A397B #794CA5 #9871BD #B69BD1

Accessibility & contrast

On white

6.19
#794CA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#794CA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794CA5
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794CA5#FFFFFF#000000##FFFFFF
##794CA51.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F60A8
Deuteranopia (green-blind)
#3D61A3
Tritanopia (blue-blind)
#725C71
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #794ca5;
/* rgb */ color: rgb(121, 76, 165);
/* oklch */ color: oklch(50.8% 0.141 305.3);
Tailwind
colors: {
  custom: {
    50: '#a27fc0',
    500: '#794ca5',
    950: '#000000',
  },
}
SCSS
$custom: #794ca5;
$custom-light: #a27fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#794ca5",
  "rgb": {
    "r": 121,
    "g": 76,
    "b": 165
  },
  "hsl": {
    "h": 270.337,
    "s": 36.929,
    "l": 47.255
  },
  "oklch": {
    "l": 0.50799,
    "c": 0.14136,
    "h": 305.3
  },
  "luminance": 0.1195
}

Semantic roles & 50–950 ramp

primary
#794CA5
secondary
#A6BD8F
accent
#CD5B93
background
#FAF7FB
surface
#F4EEF7
border
#CEC9D0
text
#0F0A12
muted
#7F7C81

Preview Lab

Preview with #794CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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