#794BD1#794BD1

#794BD1 is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.7% C 0.196 H 294.7°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#794BD1
RGBrgb(121, 75, 209)
HSLhsl(261, 59%, 56%)
HSVhsv(261, 64%, 82%)
CMYKcmyk(42.1%, 64.1%, 0%, 18%)
CIE-LABlab(43.80, 48.80, -62.49)
CIE-LCHlch(43.80, 79.29, 307.99°)
OKLaboklab(53.66% 0.0819 -0.1784)
OKLCHoklch(53.66% 0.196 294.7)
XYZxyz(21.9068, 13.7000, 61.7994)
Luminance0.1370 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794BD1 #A3D14B
analogous
#4B60D1 #794BD1 #BC4BD1
triadic
#794BD1 #D1794B #4BD179
tetradic
#794BD1 #D14B60 #A3D14B #4BD1BC
square
#794BD1 #D14B60 #A3D14B #4BD1BC
split-complementary
#794BD1 #D1BC4B #60D14B
monochromatic
#422181 #5B2DB1 #794BD1 #9D7CDD #C2ACEA

Accessibility & contrast

On white

5.61
#794BD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#794BD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794BD1
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794BD1#FFFFFF#000000##FFFFFF
##794BD11.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D5
Deuteranopia (green-blind)
#0065CE
Tritanopia (blue-blind)
#616A87
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #794bd1;
/* rgb */ color: rgb(121, 75, 209);
/* oklch */ color: oklch(53.7% 0.196 294.7);
Tailwind
colors: {
  custom: {
    50: '#a680e0',
    500: '#794bd1',
    950: '#000000',
  },
}
SCSS
$custom: #794bd1;
$custom-light: #a680e0;
$custom-dark: #000000;
JSON
{
  "hex": "#794bd1",
  "rgb": {
    "r": 121,
    "g": 75,
    "b": 209
  },
  "hsl": {
    "h": 260.597,
    "s": 59.292,
    "l": 55.686
  },
  "oklch": {
    "l": 0.5366,
    "c": 0.1963,
    "h": 294.7
  },
  "luminance": 0.13701
}

Semantic roles & 50–950 ramp

primary
#794BD1
secondary
#C5D8A0
accent
#E245AD
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #794BD1

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

Preview Lab → · Contrast checker → · Palette generator →

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