#794AD8#794AD8

#794AD8 is a mid, highly saturated violet. Relative luminance 0.139; OKLCH L 54.0% C 0.206 H 293.5°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#794AD8
RGBrgb(121, 74, 216)
HSLhsl(260, 65%, 57%)
HSVhsv(260, 66%, 85%)
CMYKcmyk(44%, 65.7%, 0%, 15.3%)
CIE-LABlab(44.12, 51.20, -65.99)
CIE-LCHlch(44.12, 83.52, 307.81°)
OKLaboklab(54.05% 0.0822 -0.1887)
OKLCHoklch(54.05% 0.206 293.5)
XYZxyz(22.7252, 13.9197, 66.4419)
Luminance0.1392 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794AD8 #A9D84A
analogous
#4A62D8 #794AD8 #C04AD8
triadic
#794AD8 #D8794A #4AD879
tetradic
#794AD8 #D84A62 #A9D84A #4AD8C0
square
#794AD8 #D84A62 #A9D84A #4AD8C0
split-complementary
#794AD8 #D8C04A #62D84A
monochromatic
#421E8A #5929BC #794AD8 #9E7CE3 #C4AFEE

Accessibility & contrast

On white

5.55
#794AD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#794AD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794AD8
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794AD8#FFFFFF#000000##FFFFFF
##794AD81.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADC
Deuteranopia (green-blind)
#0066D5
Tritanopia (blue-blind)
#5E6C8B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #794ad8;
/* rgb */ color: rgb(121, 74, 216);
/* oklch */ color: oklch(54.0% 0.206 293.5);
Tailwind
colors: {
  custom: {
    50: '#a77fe5',
    500: '#794ad8',
    950: '#000000',
  },
}
SCSS
$custom: #794ad8;
$custom-light: #a77fe5;
$custom-dark: #000000;
JSON
{
  "hex": "#794ad8",
  "rgb": {
    "r": 121,
    "g": 74,
    "b": 216
  },
  "hsl": {
    "h": 259.859,
    "s": 64.545,
    "l": 56.863
  },
  "oklch": {
    "l": 0.5405,
    "c": 0.2058,
    "h": 293.5
  },
  "luminance": 0.1392
}

Semantic roles & 50–950 ramp

primary
#794AD8
secondary
#C9DCA2
accent
#E840B0
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #794AD8

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

Preview Lab → · Contrast checker → · Palette generator →

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