#794CF3#794CF3

#794CF3 is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.5% C 0.235 H 289.0°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#794CF3
RGBrgb(121, 76, 243)
HSLhsl(256, 87%, 63%)
HSVhsv(256, 69%, 95%)
CMYKcmyk(50.2%, 68.7%, 0%, 4.7%)
CIE-LABlab(46.58, 57.47, -77.26)
CIE-LCHlch(46.58, 96.29, 306.64°)
OKLaboklab(56.47% 0.0762 -0.2218)
OKLCHoklch(56.47% 0.235 289)
XYZxyz(26.6426, 15.7037, 86.4039)
Luminance0.1570 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794CF3 #C6F34C
analogous
#4C72F3 #794CF3 #CD4CF3
triadic
#794CF3 #F3794C #4CF379
tetradic
#794CF3 #F34C72 #C6F34C #4CF3CD
square
#794CF3 #F34C72 #C6F34C #4CF3CD
split-complementary
#794CF3 #F3CD4C #72F34C
monochromatic
#3B0CB8 #4E13EF #794CF3 #A485F7 #CFBFFB

Accessibility & contrast

On white

5.07
#794CF3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#794CF3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794CF3
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794CF3#FFFFFF#000000##FFFFFF
##794CF31.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F8
Deuteranopia (green-blind)
#006AF0
Tritanopia (blue-blind)
#4D779A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #794cf3;
/* rgb */ color: rgb(121, 76, 243);
/* oklch */ color: oklch(56.5% 0.235 289.0);
Tailwind
colors: {
  custom: {
    50: '#aa81f8',
    500: '#794cf3',
    950: '#000000',
  },
}
SCSS
$custom: #794cf3;
$custom-light: #aa81f8;
$custom-dark: #000000;
JSON
{
  "hex": "#794cf3",
  "rgb": {
    "r": 121,
    "g": 76,
    "b": 243
  },
  "hsl": {
    "h": 256.168,
    "s": 87.435,
    "l": 62.549
  },
  "oklch": {
    "l": 0.56468,
    "c": 0.23453,
    "h": 289
  },
  "luminance": 0.15705
}

Semantic roles & 50–950 ramp

primary
#794CF3
secondary
#DBECAF
accent
#E402A7
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #794CF3

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

Preview Lab → · Contrast checker → · Palette generator →

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