#794CD2#794CD2

#794CD2 is a mid, vivid violet. Relative luminance 0.139; OKLCH L 53.9% C 0.196 H 294.3°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#794CD2
RGBrgb(121, 76, 210)
HSLhsl(260, 60%, 56%)
HSVhsv(260, 64%, 82%)
CMYKcmyk(42.4%, 63.8%, 0%, 17.6%)
CIE-LABlab(44.07, 48.54, -62.63)
CIE-LCHlch(44.07, 79.23, 307.78°)
OKLaboklab(53.88% 0.0808 -0.1788)
OKLCHoklch(53.88% 0.196 294.3)
XYZxyz(22.0993, 13.8864, 62.4763)
Luminance0.1389 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794CD2 #A5D24C
analogous
#4C62D2 #794CD2 #BC4CD2
triadic
#794CD2 #D2794C #4CD279
tetradic
#794CD2 #D24C62 #A5D24C #4CD2BC
square
#794CD2 #D24C62 #A5D24C #4CD2BC
split-complementary
#794CD2 #D2BC4C #62D24C
monochromatic
#422183 #5A2DB4 #794CD2 #9E7DDE #C2AEEB

Accessibility & contrast

On white

5.56
#794CD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#794CD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794CD2
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794CD2#FFFFFF#000000##FFFFFF
##794CD21.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D6
Deuteranopia (green-blind)
#0066CF
Tritanopia (blue-blind)
#616B88
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #794cd2;
/* rgb */ color: rgb(121, 76, 210);
/* oklch */ color: oklch(53.9% 0.196 294.3);
Tailwind
colors: {
  custom: {
    50: '#a680e1',
    500: '#794cd2',
    950: '#000000',
  },
}
SCSS
$custom: #794cd2;
$custom-light: #a680e1;
$custom-dark: #000000;
JSON
{
  "hex": "#794cd2",
  "rgb": {
    "r": 121,
    "g": 76,
    "b": 210
  },
  "hsl": {
    "h": 260.149,
    "s": 59.821,
    "l": 56.078
  },
  "oklch": {
    "l": 0.53877,
    "c": 0.19619,
    "h": 294.3
  },
  "luminance": 0.13887
}

Semantic roles & 50–950 ramp

primary
#794CD2
secondary
#C6D9A1
accent
#E345AE
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #794CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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