#794BD2#794BD2

#794BD2 is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.7% C 0.197 H 294.5°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#794BD2
RGBrgb(121, 75, 210)
HSLhsl(260, 60%, 56%)
HSVhsv(260, 64%, 82%)
CMYKcmyk(42.4%, 64.3%, 0%, 17.6%)
CIE-LABlab(43.87, 49.07, -62.95)
CIE-LCHlch(43.87, 79.81, 307.94°)
OKLaboklab(53.73% 0.0818 -0.1797)
OKLCHoklch(53.73% 0.197 294.5)
XYZxyz(22.0310, 13.7497, 62.4535)
Luminance0.1375 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794BD2 #A4D24B
analogous
#4B60D2 #794BD2 #BC4BD2
triadic
#794BD2 #D2794B #4BD279
tetradic
#794BD2 #D24B60 #A4D24B #4BD2BC
square
#794BD2 #D24B60 #A4D24B #4BD2BC
split-complementary
#794BD2 #D2BC4B #60D24B
monochromatic
#422182 #5B2DB3 #794BD2 #9D7CDE #C2ADEA

Accessibility & contrast

On white

5.60
#794BD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#794BD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794BD2
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794BD2#FFFFFF#000000##FFFFFF
##794BD21.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #794bd2;
/* rgb */ color: rgb(121, 75, 210);
/* oklch */ color: oklch(53.7% 0.197 294.5);
Tailwind
colors: {
  custom: {
    50: '#a680e1',
    500: '#794bd2',
    950: '#000000',
  },
}
SCSS
$custom: #794bd2;
$custom-light: #a680e1;
$custom-dark: #000000;
JSON
{
  "hex": "#794bd2",
  "rgb": {
    "r": 121,
    "g": 75,
    "b": 210
  },
  "hsl": {
    "h": 260.444,
    "s": 60,
    "l": 55.882
  },
  "oklch": {
    "l": 0.53734,
    "c": 0.19749,
    "h": 294.5
  },
  "luminance": 0.1375
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #794BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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