#794DDA#794DDA

#794DDA is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 54.6% C 0.204 H 292.7°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#794DDA
RGBrgb(121, 77, 218)
HSLhsl(259, 66%, 58%)
HSVhsv(259, 65%, 85%)
CMYKcmyk(44.5%, 64.7%, 0%, 14.5%)
CIE-LABlab(44.85, 50.16, -65.94)
CIE-LCHlch(44.85, 82.85, 307.26°)
OKLaboklab(54.62% 0.0789 -0.1885)
OKLCHoklch(54.62% 0.204 292.7)
XYZxyz(23.1904, 14.4339, 67.8802)
Luminance0.1444 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794DDA #AEDA4D
analogous
#4D68DA #794DDA #BF4DDA
triadic
#794DDA #DA794D #4DDA79
tetradic
#794DDA #DA4D68 #AEDA4D #4DDABF
square
#794DDA #DA4D68 #AEDA4D #4DDABF
split-complementary
#794DDA #DABF4D #68DA4D
monochromatic
#411E8F #5828C2 #794DDA #9F80E5 #C5B2EF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##794DDA#FFFFFF#000000##FFFFFF
##794DDA1.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)
#006CDE
Deuteranopia (green-blind)
#0067D7
Tritanopia (blue-blind)
#5D6F8D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #794dda;
/* rgb */ color: rgb(121, 77, 218);
/* oklch */ color: oklch(54.6% 0.204 292.7);
Tailwind
colors: {
  custom: {
    50: '#a781e6',
    500: '#794dda',
    950: '#000000',
  },
}
SCSS
$custom: #794dda;
$custom-light: #a781e6;
$custom-dark: #000000;
JSON
{
  "hex": "#794dda",
  "rgb": {
    "r": 121,
    "g": 77,
    "b": 218
  },
  "hsl": {
    "h": 258.723,
    "s": 65.581,
    "l": 57.843
  },
  "oklch": {
    "l": 0.54624,
    "c": 0.20438,
    "h": 292.7
  },
  "luminance": 0.14435
}

Semantic roles & 50–950 ramp

primary
#794DDA
secondary
#CCDEA5
accent
#E93FB4
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #794DDA

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

Preview Lab → · Contrast checker → · Palette generator →

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