#794FD2#794FD2

#794FD2 is a mid, vivid violet. Relative luminance 0.143; OKLCH L 54.3% C 0.192 H 293.8°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#794FD2
RGBrgb(121, 79, 210)
HSLhsl(259, 59%, 57%)
HSVhsv(259, 62%, 82%)
CMYKcmyk(42.4%, 62.4%, 0%, 17.6%)
CIE-LABlab(44.67, 46.91, -61.65)
CIE-LCHlch(44.67, 77.47, 307.27°)
OKLaboklab(54.32% 0.0775 -0.1759)
OKLCHoklch(54.32% 0.192 293.8)
XYZxyz(22.3109, 14.3095, 62.5468)
Luminance0.1431 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794FD2 #A8D24F
analogous
#4F67D2 #794FD2 #BB4FD2
triadic
#794FD2 #D2794F #4FD279
tetradic
#794FD2 #D24F67 #A8D24F #4FD2BB
square
#794FD2 #D24F67 #A8D24F #4FD2BB
split-complementary
#794FD2 #D2BB4F #67D24F
monochromatic
#422285 #5A2EB5 #794FD2 #9E80DE #C3B0EB

Accessibility & contrast

On white

5.44
#794FD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #794FD2
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794FD2#FFFFFF#000000##FFFFFF
##794FD21.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD6
Deuteranopia (green-blind)
#0067CF
Tritanopia (blue-blind)
#616D89
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #794fd2;
/* rgb */ color: rgb(121, 79, 210);
/* oklch */ color: oklch(54.3% 0.192 293.8);
Tailwind
colors: {
  custom: {
    50: '#a682e1',
    500: '#794fd2',
    950: '#000000',
  },
}
SCSS
$custom: #794fd2;
$custom-light: #a682e1;
$custom-dark: #000000;
JSON
{
  "hex": "#794fd2",
  "rgb": {
    "r": 121,
    "g": 79,
    "b": 210
  },
  "hsl": {
    "h": 259.237,
    "s": 59.276,
    "l": 56.667
  },
  "oklch": {
    "l": 0.54315,
    "c": 0.19223,
    "h": 293.8
  },
  "luminance": 0.1431
}

Semantic roles & 50–950 ramp

primary
#794FD2
secondary
#C8D9A4
accent
#E245B0
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #794FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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