#794BE5#794BE5

#794BE5 is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 55.2% C 0.220 H 291.2°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#794BE5
RGBrgb(121, 75, 229)
HSLhsl(258, 75%, 60%)
HSVhsv(258, 67%, 90%)
CMYKcmyk(47.2%, 67.2%, 0%, 10.2%)
CIE-LABlab(45.29, 54.18, -71.47)
CIE-LCHlch(45.29, 89.69, 307.17°)
OKLaboklab(55.2% 0.0794 -0.2048)
OKLCHoklch(55.2% 0.22 291.2)
XYZxyz(24.5401, 14.7533, 75.6682)
Luminance0.1475 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794BE5 #B7E54B
analogous
#4B6AE5 #794BE5 #C64BE5
triadic
#794BE5 #E5794B #4BE579
tetradic
#794BE5 #E54B6A #B7E54B #4BE5C6
square
#794BE5 #E54B6A #B7E54B #4BE5C6
split-complementary
#794BE5 #E5C64B #6AE54B
monochromatic
#3F179F #551FD4 #794BE5 #A180ED #C9B6F4

Accessibility & contrast

On white

5.32
#794BE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#794BE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794BE5
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794BE5#FFFFFF#000000##FFFFFF
##794BE51.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EEA
Deuteranopia (green-blind)
#0068E2
Tritanopia (blue-blind)
#577192
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #794be5;
/* rgb */ color: rgb(121, 75, 229);
/* oklch */ color: oklch(55.2% 0.220 291.2);
Tailwind
colors: {
  custom: {
    50: '#a880ee',
    500: '#794be5',
    950: '#000000',
  },
}
SCSS
$custom: #794be5;
$custom-light: #a880ee;
$custom-dark: #000000;
JSON
{
  "hex": "#794be5",
  "rgb": {
    "r": 121,
    "g": 75,
    "b": 229
  },
  "hsl": {
    "h": 257.922,
    "s": 74.757,
    "l": 59.608
  },
  "oklch": {
    "l": 0.55204,
    "c": 0.21966,
    "h": 291.2
  },
  "luminance": 0.14754
}

Semantic roles & 50–950 ramp

primary
#794BE5
secondary
#D2E4A8
accent
#F136BA
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110A17
muted
#807C85

Preview Lab

Preview with #794BE5

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

Preview Lab → · Contrast checker → · Palette generator →

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