#794CDC#794CDC

#794CDC is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 54.6% C 0.208 H 292.5°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#794CDC
RGBrgb(121, 76, 220)
HSLhsl(259, 67%, 58%)
HSVhsv(259, 65%, 86%)
CMYKcmyk(45%, 65.5%, 0%, 13.7%)
CIE-LABlab(44.80, 51.23, -67.16)
CIE-LCHlch(44.80, 84.47, 307.34°)
OKLaboklab(54.64% 0.0797 -0.1921)
OKLCHoklch(54.64% 0.208 292.5)
XYZxyz(23.3843, 14.4004, 69.2437)
Luminance0.1440 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794CDC #AFDC4C
analogous
#4C67DC #794CDC #C14CDC
triadic
#794CDC #DC794C #4CDC79
tetradic
#794CDC #DC4C67 #AFDC4C #4CDCC1
square
#794CDC #DC4C67 #AFDC4C #4CDCC1
split-complementary
#794CDC #DCC14C #67DC4C
monochromatic
#411C91 #5826C4 #794CDC #9F7FE6 #C6B2F0

Accessibility & contrast

On white

5.41
#794CDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#794CDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794CDC
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794CDC#FFFFFF#000000##FFFFFF
##794CDC1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE0
Deuteranopia (green-blind)
#0067D9
Tritanopia (blue-blind)
#5C6F8D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #794cdc;
/* rgb */ color: rgb(121, 76, 220);
/* oklch */ color: oklch(54.6% 0.208 292.5);
Tailwind
colors: {
  custom: {
    50: '#a781e8',
    500: '#794cdc',
    950: '#000000',
  },
}
SCSS
$custom: #794cdc;
$custom-light: #a781e8;
$custom-dark: #000000;
JSON
{
  "hex": "#794cdc",
  "rgb": {
    "r": 121,
    "g": 76,
    "b": 220
  },
  "hsl": {
    "h": 258.75,
    "s": 67.29,
    "l": 58.039
  },
  "oklch": {
    "l": 0.54636,
    "c": 0.20799,
    "h": 292.5
  },
  "luminance": 0.14401
}

Semantic roles & 50–950 ramp

primary
#794CDC
secondary
#CDDFA5
accent
#EA3EB4
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #794CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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