#794CD6#794CD6

#794CD6 is a mid, highly saturated violet. Relative luminance 0.141; OKLCH L 54.2% C 0.201 H 293.6°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#794CD6
RGBrgb(121, 76, 214)
HSLhsl(260, 63%, 57%)
HSVhsv(260, 64%, 84%)
CMYKcmyk(43.5%, 64.5%, 0%, 16.1%)
CIE-LABlab(44.36, 49.61, -64.45)
CIE-LCHlch(44.36, 81.33, 307.59°)
OKLaboklab(54.18% 0.0804 -0.1842)
OKLCHoklch(54.18% 0.201 293.6)
XYZxyz(22.6039, 14.0882, 65.1336)
Luminance0.1409 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794CD6 #A9D64C
analogous
#4C64D6 #794CD6 #BE4CD6
triadic
#794CD6 #D6794C #4CD679
tetradic
#794CD6 #D64C64 #A9D64C #4CD6BE
square
#794CD6 #D64C64 #A9D64C #4CD6BE
split-complementary
#794CD6 #D6BE4C #64D64C
monochromatic
#421F88 #592BBA #794CD6 #9E7EE1 #C4B0ED

Accessibility & contrast

On white

5.50
#794CD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#794CD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794CD6
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794CD6#FFFFFF#000000##FFFFFF
##794CD61.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADA
Deuteranopia (green-blind)
#0066D3
Tritanopia (blue-blind)
#5F6D8A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #794cd6;
/* rgb */ color: rgb(121, 76, 214);
/* oklch */ color: oklch(54.2% 0.201 293.6);
Tailwind
colors: {
  custom: {
    50: '#a681e4',
    500: '#794cd6',
    950: '#000000',
  },
}
SCSS
$custom: #794cd6;
$custom-light: #a681e4;
$custom-dark: #000000;
JSON
{
  "hex": "#794cd6",
  "rgb": {
    "r": 121,
    "g": 76,
    "b": 214
  },
  "hsl": {
    "h": 259.565,
    "s": 62.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.54178,
    "c": 0.20093,
    "h": 293.6
  },
  "luminance": 0.14089
}

Semantic roles & 50–950 ramp

primary
#794CD6
secondary
#C9DBA3
accent
#E642B0
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #794CD6

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

Preview Lab → · Contrast checker → · Palette generator →

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