#794DD6#794DD6

#794DD6 is a mid, vivid violet. Relative luminance 0.142; OKLCH L 54.3% C 0.200 H 293.4°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#794DD6
RGBrgb(121, 77, 214)
HSLhsl(259, 63%, 57%)
HSVhsv(259, 64%, 84%)
CMYKcmyk(43.5%, 64%, 0%, 16.1%)
CIE-LABlab(44.56, 49.07, -64.13)
CIE-LCHlch(44.56, 80.75, 307.42°)
OKLaboklab(54.32% 0.0793 -0.1832)
OKLCHoklch(54.32% 0.2 293.4)
XYZxyz(22.6733, 14.2271, 65.1568)
Luminance0.1423 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794DD6 #AAD64D
analogous
#4D66D6 #794DD6 #BE4DD6
triadic
#794DD6 #D6794D #4DD679
tetradic
#794DD6 #D64D66 #AAD64D #4DD6BE
square
#794DD6 #D64D66 #AAD64D #4DD6BE
split-complementary
#794DD6 #D6BE4D #66D64D
monochromatic
#412089 #592BBB #794DD6 #9E7FE1 #C4B0ED

Accessibility & contrast

On white

5.46
#794DD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#794DD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794DD6
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794DD6#FFFFFF#000000##FFFFFF
##794DD61.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDA
Deuteranopia (green-blind)
#0067D3
Tritanopia (blue-blind)
#5F6D8B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #794dd6;
/* rgb */ color: rgb(121, 77, 214);
/* oklch */ color: oklch(54.3% 0.200 293.4);
Tailwind
colors: {
  custom: {
    50: '#a681e4',
    500: '#794dd6',
    950: '#000000',
  },
}
SCSS
$custom: #794dd6;
$custom-light: #a681e4;
$custom-dark: #000000;
JSON
{
  "hex": "#794dd6",
  "rgb": {
    "r": 121,
    "g": 77,
    "b": 214
  },
  "hsl": {
    "h": 259.27,
    "s": 62.557,
    "l": 57.059
  },
  "oklch": {
    "l": 0.54321,
    "c": 0.19964,
    "h": 293.4
  },
  "luminance": 0.14228
}

Semantic roles & 50–950 ramp

primary
#794DD6
secondary
#C9DBA4
accent
#E642B1
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #794DD6

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

Preview Lab → · Contrast checker → · Palette generator →

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