#794DD4#794DD4

#794DD4 is a mid, vivid violet. Relative luminance 0.141; OKLCH L 54.2% C 0.197 H 293.8°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#794DD4
RGBrgb(121, 77, 212)
HSLhsl(260, 61%, 57%)
HSVhsv(260, 64%, 83%)
CMYKcmyk(42.9%, 63.7%, 0%, 16.9%)
CIE-LABlab(44.41, 48.54, -63.22)
CIE-LCHlch(44.41, 79.70, 307.52°)
OKLaboklab(54.17% 0.0795 -0.1805)
OKLCHoklch(54.17% 0.197 293.8)
XYZxyz(22.4195, 14.1256, 63.8199)
Luminance0.1413 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794DD4 #A8D44D
analogous
#4D65D4 #794DD4 #BD4DD4
triadic
#794DD4 #D4794D #4DD479
tetradic
#794DD4 #D44D65 #A8D44D #4DD4BD
square
#794DD4 #D44D65 #A8D44D #4DD4BD
split-complementary
#794DD4 #D4BD4D #65D44D
monochromatic
#422086 #5A2CB7 #794DD4 #9E7EE0 #C3B0EC

Accessibility & contrast

On white

5.49
#794DD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#794DD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794DD4
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794DD4#FFFFFF#000000##FFFFFF
##794DD41.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD8
Deuteranopia (green-blind)
#0067D1
Tritanopia (blue-blind)
#606C8A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #794dd4;
/* rgb */ color: rgb(121, 77, 212);
/* oklch */ color: oklch(54.2% 0.197 293.8);
Tailwind
colors: {
  custom: {
    50: '#a681e2',
    500: '#794dd4',
    950: '#000000',
  },
}
SCSS
$custom: #794dd4;
$custom-light: #a681e2;
$custom-dark: #000000;
JSON
{
  "hex": "#794dd4",
  "rgb": {
    "r": 121,
    "g": 77,
    "b": 212
  },
  "hsl": {
    "h": 259.556,
    "s": 61.086,
    "l": 56.667
  },
  "oklch": {
    "l": 0.54171,
    "c": 0.19726,
    "h": 293.8
  },
  "luminance": 0.14126
}

Semantic roles & 50–950 ramp

primary
#794DD4
secondary
#C8DAA3
accent
#E444B0
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100A15
muted
#7F7C84

Preview Lab

Preview with #794DD4

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

Preview Lab → · Contrast checker → · Palette generator →

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