#794FD3#794FD3

#794FD3 is a mid, vivid violet. Relative luminance 0.144; OKLCH L 54.4% C 0.193 H 293.6°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#794FD3
RGBrgb(121, 79, 211)
HSLhsl(259, 60%, 57%)
HSVhsv(259, 63%, 83%)
CMYKcmyk(42.7%, 62.6%, 0%, 17.3%)
CIE-LABlab(44.74, 47.18, -62.11)
CIE-LCHlch(44.74, 77.99, 307.22°)
OKLaboklab(54.39% 0.0774 -0.1773)
OKLCHoklch(54.39% 0.193 293.6)
XYZxyz(22.4358, 14.3595, 63.2049)
Luminance0.1436 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794FD3 #A9D34F
analogous
#4F67D3 #794FD3 #BB4FD3
triadic
#794FD3 #D3794F #4FD379
tetradic
#794FD3 #D34F67 #A9D34F #4FD3BB
square
#794FD3 #D34F67 #A9D34F #4FD3BB
split-complementary
#794FD3 #D3BB4F #67D34F
monochromatic
#422286 #592EB7 #794FD3 #9E80DF #C4B1EB

Accessibility & contrast

On white

5.42
#794FD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #794FD3
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794FD3#FFFFFF#000000##FFFFFF
##794FD31.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD7
Deuteranopia (green-blind)
#0067D0
Tritanopia (blue-blind)
#606D8A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #794fd3;
/* rgb */ color: rgb(121, 79, 211);
/* oklch */ color: oklch(54.4% 0.193 293.6);
Tailwind
colors: {
  custom: {
    50: '#a682e1',
    500: '#794fd3',
    950: '#000000',
  },
}
SCSS
$custom: #794fd3;
$custom-light: #a682e1;
$custom-dark: #000000;
JSON
{
  "hex": "#794fd3",
  "rgb": {
    "r": 121,
    "g": 79,
    "b": 211
  },
  "hsl": {
    "h": 259.091,
    "s": 60,
    "l": 56.863
  },
  "oklch": {
    "l": 0.54389,
    "c": 0.19344,
    "h": 293.6
  },
  "luminance": 0.1436
}

Semantic roles & 50–950 ramp

primary
#794FD3
secondary
#C9DAA4
accent
#E345B1
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #794FD3

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

Preview Lab → · Contrast checker → · Palette generator →

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