#794DCF#794DCF

#794DCF is a mid, vivid violet. Relative luminance 0.139; OKLCH L 53.8% C 0.191 H 294.7°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#794DCF
RGBrgb(121, 77, 207)
HSLhsl(260, 58%, 56%)
HSVhsv(260, 63%, 81%)
CMYKcmyk(41.5%, 62.8%, 0%, 18.8%)
CIE-LABlab(44.06, 47.19, -60.92)
CIE-LCHlch(44.06, 77.06, 307.76°)
OKLaboklab(53.8% 0.0799 -0.1738)
OKLCHoklch(53.8% 0.191 294.7)
XYZxyz(21.7985, 13.8772, 60.5494)
Luminance0.1388 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794DCF #A3CF4D
analogous
#4D62CF #794DCF #BA4DCF
triadic
#794DCF #CF794D #4DCF79
tetradic
#794DCF #CF4D62 #A3CF4D #4DCFBA
square
#794DCF #CF4D62 #A3CF4D #4DCFBA
split-complementary
#794DCF #CFBA4D #62CF4D
monochromatic
#42227F #5B2FAF #794DCF #9D7DDC #C2ADE9

Accessibility & contrast

On white

5.56
#794DCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#794DCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794DCF
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794DCF#FFFFFF#000000##FFFFFF
##794DCF1.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D3
Deuteranopia (green-blind)
#0066CC
Tritanopia (blue-blind)
#626B87
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #794dcf;
/* rgb */ color: rgb(121, 77, 207);
/* oklch */ color: oklch(53.8% 0.191 294.7);
Tailwind
colors: {
  custom: {
    50: '#a681de',
    500: '#794dcf',
    950: '#000000',
  },
}
SCSS
$custom: #794dcf;
$custom-light: #a681de;
$custom-dark: #000000;
JSON
{
  "hex": "#794dcf",
  "rgb": {
    "r": 121,
    "g": 77,
    "b": 207
  },
  "hsl": {
    "h": 260.308,
    "s": 57.522,
    "l": 55.686
  },
  "oklch": {
    "l": 0.538,
    "c": 0.19129,
    "h": 294.7
  },
  "luminance": 0.13878
}

Semantic roles & 50–950 ramp

primary
#794DCF
secondary
#C5D7A1
accent
#E147AD
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #794DCF

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

Preview Lab → · Contrast checker → · Palette generator →

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