#794BD7#794BD7

#794BD7 is a mid, highly saturated violet. Relative luminance 0.140; OKLCH L 54.1% C 0.203 H 293.6°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#794BD7
RGBrgb(121, 75, 215)
HSLhsl(260, 64%, 57%)
HSVhsv(260, 65%, 84%)
CMYKcmyk(43.7%, 65.1%, 0%, 15.7%)
CIE-LABlab(44.24, 50.41, -65.22)
CIE-LCHlch(44.24, 82.43, 307.70°)
OKLaboklab(54.11% 0.0813 -0.1864)
OKLCHoklch(54.11% 0.203 293.6)
XYZxyz(22.6636, 14.0028, 65.7855)
Luminance0.1400 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794BD7 #A9D74B
analogous
#4B63D7 #794BD7 #BF4BD7
triadic
#794BD7 #D7794B #4BD779
tetradic
#794BD7 #D74B63 #A9D74B #4BD7BF
square
#794BD7 #D74B63 #A9D74B #4BD7BF
split-complementary
#794BD7 #D7BF4B #63D74B
monochromatic
#421E89 #592ABB #794BD7 #9E7DE2 #C4AFED

Accessibility & contrast

On white

5.53
#794BD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#794BD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794BD7
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794BD7#FFFFFF#000000##FFFFFF
##794BD71.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADB
Deuteranopia (green-blind)
#0066D4
Tritanopia (blue-blind)
#5E6C8A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #794bd7;
/* rgb */ color: rgb(121, 75, 215);
/* oklch */ color: oklch(54.1% 0.203 293.6);
Tailwind
colors: {
  custom: {
    50: '#a780e4',
    500: '#794bd7',
    950: '#000000',
  },
}
SCSS
$custom: #794bd7;
$custom-light: #a780e4;
$custom-dark: #000000;
JSON
{
  "hex": "#794bd7",
  "rgb": {
    "r": 121,
    "g": 75,
    "b": 215
  },
  "hsl": {
    "h": 259.714,
    "s": 63.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.54113,
    "c": 0.20338,
    "h": 293.6
  },
  "luminance": 0.14003
}

Semantic roles & 50–950 ramp

primary
#794BD7
secondary
#C9DBA2
accent
#E741B0
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #794BD7

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

Preview Lab → · Contrast checker → · Palette generator →

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