#794DD7#794DD7

#794DD7 is a mid, highly saturated violet. Relative luminance 0.143; OKLCH L 54.4% C 0.201 H 293.2°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#794DD7
RGBrgb(121, 77, 215)
HSLhsl(259, 63%, 57%)
HSVhsv(259, 64%, 84%)
CMYKcmyk(43.7%, 64.2%, 0%, 15.7%)
CIE-LABlab(44.63, 49.34, -64.58)
CIE-LCHlch(44.63, 81.28, 307.38°)
OKLaboklab(54.4% 0.0792 -0.1845)
OKLCHoklch(54.4% 0.201 293.2)
XYZxyz(22.8014, 14.2783, 65.8314)
Luminance0.1428 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794DD7 #ABD74D
analogous
#4D66D7 #794DD7 #BE4DD7
triadic
#794DD7 #D7794D #4DD779
tetradic
#794DD7 #D74D66 #ABD74D #4DD7BE
square
#794DD7 #D74D66 #ABD74D #4DD7BE
split-complementary
#794DD7 #D7BE4D #66D74D
monochromatic
#411F8A #592ABC #794DD7 #9F7FE2 #C4B1ED

Accessibility & contrast

On white

5.45
#794DD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#794DD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794DD7
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794DD7#FFFFFF#000000##FFFFFF
##794DD71.005.453.865.45
#FFFFFF5.451.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDB
Deuteranopia (green-blind)
#0067D4
Tritanopia (blue-blind)
#5E6D8B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #794dd7;
/* rgb */ color: rgb(121, 77, 215);
/* oklch */ color: oklch(54.4% 0.201 293.2);
Tailwind
colors: {
  custom: {
    50: '#a681e4',
    500: '#794dd7',
    950: '#000000',
  },
}
SCSS
$custom: #794dd7;
$custom-light: #a681e4;
$custom-dark: #000000;
JSON
{
  "hex": "#794dd7",
  "rgb": {
    "r": 121,
    "g": 77,
    "b": 215
  },
  "hsl": {
    "h": 259.13,
    "s": 63.303,
    "l": 57.255
  },
  "oklch": {
    "l": 0.54396,
    "c": 0.20083,
    "h": 293.2
  },
  "luminance": 0.14279
}

Semantic roles & 50–950 ramp

primary
#794DD7
secondary
#CADCA4
accent
#E641B2
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #794DD7

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

Preview Lab → · Contrast checker → · Palette generator →

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