#794BEB#794BEB

#794BEB is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 55.7% C 0.227 H 290.3°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#794BEB
RGBrgb(121, 75, 235)
HSLhsl(257, 80%, 61%)
HSVhsv(257, 68%, 92%)
CMYKcmyk(48.5%, 68.1%, 0%, 7.8%)
CIE-LABlab(45.76, 55.81, -74.10)
CIE-LCHlch(45.76, 92.76, 306.98°)
OKLaboklab(55.68% 0.0785 -0.2125)
OKLCHoklch(55.68% 0.227 290.3)
XYZxyz(25.3923, 15.0942, 80.1567)
Luminance0.1510 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794BEB #BDEB4B
analogous
#4B6DEB #794BEB #C94BEB
triadic
#794BEB #EB794B #4BEB79
tetradic
#794BEB #EB4B6D #BDEB4B #4BEBC9
square
#794BEB #EB4B6D #BDEB4B #4BEBC9
split-complementary
#794BEB #EBC94B #6DEB4B
monochromatic
#3E13A9 #5219E0 #794BEB #A282F1 #CBB9F7

Accessibility & contrast

On white

5.23
#794BEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#794BEB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794BEB
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794BEB#FFFFFF#000000##FFFFFF
##794BEB1.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FF0
Deuteranopia (green-blind)
#0069E8
Tritanopia (blue-blind)
#537495
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #794beb;
/* rgb */ color: rgb(121, 75, 235);
/* oklch */ color: oklch(55.7% 0.227 290.3);
Tailwind
colors: {
  custom: {
    50: '#a981f3',
    500: '#794beb',
    950: '#000000',
  },
}
SCSS
$custom: #794beb;
$custom-light: #a981f3;
$custom-dark: #000000;
JSON
{
  "hex": "#794beb",
  "rgb": {
    "r": 121,
    "g": 75,
    "b": 235
  },
  "hsl": {
    "h": 257.25,
    "s": 80,
    "l": 60.784
  },
  "oklch": {
    "l": 0.55685,
    "c": 0.22654,
    "h": 290.3
  },
  "luminance": 0.15095
}

Semantic roles & 50–950 ramp

primary
#794BEB
secondary
#D6E7AB
accent
#DC09A0
background
#FBF8FF
surface
#F6EFFE
border
#D0CAD6
text
#110A17
muted
#807C85

Preview Lab

Preview with #794BEB

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

Preview Lab → · Contrast checker → · Palette generator →

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