#794FE3#794FE3

#794FE3 is a mid, highly saturated violet. Relative luminance 0.152; OKLCH L 55.6% C 0.213 H 290.9°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#794FE3
RGBrgb(121, 79, 227)
HSLhsl(257, 73%, 60%)
HSVhsv(257, 65%, 89%)
CMYKcmyk(46.7%, 65.2%, 0%, 11%)
CIE-LABlab(45.91, 51.54, -69.34)
CIE-LCHlch(45.91, 86.39, 306.62°)
OKLaboklab(55.6% 0.0758 -0.1985)
OKLCHoklch(55.6% 0.213 290.9)
XYZxyz(24.5424, 15.2021, 74.2993)
Luminance0.1520 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794FE3 #B9E34F
analogous
#4F6FE3 #794FE3 #C34FE3
triadic
#794FE3 #E3794F #4FE379
tetradic
#794FE3 #E34F6F #B9E34F #4FE3C3
square
#794FE3 #E34F6F #B9E34F #4FE3C3
split-complementary
#794FE3 #E3C34F #6FE34F
monochromatic
#3F199E #5422D3 #794FE3 #A184EB #C9B9F4

Accessibility & contrast

On white

5.20
#794FE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#794FE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794FE3
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794FE3#FFFFFF#000000##FFFFFF
##794FE31.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE8
Deuteranopia (green-blind)
#0069E0
Tritanopia (blue-blind)
#587392
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #794fe3;
/* rgb */ color: rgb(121, 79, 227);
/* oklch */ color: oklch(55.6% 0.213 290.9);
Tailwind
colors: {
  custom: {
    50: '#a883ed',
    500: '#794fe3',
    950: '#000000',
  },
}
SCSS
$custom: #794fe3;
$custom-light: #a883ed;
$custom-dark: #000000;
JSON
{
  "hex": "#794fe3",
  "rgb": {
    "r": 121,
    "g": 79,
    "b": 227
  },
  "hsl": {
    "h": 257.027,
    "s": 72.549,
    "l": 60
  },
  "oklch": {
    "l": 0.55598,
    "c": 0.21252,
    "h": 290.9
  },
  "luminance": 0.15203
}

Semantic roles & 50–950 ramp

primary
#794FE3
secondary
#D3E3AA
accent
#EF39BB
background
#FAF8FE
surface
#F5EFFD
border
#CFCAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #794FE3

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

Preview Lab → · Contrast checker → · Palette generator →

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