#794EAD#794EAD

#794EAD is a mid, vivid violet. Relative luminance 0.125; OKLCH L 51.6% C 0.148 H 302.4°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#794EAD
RGBrgb(121, 78, 173)
HSLhsl(267, 38%, 49%)
HSVhsv(267, 55%, 68%)
CMYKcmyk(30.1%, 54.9%, 0%, 32.2%)
CIE-LABlab(42.05, 37.73, -44.33)
CIE-LCHlch(42.05, 58.21, 310.40°)
OKLaboklab(51.62% 0.0794 -0.125)
OKLCHoklch(51.62% 0.148 302.4)
XYZxyz(18.1507, 12.5308, 40.9895)
Luminance0.1253 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794EAD #82AD4E
analogous
#4E52AD #794EAD #A94EAD
triadic
#794EAD #AD794E #4EAD79
tetradic
#794EAD #AD4E52 #82AD4E #4EADA9
square
#794EAD #AD4E52 #82AD4E #4EADA9
split-complementary
#794EAD #ADA94E #52AD4E
monochromatic
#3E2859 #5B3B83 #794EAD #9977C2 #B8A1D5

Accessibility & contrast

On white

5.99
#794EAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#794EAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794EAD
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794EAD#FFFFFF#000000##FFFFFF
##794EAD1.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B62B0
Deuteranopia (green-blind)
#3963AB
Tritanopia (blue-blind)
#6F6076
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #794ead;
/* rgb */ color: rgb(121, 78, 173);
/* oklch */ color: oklch(51.6% 0.148 302.4);
Tailwind
colors: {
  custom: {
    50: '#a381c6',
    500: '#794ead',
    950: '#000000',
  },
}
SCSS
$custom: #794ead;
$custom-light: #a381c6;
$custom-dark: #000000;
JSON
{
  "hex": "#794ead",
  "rgb": {
    "r": 121,
    "g": 78,
    "b": 173
  },
  "hsl": {
    "h": 267.158,
    "s": 37.849,
    "l": 49.216
  },
  "oklch": {
    "l": 0.51623,
    "c": 0.14811,
    "h": 302.4
  },
  "luminance": 0.12531
}

Semantic roles & 50–950 ramp

primary
#794EAD
secondary
#ADC295
accent
#CE5A99
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #794EAD

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

Preview Lab → · Contrast checker → · Palette generator →

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