#794FE5#794FE5

#794FE5 is a mid, highly saturated violet. Relative luminance 0.153; OKLCH L 55.8% C 0.215 H 290.6°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#794FE5
RGBrgb(121, 79, 229)
HSLhsl(257, 74%, 60%)
HSVhsv(257, 66%, 90%)
CMYKcmyk(47.2%, 65.5%, 0%, 10.2%)
CIE-LABlab(46.06, 52.09, -70.23)
CIE-LCHlch(46.06, 87.43, 306.57°)
OKLaboklab(55.75% 0.0756 -0.2011)
OKLCHoklch(55.75% 0.215 290.6)
XYZxyz(24.8200, 15.3131, 75.7615)
Luminance0.1531 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794FE5 #BBE54F
analogous
#4F70E5 #794FE5 #C44FE5
triadic
#794FE5 #E5794F #4FE579
tetradic
#794FE5 #E54F70 #BBE54F #4FE5C4
square
#794FE5 #E54F70 #BBE54F #4FE5C4
split-complementary
#794FE5 #E5C44F #70E54F
monochromatic
#3E18A2 #5320D7 #794FE5 #A284ED #CABAF5

Accessibility & contrast

On white

5.17
#794FE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#794FE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794FE5
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794FE5#FFFFFF#000000##FFFFFF
##794FE51.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070EA
Deuteranopia (green-blind)
#006AE2
Tritanopia (blue-blind)
#567493
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #794fe5;
/* rgb */ color: rgb(121, 79, 229);
/* oklch */ color: oklch(55.8% 0.215 290.6);
Tailwind
colors: {
  custom: {
    50: '#a883ee',
    500: '#794fe5',
    950: '#000000',
  },
}
SCSS
$custom: #794fe5;
$custom-light: #a883ee;
$custom-dark: #000000;
JSON
{
  "hex": "#794fe5",
  "rgb": {
    "r": 121,
    "g": 79,
    "b": 229
  },
  "hsl": {
    "h": 256.8,
    "s": 74.257,
    "l": 60.392
  },
  "oklch": {
    "l": 0.55754,
    "c": 0.21487,
    "h": 290.6
  },
  "luminance": 0.15314
}

Semantic roles & 50–950 ramp

primary
#794FE5
secondary
#D5E5AB
accent
#D60F9F
background
#FAF8FE
surface
#F5EFFD
border
#CFCAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #794FE5

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

Preview Lab → · Contrast checker → · Palette generator →

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