#794DD2#794DD2

#794DD2 is a mid, vivid violet. Relative luminance 0.140; OKLCH L 54.0% C 0.195 H 294.1°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#794DD2
RGBrgb(121, 77, 210)
HSLhsl(260, 60%, 56%)
HSVhsv(260, 63%, 82%)
CMYKcmyk(42.4%, 63.3%, 0%, 17.6%)
CIE-LABlab(44.27, 48.00, -62.30)
CIE-LCHlch(44.27, 78.65, 307.61°)
OKLaboklab(54.02% 0.0797 -0.1778)
OKLCHoklch(54.02% 0.195 294.1)
XYZxyz(22.1688, 14.0253, 62.4994)
Luminance0.1403 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794DD2 #A6D24D
analogous
#4D64D2 #794DD2 #BC4DD2
triadic
#794DD2 #D2794D #4DD279
tetradic
#794DD2 #D24D64 #A6D24D #4DD2BC
square
#794DD2 #D24D64 #A6D24D #4DD2BC
split-complementary
#794DD2 #D2BC4D #64D24D
monochromatic
#422183 #5A2EB4 #794DD2 #9E7EDE #C3AFEB

Accessibility & contrast

On white

5.52
#794DD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#794DD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794DD2
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794DD2#FFFFFF#000000##FFFFFF
##794DD21.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD6
Deuteranopia (green-blind)
#0066CF
Tritanopia (blue-blind)
#616C88
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #794dd2;
/* rgb */ color: rgb(121, 77, 210);
/* oklch */ color: oklch(54.0% 0.195 294.1);
Tailwind
colors: {
  custom: {
    50: '#a681e1',
    500: '#794dd2',
    950: '#000000',
  },
}
SCSS
$custom: #794dd2;
$custom-light: #a681e1;
$custom-dark: #000000;
JSON
{
  "hex": "#794dd2",
  "rgb": {
    "r": 121,
    "g": 77,
    "b": 210
  },
  "hsl": {
    "h": 259.85,
    "s": 59.641,
    "l": 56.275
  },
  "oklch": {
    "l": 0.54022,
    "c": 0.19487,
    "h": 294.1
  },
  "luminance": 0.14026
}

Semantic roles & 50–950 ramp

primary
#794DD2
secondary
#C7D9A2
accent
#E345AF
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #794DD2

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

Preview Lab → · Contrast checker → · Palette generator →

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