#794CCB#794CCB

#794CCB is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.4% C 0.188 H 295.7°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#794CCB
RGBrgb(121, 76, 203)
HSLhsl(261, 55%, 55%)
HSVhsv(261, 63%, 80%)
CMYKcmyk(40.4%, 62.6%, 0%, 20.4%)
CIE-LABlab(43.57, 46.67, -59.40)
CIE-LCHlch(43.57, 75.54, 308.16°)
OKLaboklab(53.36% 0.0814 -0.1693)
OKLCHoklch(53.36% 0.188 295.7)
XYZxyz(21.2463, 13.5452, 57.9834)
Luminance0.1355 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794CCB #9ECB4C
analogous
#4C5FCB #794CCB #B94CCB
triadic
#794CCB #CB794C #4CCB79
tetradic
#794CCB #CB4C5F #9ECB4C #4CCBB9
square
#794CCB #CB4C5F #9ECB4C #4CCBB9
split-complementary
#794CCB #CBB94C #5FCB4C
monochromatic
#422379 #5B31A9 #794CCB #9D7BD9 #C0ABE7

Accessibility & contrast

On white

5.66
#794CCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#794CCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794CCB
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794CCB#FFFFFF#000000##FFFFFF
##794CCB1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #794ccb;
/* rgb */ color: rgb(121, 76, 203);
/* oklch */ color: oklch(53.4% 0.188 295.7);
Tailwind
colors: {
  custom: {
    50: '#a580dc',
    500: '#794ccb',
    950: '#000000',
  },
}
SCSS
$custom: #794ccb;
$custom-light: #a580dc;
$custom-dark: #000000;
JSON
{
  "hex": "#794ccb",
  "rgb": {
    "r": 121,
    "g": 76,
    "b": 203
  },
  "hsl": {
    "h": 261.26,
    "s": 54.978,
    "l": 54.706
  },
  "oklch": {
    "l": 0.53361,
    "c": 0.18783,
    "h": 295.7
  },
  "luminance": 0.13546
}

Semantic roles & 50–950 ramp

primary
#794CCB
secondary
#C1D49F
accent
#DE49AA
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #794CCB

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

Preview Lab → · Contrast checker → · Palette generator →

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