#794FC4#794FC4

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

Color values

HEX#794FC4
RGBrgb(121, 79, 196)
HSLhsl(262, 50%, 54%)
HSVhsv(262, 60%, 77%)
CMYKcmyk(38.3%, 59.7%, 0%, 23.1%)
CIE-LABlab(43.72, 43.15, -55.12)
CIE-LCHlch(43.72, 70.00, 308.06°)
OKLaboklab(53.31% 0.0783 -0.1567)
OKLCHoklch(53.31% 0.175 296.5)
XYZxyz(20.6424, 13.6421, 53.7595)
Luminance0.1364 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794FC4 #9AC44F
analogous
#4F60C4 #794FC4 #B34FC4
triadic
#794FC4 #C4794F #4FC479
tetradic
#794FC4 #C44F60 #9AC44F #4FC4B3
square
#794FC4 #C44F60 #9AC44F #4FC4B3
split-complementary
#794FC4 #C4B34F #60C44F
monochromatic
#422672 #5C36A0 #794FC4 #9C7DD3 #BFABE3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##794FC4#FFFFFF#000000##FFFFFF
##794FC41.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)
#0068C8
Deuteranopia (green-blind)
#1C66C1
Tritanopia (blue-blind)
#676882
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #794fc4;
/* rgb */ color: rgb(121, 79, 196);
/* oklch */ color: oklch(53.3% 0.175 296.5);
Tailwind
colors: {
  custom: {
    50: '#a482d7',
    500: '#794fc4',
    950: '#000000',
  },
}
SCSS
$custom: #794fc4;
$custom-light: #a482d7;
$custom-dark: #000000;
JSON
{
  "hex": "#794fc4",
  "rgb": {
    "r": 121,
    "g": 79,
    "b": 196
  },
  "hsl": {
    "h": 261.538,
    "s": 49.787,
    "l": 53.922
  },
  "oklch": {
    "l": 0.53313,
    "c": 0.17517,
    "h": 296.5
  },
  "luminance": 0.13642
}

Semantic roles & 50–950 ramp

primary
#794FC4
secondary
#BED09E
accent
#D94EA7
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #794FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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