#794AE5#794AE5

#794AE5 is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 55.1% C 0.221 H 291.3°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#794AE5
RGBrgb(121, 74, 229)
HSLhsl(258, 75%, 59%)
HSVhsv(258, 68%, 90%)
CMYKcmyk(47.2%, 67.7%, 0%, 10.2%)
CIE-LABlab(45.11, 54.70, -71.78)
CIE-LCHlch(45.11, 90.24, 307.31°)
OKLaboklab(55.07% 0.0804 -0.2057)
OKLCHoklch(55.07% 0.221 291.3)
XYZxyz(24.4728, 14.6188, 75.6458)
Luminance0.1462 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794AE5 #B6E54A
analogous
#4A68E5 #794AE5 #C74AE5
triadic
#794AE5 #E5794A #4AE579
tetradic
#794AE5 #E54A68 #B6E54A #4AE5C7
square
#794AE5 #E54A68 #B6E54A #4AE5C7
split-complementary
#794AE5 #E5C74A #68E54A
monochromatic
#40179E #551ED3 #794AE5 #A180ED #C8B5F4

Accessibility & contrast

On white

5.35
#794AE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#794AE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794AE5
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794AE5#FFFFFF#000000##FFFFFF
##794AE51.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #794ae5;
/* rgb */ color: rgb(121, 74, 229);
/* oklch */ color: oklch(55.1% 0.221 291.3);
Tailwind
colors: {
  custom: {
    50: '#a880ee',
    500: '#794ae5',
    950: '#000000',
  },
}
SCSS
$custom: #794ae5;
$custom-light: #a880ee;
$custom-dark: #000000;
JSON
{
  "hex": "#794ae5",
  "rgb": {
    "r": 121,
    "g": 74,
    "b": 229
  },
  "hsl": {
    "h": 258.194,
    "s": 74.879,
    "l": 59.412
  },
  "oklch": {
    "l": 0.5507,
    "c": 0.22083,
    "h": 291.3
  },
  "luminance": 0.1462
}

Semantic roles & 50–950 ramp

primary
#794AE5
secondary
#D1E4A7
accent
#F136B9
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110A17
muted
#807C85

Preview Lab

Preview with #794AE5

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

Preview Lab → · Contrast checker → · Palette generator →

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