#794FD5#794FD5

#794FD5 is a mid, vivid violet. Relative luminance 0.145; OKLCH L 54.5% C 0.196 H 293.2°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#794FD5
RGBrgb(121, 79, 213)
HSLhsl(259, 61%, 57%)
HSVhsv(259, 63%, 84%)
CMYKcmyk(43.2%, 62.9%, 0%, 16.5%)
CIE-LABlab(44.89, 47.72, -63.02)
CIE-LCHlch(44.89, 79.05, 307.13°)
OKLaboklab(54.54% 0.0773 -0.18)
OKLCHoklch(54.54% 0.196 293.2)
XYZxyz(22.6881, 14.4604, 64.5336)
Luminance0.1446 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794FD5 #ABD54F
analogous
#4F68D5 #794FD5 #BC4FD5
triadic
#794FD5 #D5794F #4FD579
tetradic
#794FD5 #D54F68 #ABD54F #4FD5BC
square
#794FD5 #D54F68 #ABD54F #4FD5BC
split-complementary
#794FD5 #D5BC4F #68D54F
monochromatic
#412189 #592CBA #794FD5 #9F80E1 #C4B2ED

Accessibility & contrast

On white

5.40
#794FD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#794FD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794FD5
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794FD5#FFFFFF#000000##FFFFFF
##794FD51.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD9
Deuteranopia (green-blind)
#0068D2
Tritanopia (blue-blind)
#5F6E8B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #794fd5;
/* rgb */ color: rgb(121, 79, 213);
/* oklch */ color: oklch(54.5% 0.196 293.2);
Tailwind
colors: {
  custom: {
    50: '#a682e3',
    500: '#794fd5',
    950: '#000000',
  },
}
SCSS
$custom: #794fd5;
$custom-light: #a682e3;
$custom-dark: #000000;
JSON
{
  "hex": "#794fd5",
  "rgb": {
    "r": 121,
    "g": 79,
    "b": 213
  },
  "hsl": {
    "h": 258.806,
    "s": 61.468,
    "l": 57.255
  },
  "oklch": {
    "l": 0.54537,
    "c": 0.19585,
    "h": 293.2
  },
  "luminance": 0.14461
}

Semantic roles & 50–950 ramp

primary
#794FD5
secondary
#CADBA5
accent
#E543B2
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100B15
muted
#7F7C84

Preview Lab

Preview with #794FD5

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

Preview Lab → · Contrast checker → · Palette generator →

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