#794BD5#794BD5

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

Color values

HEX#794BD5
RGBrgb(121, 75, 213)
HSLhsl(260, 62%, 56%)
HSVhsv(260, 65%, 84%)
CMYKcmyk(43.2%, 64.8%, 0%, 16.5%)
CIE-LABlab(44.09, 49.87, -64.31)
CIE-LCHlch(44.09, 81.39, 307.79°)
OKLaboklab(53.96% 0.0815 -0.1838)
OKLCHoklch(53.96% 0.201 293.9)
XYZxyz(22.4082, 13.9006, 64.4403)
Luminance0.1390 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794BD5 #A7D54B
analogous
#4B62D5 #794BD5 #BE4BD5
triadic
#794BD5 #D5794B #4BD579
tetradic
#794BD5 #D54B62 #A7D54B #4BD5BE
square
#794BD5 #D54B62 #A7D54B #4BD5BE
split-complementary
#794BD5 #D5BE4B #62D54B
monochromatic
#421F86 #5A2BB8 #794BD5 #9E7DE1 #C3AEEC

Accessibility & contrast

On white

5.56
#794BD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #794BD5
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794BD5#FFFFFF#000000##FFFFFF
##794BD51.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD9
Deuteranopia (green-blind)
#0066D2
Tritanopia (blue-blind)
#606C89
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #794bd5;
/* rgb */ color: rgb(121, 75, 213);
/* oklch */ color: oklch(54.0% 0.201 293.9);
Tailwind
colors: {
  custom: {
    50: '#a680e3',
    500: '#794bd5',
    950: '#000000',
  },
}
SCSS
$custom: #794bd5;
$custom-light: #a680e3;
$custom-dark: #000000;
JSON
{
  "hex": "#794bd5",
  "rgb": {
    "r": 121,
    "g": 75,
    "b": 213
  },
  "hsl": {
    "h": 260,
    "s": 62.162,
    "l": 56.471
  },
  "oklch": {
    "l": 0.53961,
    "c": 0.20102,
    "h": 293.9
  },
  "luminance": 0.13901
}

Semantic roles & 50–950 ramp

primary
#794BD5
secondary
#C7DAA2
accent
#E543AF
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #794BD5

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

Preview Lab → · Contrast checker → · Palette generator →

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