#794FDC#794FDC

#794FDC is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 55.1% C 0.204 H 292.0°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#794FDC
RGBrgb(121, 79, 220)
HSLhsl(258, 67%, 59%)
HSVhsv(258, 64%, 86%)
CMYKcmyk(45%, 64.1%, 0%, 13.7%)
CIE-LABlab(45.39, 49.63, -66.20)
CIE-LCHlch(45.39, 82.74, 306.86°)
OKLaboklab(55.06% 0.0766 -0.1893)
OKLCHoklch(55.06% 0.204 292)
XYZxyz(23.5958, 14.8235, 69.3142)
Luminance0.1482 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794FDC #B2DC4F
analogous
#4F6BDC #794FDC #BF4FDC
triadic
#794FDC #DC794F #4FDC79
tetradic
#794FDC #DC4F6B #B2DC4F #4FDCBF
square
#794FDC #DC4F6B #B2DC4F #4FDCBF
split-complementary
#794FDC #DCBF4F #6BDC4F
monochromatic
#401D93 #5727C6 #794FDC #A082E6 #C7B5F0

Accessibility & contrast

On white

5.30
#794FDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#794FDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794FDC
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794FDC#FFFFFF#000000##FFFFFF
##794FDC1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE0
Deuteranopia (green-blind)
#0069D9
Tritanopia (blue-blind)
#5C708E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #794fdc;
/* rgb */ color: rgb(121, 79, 220);
/* oklch */ color: oklch(55.1% 0.204 292.0);
Tailwind
colors: {
  custom: {
    50: '#a783e8',
    500: '#794fdc',
    950: '#000000',
  },
}
SCSS
$custom: #794fdc;
$custom-light: #a783e8;
$custom-dark: #000000;
JSON
{
  "hex": "#794fdc",
  "rgb": {
    "r": 121,
    "g": 79,
    "b": 220
  },
  "hsl": {
    "h": 257.872,
    "s": 66.825,
    "l": 58.627
  },
  "oklch": {
    "l": 0.55062,
    "c": 0.20422,
    "h": 292
  },
  "luminance": 0.14824
}

Semantic roles & 50–950 ramp

primary
#794FDC
secondary
#CFDFA8
accent
#EA3EB7
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #794FDC

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

Preview Lab → · Contrast checker → · Palette generator →

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