#794BD9#794BD9

#794BD9 is a mid, highly saturated violet. Relative luminance 0.141; OKLCH L 54.3% C 0.206 H 293.2°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#794BD9
RGBrgb(121, 75, 217)
HSLhsl(259, 65%, 57%)
HSVhsv(259, 65%, 85%)
CMYKcmyk(44.2%, 65.4%, 0%, 14.9%)
CIE-LABlab(44.38, 50.95, -66.12)
CIE-LCHlch(44.38, 83.47, 307.61°)
OKLaboklab(54.27% 0.081 -0.1891)
OKLCHoklch(54.27% 0.206 293.2)
XYZxyz(22.9222, 14.1062, 67.1472)
Luminance0.1411 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794BD9 #ABD94B
analogous
#4B64D9 #794BD9 #C04BD9
triadic
#794BD9 #D9794B #4BD979
tetradic
#794BD9 #D94B64 #ABD94B #4BD9C0
square
#794BD9 #D94B64 #ABD94B #4BD9C0
split-complementary
#794BD9 #D9C04B #64D94B
monochromatic
#411E8C #5928BF #794BD9 #9F7EE4 #C4B0EE

Accessibility & contrast

On white

5.50
#794BD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#794BD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794BD9
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794BD9#FFFFFF#000000##FFFFFF
##794BD91.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDD
Deuteranopia (green-blind)
#0066D6
Tritanopia (blue-blind)
#5D6D8C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #794bd9;
/* rgb */ color: rgb(121, 75, 217);
/* oklch */ color: oklch(54.3% 0.206 293.2);
Tailwind
colors: {
  custom: {
    50: '#a780e6',
    500: '#794bd9',
    950: '#000000',
  },
}
SCSS
$custom: #794bd9;
$custom-light: #a780e6;
$custom-dark: #000000;
JSON
{
  "hex": "#794bd9",
  "rgb": {
    "r": 121,
    "g": 75,
    "b": 217
  },
  "hsl": {
    "h": 259.437,
    "s": 65.138,
    "l": 57.255
  },
  "oklch": {
    "l": 0.54266,
    "c": 0.20572,
    "h": 293.2
  },
  "luminance": 0.14107
}

Semantic roles & 50–950 ramp

primary
#794BD9
secondary
#CADDA3
accent
#E840B2
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #794BD9

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

Preview Lab → · Contrast checker → · Palette generator →

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