#794DCB#794DCB

#794DCB is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.5% C 0.186 H 295.5°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#794DCB
RGBrgb(121, 77, 203)
HSLhsl(261, 55%, 55%)
HSVhsv(261, 62%, 80%)
CMYKcmyk(40.4%, 62.1%, 0%, 20.4%)
CIE-LABlab(43.78, 46.12, -59.07)
CIE-LCHlch(43.78, 74.94, 307.98°)
OKLaboklab(53.51% 0.0802 -0.1683)
OKLCHoklch(53.51% 0.186 295.5)
XYZxyz(21.3157, 13.6840, 58.0066)
Luminance0.1368 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794DCB #9FCB4D
analogous
#4D60CB #794DCB #B84DCB
triadic
#794DCB #CB794D #4DCB79
tetradic
#794DCB #CB4D60 #9FCB4D #4DCBB8
square
#794DCB #CB4D60 #9FCB4D #4DCBB8
split-complementary
#794DCB #CBB84D #60CB4D
monochromatic
#42247A #5B31A9 #794DCB #9D7CD9 #C0ACE7

Accessibility & contrast

On white

5.62
#794DCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#794DCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794DCB
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794DCB#FFFFFF#000000##FFFFFF
##794DCB1.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CF
Deuteranopia (green-blind)
#0066C8
Tritanopia (blue-blind)
#646985
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #794dcb;
/* rgb */ color: rgb(121, 77, 203);
/* oklch */ color: oklch(53.5% 0.186 295.5);
Tailwind
colors: {
  custom: {
    50: '#a581dc',
    500: '#794dcb',
    950: '#000000',
  },
}
SCSS
$custom: #794dcb;
$custom-light: #a581dc;
$custom-dark: #000000;
JSON
{
  "hex": "#794dcb",
  "rgb": {
    "r": 121,
    "g": 77,
    "b": 203
  },
  "hsl": {
    "h": 260.952,
    "s": 54.783,
    "l": 54.902
  },
  "oklch": {
    "l": 0.53509,
    "c": 0.18648,
    "h": 295.5
  },
  "luminance": 0.13684
}

Semantic roles & 50–950 ramp

primary
#794DCB
secondary
#C2D49F
accent
#DE4AAA
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #794DCB

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

Preview Lab → · Contrast checker → · Palette generator →

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