#794CE3#794CE3

#794CE3 is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 55.2% C 0.216 H 291.4°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#794CE3
RGBrgb(121, 76, 227)
HSLhsl(258, 73%, 59%)
HSVhsv(258, 67%, 89%)
CMYKcmyk(46.7%, 66.5%, 0%, 11%)
CIE-LABlab(45.33, 53.12, -70.28)
CIE-LCHlch(45.33, 88.10, 307.08°)
OKLaboklab(55.18% 0.0787 -0.2013)
OKLCHoklch(55.18% 0.216 291.4)
XYZxyz(24.3308, 14.7790, 74.2288)
Luminance0.1478 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794CE3 #B6E34C
analogous
#4C6BE3 #794CE3 #C54CE3
triadic
#794CE3 #E3794C #4CE379
tetradic
#794CE3 #E34C6B #B6E34C #4CE3C5
square
#794CE3 #E34C6B #B6E34C #4CE3C5
split-complementary
#794CE3 #E3C54C #6BE34C
monochromatic
#40189C #5521D1 #794CE3 #A181EB #C8B6F4

Accessibility & contrast

On white

5.31
#794CE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#794CE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794CE3
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794CE3#FFFFFF#000000##FFFFFF
##794CE31.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE8
Deuteranopia (green-blind)
#0068E0
Tritanopia (blue-blind)
#587191
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #794ce3;
/* rgb */ color: rgb(121, 76, 227);
/* oklch */ color: oklch(55.2% 0.216 291.4);
Tailwind
colors: {
  custom: {
    50: '#a881ed',
    500: '#794ce3',
    950: '#000000',
  },
}
SCSS
$custom: #794ce3;
$custom-light: #a881ed;
$custom-dark: #000000;
JSON
{
  "hex": "#794ce3",
  "rgb": {
    "r": 121,
    "g": 76,
    "b": 227
  },
  "hsl": {
    "h": 257.881,
    "s": 72.947,
    "l": 59.412
  },
  "oklch": {
    "l": 0.55181,
    "c": 0.21615,
    "h": 291.4
  },
  "luminance": 0.1478
}

Semantic roles & 50–950 ramp

primary
#794CE3
secondary
#D1E3A8
accent
#F038B9
background
#FAF8FE
surface
#F5EFFD
border
#CFCAD5
text
#110A16
muted
#807C84

Preview Lab

Preview with #794CE3

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

Preview Lab → · Contrast checker → · Palette generator →

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