#794CD9#794CD9

#794CD9 is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 54.4% C 0.204 H 293.0°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#794CD9
RGBrgb(121, 76, 217)
HSLhsl(259, 65%, 57%)
HSVhsv(259, 65%, 85%)
CMYKcmyk(44.2%, 65%, 0%, 14.9%)
CIE-LABlab(44.58, 50.42, -65.81)
CIE-LCHlch(44.58, 82.90, 307.46°)
OKLaboklab(54.41% 0.08 -0.1882)
OKLCHoklch(54.41% 0.204 293)
XYZxyz(22.9906, 14.2429, 67.1700)
Luminance0.1424 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794CD9 #ACD94C
analogous
#4C65D9 #794CD9 #C04CD9
triadic
#794CD9 #D9794C #4CD979
tetradic
#794CD9 #D94C65 #ACD94C #4CD9C0
square
#794CD9 #D94C65 #ACD94C #4CD9C0
split-complementary
#794CD9 #D9C04C #65D94C
monochromatic
#411E8D #5929BF #794CD9 #9F7EE4 #C5B1EE

Accessibility & contrast

On white

5.46
#794CD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#794CD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794CD9
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794CD9#FFFFFF#000000##FFFFFF
##794CD91.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #794cd9;
/* rgb */ color: rgb(121, 76, 217);
/* oklch */ color: oklch(54.4% 0.204 293.0);
Tailwind
colors: {
  custom: {
    50: '#a781e6',
    500: '#794cd9',
    950: '#000000',
  },
}
SCSS
$custom: #794cd9;
$custom-light: #a781e6;
$custom-dark: #000000;
JSON
{
  "hex": "#794cd9",
  "rgb": {
    "r": 121,
    "g": 76,
    "b": 217
  },
  "hsl": {
    "h": 259.149,
    "s": 64.977,
    "l": 57.451
  },
  "oklch": {
    "l": 0.54406,
    "c": 0.20447,
    "h": 293
  },
  "luminance": 0.14244
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #794CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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