#794CCD#794CCD

#794CCD is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.5% C 0.190 H 295.3°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#794CCD
RGBrgb(121, 76, 205)
HSLhsl(261, 56%, 55%)
HSVhsv(261, 63%, 80%)
CMYKcmyk(41%, 62.9%, 0%, 19.6%)
CIE-LABlab(43.71, 47.20, -60.32)
CIE-LCHlch(43.71, 76.59, 308.04°)
OKLaboklab(53.51% 0.0812 -0.172)
OKLCHoklch(53.51% 0.19 295.3)
XYZxyz(21.4861, 13.6411, 59.2467)
Luminance0.1364 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794CCD #A0CD4C
analogous
#4C60CD #794CCD #B94CCD
triadic
#794CCD #CD794C #4CCD79
tetradic
#794CCD #CD4C60 #A0CD4C #4CCDB9
square
#794CCD #CD4C60 #A0CD4C #4CCDB9
split-complementary
#794CCD #CDB94C #60CD4C
monochromatic
#42237C #5B30AC #794CCD #9D7CDA #C1ACE8

Accessibility & contrast

On white

5.63
#794CCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#794CCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794CCD
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794CCD#FFFFFF#000000##FFFFFF
##794CCD1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D1
Deuteranopia (green-blind)
#0065CA
Tritanopia (blue-blind)
#636985
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #794ccd;
/* rgb */ color: rgb(121, 76, 205);
/* oklch */ color: oklch(53.5% 0.190 295.3);
Tailwind
colors: {
  custom: {
    50: '#a580dd',
    500: '#794ccd',
    950: '#000000',
  },
}
SCSS
$custom: #794ccd;
$custom-light: #a580dd;
$custom-dark: #000000;
JSON
{
  "hex": "#794ccd",
  "rgb": {
    "r": 121,
    "g": 76,
    "b": 205
  },
  "hsl": {
    "h": 260.93,
    "s": 56.332,
    "l": 55.098
  },
  "oklch": {
    "l": 0.53507,
    "c": 0.19023,
    "h": 295.3
  },
  "luminance": 0.13642
}

Semantic roles & 50–950 ramp

primary
#794CCD
secondary
#C3D59F
accent
#E048AB
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #794CCD

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

Preview Lab → · Contrast checker → · Palette generator →

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