#794CC8#794CC8

#794CC8 is a mid, vivid violet. Relative luminance 0.134; OKLCH L 53.1% C 0.184 H 296.3°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#794CC8
RGBrgb(121, 76, 200)
HSLhsl(262, 53%, 54%)
HSVhsv(262, 62%, 78%)
CMYKcmyk(39.5%, 62%, 0%, 21.6%)
CIE-LABlab(43.37, 45.87, -58.00)
CIE-LCHlch(43.37, 73.95, 308.34°)
OKLaboklab(53.14% 0.0816 -0.1652)
OKLCHoklch(53.14% 0.184 296.3)
XYZxyz(20.8922, 13.4036, 56.1188)
Luminance0.1340 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794CC8 #9BC84C
analogous
#4C5DC8 #794CC8 #B74CC8
triadic
#794CC8 #C8794C #4CC879
tetradic
#794CC8 #C84C5D #9BC84C #4CC8B7
square
#794CC8 #C84C5D #9BC84C #4CC8B7
split-complementary
#794CC8 #C8B74C #5DC84C
monochromatic
#422475 #5C32A4 #794CC8 #9C7BD6 #BFAAE5

Accessibility & contrast

On white

5.71
#794CC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#794CC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794CC8
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794CC8#FFFFFF#000000##FFFFFF
##794CC81.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CC
Deuteranopia (green-blind)
#0365C5
Tritanopia (blue-blind)
#656883
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #794cc8;
/* rgb */ color: rgb(121, 76, 200);
/* oklch */ color: oklch(53.1% 0.184 296.3);
Tailwind
colors: {
  custom: {
    50: '#a580d9',
    500: '#794cc8',
    950: '#000000',
  },
}
SCSS
$custom: #794cc8;
$custom-light: #a580d9;
$custom-dark: #000000;
JSON
{
  "hex": "#794cc8",
  "rgb": {
    "r": 121,
    "g": 76,
    "b": 200
  },
  "hsl": {
    "h": 261.774,
    "s": 52.991,
    "l": 54.118
  },
  "oklch": {
    "l": 0.53144,
    "c": 0.18423,
    "h": 296.3
  },
  "luminance": 0.13404
}

Semantic roles & 50–950 ramp

primary
#794CC8
secondary
#BFD29E
accent
#DC4BA8
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #794CC8

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

Preview Lab → · Contrast checker → · Palette generator →

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