#794BE0#794BE0

#794BE0 is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 54.8% C 0.214 H 292.0°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#794BE0
RGBrgb(121, 75, 224)
HSLhsl(259, 71%, 59%)
HSVhsv(259, 67%, 88%)
CMYKcmyk(46%, 66.5%, 0%, 12.2%)
CIE-LABlab(44.91, 52.83, -69.26)
CIE-LCHlch(44.91, 87.11, 307.34°)
OKLaboklab(54.81% 0.0801 -0.1983)
OKLCHoklch(54.81% 0.214 292)
XYZxyz(23.8520, 14.4781, 72.0444)
Luminance0.1448 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794BE0 #B2E04B
analogous
#4B67E0 #794BE0 #C34BE0
triadic
#794BE0 #E0794B #4BE079
tetradic
#794BE0 #E04B67 #B2E04B #4BE0C3
square
#794BE0 #E04B67 #B2E04B #4BE0C3
split-complementary
#794BE0 #E0C34B #67E04B
monochromatic
#401A97 #5723CB #794BE0 #A07FE9 #C7B3F2

Accessibility & contrast

On white

5.39
#794BE0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#794BE0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794BE0
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794BE0#FFFFFF#000000##FFFFFF
##794BE01.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE5
Deuteranopia (green-blind)
#0067DD
Tritanopia (blue-blind)
#5A708F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #794be0;
/* rgb */ color: rgb(121, 75, 224);
/* oklch */ color: oklch(54.8% 0.214 292.0);
Tailwind
colors: {
  custom: {
    50: '#a880eb',
    500: '#794be0',
    950: '#000000',
  },
}
SCSS
$custom: #794be0;
$custom-light: #a880eb;
$custom-dark: #000000;
JSON
{
  "hex": "#794be0",
  "rgb": {
    "r": 121,
    "g": 75,
    "b": 224
  },
  "hsl": {
    "h": 258.523,
    "s": 70.616,
    "l": 58.627
  },
  "oklch": {
    "l": 0.54809,
    "c": 0.21388,
    "h": 292
  },
  "luminance": 0.14479
}

Semantic roles & 50–950 ramp

primary
#794BE0
secondary
#CFE1A6
accent
#ED3AB6
background
#FAF8FE
surface
#F5EFFD
border
#CFCAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #794BE0

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

Preview Lab → · Contrast checker → · Palette generator →

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