#794BD3#794BD3

#794BD3 is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.8% C 0.199 H 294.3°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#794BD3
RGBrgb(121, 75, 211)
HSLhsl(260, 61%, 56%)
HSVhsv(260, 64%, 83%)
CMYKcmyk(42.7%, 64.5%, 0%, 17.3%)
CIE-LABlab(43.94, 49.34, -63.40)
CIE-LCHlch(43.94, 80.34, 307.89°)
OKLaboklab(53.81% 0.0817 -0.1811)
OKLCHoklch(53.81% 0.199 294.3)
XYZxyz(22.1559, 13.7997, 63.1116)
Luminance0.1380 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794BD3 #A5D34B
analogous
#4B61D3 #794BD3 #BD4BD3
triadic
#794BD3 #D3794B #4BD379
tetradic
#794BD3 #D34B61 #A5D34B #4BD3BD
square
#794BD3 #D34B61 #A5D34B #4BD3BD
split-complementary
#794BD3 #D3BD4B #61D34B
monochromatic
#422083 #5A2CB5 #794BD3 #9E7CDF #C2ADEB

Accessibility & contrast

On white

5.59
#794BD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#794BD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794BD3
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794BD3#FFFFFF#000000##FFFFFF
##794BD31.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D7
Deuteranopia (green-blind)
#0066D0
Tritanopia (blue-blind)
#606B88
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #794bd3;
/* rgb */ color: rgb(121, 75, 211);
/* oklch */ color: oklch(53.8% 0.199 294.3);
Tailwind
colors: {
  custom: {
    50: '#a680e1',
    500: '#794bd3',
    950: '#000000',
  },
}
SCSS
$custom: #794bd3;
$custom-light: #a680e1;
$custom-dark: #000000;
JSON
{
  "hex": "#794bd3",
  "rgb": {
    "r": 121,
    "g": 75,
    "b": 211
  },
  "hsl": {
    "h": 260.294,
    "s": 60.714,
    "l": 56.078
  },
  "oklch": {
    "l": 0.5381,
    "c": 0.19867,
    "h": 294.3
  },
  "luminance": 0.138
}

Semantic roles & 50–950 ramp

primary
#794BD3
secondary
#C6D9A1
accent
#E444AE
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #794BD3

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

Preview Lab → · Contrast checker → · Palette generator →

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