#794BE7#794BE7

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

Color values

HEX#794BE7
RGBrgb(121, 75, 231)
HSLhsl(258, 76%, 60%)
HSVhsv(258, 68%, 91%)
CMYKcmyk(47.6%, 67.5%, 0%, 9.4%)
CIE-LABlab(45.45, 54.72, -72.35)
CIE-LCHlch(45.45, 90.72, 307.10°)
OKLaboklab(55.36% 0.0791 -0.2074)
OKLCHoklch(55.36% 0.222 290.9)
XYZxyz(24.8210, 14.8657, 77.1474)
Luminance0.1487 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794BE7 #B9E74B
analogous
#4B6BE7 #794BE7 #C74BE7
triadic
#794BE7 #E7794B #4BE779
tetradic
#794BE7 #E74B6B #B9E74B #4BE7C7
square
#794BE7 #E74B6B #B9E74B #4BE7C7
split-complementary
#794BE7 #E7C74B #6BE74B
monochromatic
#3F16A2 #541DD8 #794BE7 #A181EE #C9B7F5

Accessibility & contrast

On white

5.29
#794BE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#794BE7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794BE7
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794BE7#FFFFFF#000000##FFFFFF
##794BE71.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EEC
Deuteranopia (green-blind)
#0068E4
Tritanopia (blue-blind)
#557293
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #794be7;
/* rgb */ color: rgb(121, 75, 231);
/* oklch */ color: oklch(55.4% 0.222 290.9);
Tailwind
colors: {
  custom: {
    50: '#a880f0',
    500: '#794be7',
    950: '#000000',
  },
}
SCSS
$custom: #794be7;
$custom-light: #a880f0;
$custom-dark: #000000;
JSON
{
  "hex": "#794be7",
  "rgb": {
    "r": 121,
    "g": 75,
    "b": 231
  },
  "hsl": {
    "h": 257.692,
    "s": 76.471,
    "l": 60
  },
  "oklch": {
    "l": 0.55363,
    "c": 0.22195,
    "h": 290.9
  },
  "luminance": 0.14867
}

Semantic roles & 50–950 ramp

primary
#794BE7
secondary
#D3E5A9
accent
#F335BB
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110A17
muted
#807C85

Preview Lab

Preview with #794BE7

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

Preview Lab → · Contrast checker → · Palette generator →

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