#794BE6#794BE6

#794BE6 is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 55.3% C 0.221 H 291.0°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#794BE6
RGBrgb(121, 75, 230)
HSLhsl(258, 76%, 60%)
HSVhsv(258, 67%, 90%)
CMYKcmyk(47.4%, 67.4%, 0%, 9.8%)
CIE-LABlab(45.37, 54.45, -71.91)
CIE-LCHlch(45.37, 90.20, 307.13°)
OKLaboklab(55.28% 0.0793 -0.2061)
OKLCHoklch(55.28% 0.221 291)
XYZxyz(24.6801, 14.8094, 76.4057)
Luminance0.1481 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794BE6 #B8E64B
analogous
#4B6BE6 #794BE6 #C64BE6
triadic
#794BE6 #E6794B #4BE679
tetradic
#794BE6 #E64B6B #B8E64B #4BE6C6
square
#794BE6 #E64B6B #B8E64B #4BE6C6
split-complementary
#794BE6 #E6C64B #6BE64B
monochromatic
#3F16A0 #541ED6 #794BE6 #A181ED #C9B6F5

Accessibility & contrast

On white

5.30
#794BE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #794BE6
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794BE6#FFFFFF#000000##FFFFFF
##794BE61.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EEB
Deuteranopia (green-blind)
#0068E3
Tritanopia (blue-blind)
#567293
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #794be6;
/* rgb */ color: rgb(121, 75, 230);
/* oklch */ color: oklch(55.3% 0.221 291.0);
Tailwind
colors: {
  custom: {
    50: '#a880ef',
    500: '#794be6',
    950: '#000000',
  },
}
SCSS
$custom: #794be6;
$custom-light: #a880ef;
$custom-dark: #000000;
JSON
{
  "hex": "#794be6",
  "rgb": {
    "r": 121,
    "g": 75,
    "b": 230
  },
  "hsl": {
    "h": 257.806,
    "s": 75.61,
    "l": 59.804
  },
  "oklch": {
    "l": 0.55283,
    "c": 0.22081,
    "h": 291
  },
  "luminance": 0.1481
}

Semantic roles & 50–950 ramp

primary
#794BE6
secondary
#D3E4A8
accent
#F236BA
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110A17
muted
#807C85

Preview Lab

Preview with #794BE6

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

Preview Lab → · Contrast checker → · Palette generator →

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