#794CD3#794CD3

#794CD3 is a mid, vivid violet. Relative luminance 0.139; OKLCH L 54.0% C 0.197 H 294.1°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#794CD3
RGBrgb(121, 76, 211)
HSLhsl(260, 61%, 56%)
HSVhsv(260, 64%, 83%)
CMYKcmyk(42.7%, 64%, 0%, 17.3%)
CIE-LABlab(44.14, 48.80, -63.08)
CIE-LCHlch(44.14, 79.76, 307.73°)
OKLaboklab(53.95% 0.0807 -0.1801)
OKLCHoklch(53.95% 0.197 294.1)
XYZxyz(22.2243, 13.9364, 63.1344)
Luminance0.1394 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794CD3 #A6D34C
analogous
#4C63D3 #794CD3 #BD4CD3
triadic
#794CD3 #D3794C #4CD379
tetradic
#794CD3 #D34C63 #A6D34C #4CD3BD
square
#794CD3 #D34C63 #A6D34C #4CD3BD
split-complementary
#794CD3 #D3BD4C #63D34C
monochromatic
#422084 #5A2DB5 #794CD3 #9E7DDF #C3AEEB

Accessibility & contrast

On white

5.54
#794CD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#794CD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794CD3
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794CD3#FFFFFF#000000##FFFFFF
##794CD31.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD7
Deuteranopia (green-blind)
#0066D0
Tritanopia (blue-blind)
#606B89
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #794cd3;
/* rgb */ color: rgb(121, 76, 211);
/* oklch */ color: oklch(54.0% 0.197 294.1);
Tailwind
colors: {
  custom: {
    50: '#a680e1',
    500: '#794cd3',
    950: '#000000',
  },
}
SCSS
$custom: #794cd3;
$custom-light: #a680e1;
$custom-dark: #000000;
JSON
{
  "hex": "#794cd3",
  "rgb": {
    "r": 121,
    "g": 76,
    "b": 211
  },
  "hsl": {
    "h": 260,
    "s": 60.538,
    "l": 56.275
  },
  "oklch": {
    "l": 0.53952,
    "c": 0.19737,
    "h": 294.1
  },
  "luminance": 0.13937
}

Semantic roles & 50–950 ramp

primary
#794CD3
secondary
#C7D9A2
accent
#E444AE
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #794CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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