#794FAD#794FAD

#794FAD is a mid, vivid violet. Relative luminance 0.127; OKLCH L 51.8% C 0.147 H 302.2°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#794FAD
RGBrgb(121, 79, 173)
HSLhsl(267, 37%, 49%)
HSVhsv(267, 54%, 68%)
CMYKcmyk(30.1%, 54.3%, 0%, 32.2%)
CIE-LABlab(42.27, 37.15, -43.98)
CIE-LCHlch(42.27, 57.57, 310.19°)
OKLaboklab(51.79% 0.078 -0.124)
OKLCHoklch(51.79% 0.147 302.2)
XYZxyz(18.2222, 12.6740, 41.0134)
Luminance0.1267 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794FAD #83AD4F
analogous
#4F54AD #794FAD #A84FAD
triadic
#794FAD #AD794F #4FAD79
tetradic
#794FAD #AD4F54 #83AD4F #4FADA8
square
#794FAD #AD4F54 #83AD4F #4FADA8
split-complementary
#794FAD #ADA84F #54AD4F
monochromatic
#3E2959 #5C3C83 #794FAD #9978C1 #B9A2D4

Accessibility & contrast

On white

5.94
#794FAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#794FAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794FAD
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794FAD#FFFFFF#000000##FFFFFF
##794FAD1.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D63B0
Deuteranopia (green-blind)
#3A63AB
Tritanopia (blue-blind)
#6F6176
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #794fad;
/* rgb */ color: rgb(121, 79, 173);
/* oklch */ color: oklch(51.8% 0.147 302.2);
Tailwind
colors: {
  custom: {
    50: '#a382c6',
    500: '#794fad',
    950: '#000000',
  },
}
SCSS
$custom: #794fad;
$custom-light: #a382c6;
$custom-dark: #000000;
JSON
{
  "hex": "#794fad",
  "rgb": {
    "r": 121,
    "g": 79,
    "b": 173
  },
  "hsl": {
    "h": 266.809,
    "s": 37.302,
    "l": 49.412
  },
  "oklch": {
    "l": 0.51785,
    "c": 0.14653,
    "h": 302.2
  },
  "luminance": 0.12674
}

Semantic roles & 50–950 ramp

primary
#794FAD
secondary
#AEC296
accent
#CD5B9A
background
#FAF8FC
surface
#F4EFF8
border
#CECAD1
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #794FAD

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

Preview Lab → · Contrast checker → · Palette generator →

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