#794DCD#794DCD

#794DCD is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.7% C 0.189 H 295.1°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#794DCD
RGBrgb(121, 77, 205)
HSLhsl(261, 56%, 55%)
HSVhsv(261, 62%, 80%)
CMYKcmyk(41%, 62.4%, 0%, 19.6%)
CIE-LABlab(43.92, 46.66, -60.00)
CIE-LCHlch(43.92, 76.00, 307.87°)
OKLaboklab(53.65% 0.0801 -0.1711)
OKLCHoklch(53.65% 0.189 295.1)
XYZxyz(21.5556, 13.7800, 59.2699)
Luminance0.1378 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794DCD #A1CD4D
analogous
#4D61CD #794DCD #B94DCD
triadic
#794DCD #CD794D #4DCD79
tetradic
#794DCD #CD4D61 #A1CD4D #4DCDB9
square
#794DCD #CD4D61 #A1CD4D #4DCDB9
split-complementary
#794DCD #CDB94D #61CD4D
monochromatic
#42237D #5B30AC #794DCD #9D7DDA #C1ADE8

Accessibility & contrast

On white

5.59
#794DCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#794DCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794DCD
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794DCD#FFFFFF#000000##FFFFFF
##794DCD1.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D1
Deuteranopia (green-blind)
#0066CA
Tritanopia (blue-blind)
#636A86
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #794dcd;
/* rgb */ color: rgb(121, 77, 205);
/* oklch */ color: oklch(53.7% 0.189 295.1);
Tailwind
colors: {
  custom: {
    50: '#a581dd',
    500: '#794dcd',
    950: '#000000',
  },
}
SCSS
$custom: #794dcd;
$custom-light: #a581dd;
$custom-dark: #000000;
JSON
{
  "hex": "#794dcd",
  "rgb": {
    "r": 121,
    "g": 77,
    "b": 205
  },
  "hsl": {
    "h": 260.625,
    "s": 56.14,
    "l": 55.294
  },
  "oklch": {
    "l": 0.53654,
    "c": 0.18889,
    "h": 295.1
  },
  "luminance": 0.1378
}

Semantic roles & 50–950 ramp

primary
#794DCD
secondary
#C3D6A0
accent
#DF48AC
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #794DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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