#794DD8#794DD8

#794DD8 is a mid, highly saturated violet. Relative luminance 0.143; OKLCH L 54.5% C 0.202 H 293.0°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#794DD8
RGBrgb(121, 77, 216)
HSLhsl(259, 64%, 57%)
HSVhsv(259, 64%, 85%)
CMYKcmyk(44%, 64.4%, 0%, 15.3%)
CIE-LABlab(44.70, 49.61, -65.04)
CIE-LCHlch(44.70, 81.80, 307.34°)
OKLaboklab(54.47% 0.0791 -0.1859)
OKLCHoklch(54.47% 0.202 293)
XYZxyz(22.9303, 14.3299, 66.5102)
Luminance0.1433 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794DD8 #ACD84D
analogous
#4D66D8 #794DD8 #BF4DD8
triadic
#794DD8 #D8794D #4DD879
tetradic
#794DD8 #D84D66 #ACD84D #4DD8BF
square
#794DD8 #D84D66 #ACD84D #4DD8BF
split-complementary
#794DD8 #D8BF4D #66D84D
monochromatic
#411F8C #592ABE #794DD8 #9F7FE3 #C5B1EE

Accessibility & contrast

On white

5.43
#794DD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#794DD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794DD8
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794DD8#FFFFFF#000000##FFFFFF
##794DD81.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDC
Deuteranopia (green-blind)
#0067D5
Tritanopia (blue-blind)
#5E6E8C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #794dd8;
/* rgb */ color: rgb(121, 77, 216);
/* oklch */ color: oklch(54.5% 0.202 293.0);
Tailwind
colors: {
  custom: {
    50: '#a781e5',
    500: '#794dd8',
    950: '#000000',
  },
}
SCSS
$custom: #794dd8;
$custom-light: #a781e5;
$custom-dark: #000000;
JSON
{
  "hex": "#794dd8",
  "rgb": {
    "r": 121,
    "g": 77,
    "b": 216
  },
  "hsl": {
    "h": 258.993,
    "s": 64.055,
    "l": 57.451
  },
  "oklch": {
    "l": 0.54472,
    "c": 0.20202,
    "h": 293
  },
  "luminance": 0.14331
}

Semantic roles & 50–950 ramp

primary
#794DD8
secondary
#CBDCA4
accent
#E741B2
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #794DD8

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

Preview Lab → · Contrast checker → · Palette generator →

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