#794BE8#794BE8

#794BE8 is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 55.4% C 0.223 H 290.7°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#794BE8
RGBrgb(121, 75, 232)
HSLhsl(258, 77%, 60%)
HSVhsv(258, 68%, 91%)
CMYKcmyk(47.8%, 67.7%, 0%, 9%)
CIE-LABlab(45.53, 54.99, -72.79)
CIE-LCHlch(45.53, 91.23, 307.07°)
OKLaboklab(55.44% 0.079 -0.2087)
OKLCHoklch(55.44% 0.223 290.7)
XYZxyz(24.9626, 14.9223, 77.8933)
Luminance0.1492 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794BE8 #BAE84B
analogous
#4B6BE8 #794BE8 #C84BE8
triadic
#794BE8 #E8794B #4BE879
tetradic
#794BE8 #E84B6B #BAE84B #4BE8C8
square
#794BE8 #E84B6B #BAE84B #4BE8C8
split-complementary
#794BE8 #E8C84B #6BE84B
monochromatic
#3F15A4 #541CDA #794BE8 #A181EF #CAB8F6

Accessibility & contrast

On white

5.27
#794BE8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#794BE8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794BE8
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794BE8#FFFFFF#000000##FFFFFF
##794BE81.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EED
Deuteranopia (green-blind)
#0068E5
Tritanopia (blue-blind)
#557294
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #794be8;
/* rgb */ color: rgb(121, 75, 232);
/* oklch */ color: oklch(55.4% 0.223 290.7);
Tailwind
colors: {
  custom: {
    50: '#a980f0',
    500: '#794be8',
    950: '#000000',
  },
}
SCSS
$custom: #794be8;
$custom-light: #a980f0;
$custom-dark: #000000;
JSON
{
  "hex": "#794be8",
  "rgb": {
    "r": 121,
    "g": 75,
    "b": 232
  },
  "hsl": {
    "h": 257.58,
    "s": 77.34,
    "l": 60.196
  },
  "oklch": {
    "l": 0.55443,
    "c": 0.22311,
    "h": 290.7
  },
  "luminance": 0.14923
}

Semantic roles & 50–950 ramp

primary
#794BE8
secondary
#D4E6A9
accent
#DA0C9D
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110A17
muted
#807C85

Preview Lab

Preview with #794BE8

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

Preview Lab → · Contrast checker → · Palette generator →

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