#794BDE#794BDE

#794BDE is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 54.7% C 0.212 H 292.3°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#794BDE
RGBrgb(121, 75, 222)
HSLhsl(259, 69%, 58%)
HSVhsv(259, 66%, 87%)
CMYKcmyk(45.5%, 66.2%, 0%, 12.9%)
CIE-LABlab(44.76, 52.29, -68.37)
CIE-LCHlch(44.76, 86.07, 307.41°)
OKLaboklab(54.65% 0.0804 -0.1957)
OKLCHoklch(54.65% 0.212 292.3)
XYZxyz(23.5824, 14.3703, 70.6243)
Luminance0.1437 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794BDE #B0DE4B
analogous
#4B66DE #794BDE #C34BDE
triadic
#794BDE #DE794B #4BDE79
tetradic
#794BDE #DE4B66 #B0DE4B #4BDEC3
square
#794BDE #DE4B66 #B0DE4B #4BDEC3
split-complementary
#794BDE #DEC34B #66DE4B
monochromatic
#411B94 #5725C7 #794BDE #A07FE7 #C6B2F1

Accessibility & contrast

On white

5.42
#794BDE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#794BDE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794BDE
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794BDE#FFFFFF#000000##FFFFFF
##794BDE1.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE2
Deuteranopia (green-blind)
#0067DB
Tritanopia (blue-blind)
#5B6F8E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #794bde;
/* rgb */ color: rgb(121, 75, 222);
/* oklch */ color: oklch(54.7% 0.212 292.3);
Tailwind
colors: {
  custom: {
    50: '#a780e9',
    500: '#794bde',
    950: '#000000',
  },
}
SCSS
$custom: #794bde;
$custom-light: #a780e9;
$custom-dark: #000000;
JSON
{
  "hex": "#794bde",
  "rgb": {
    "r": 121,
    "g": 75,
    "b": 222
  },
  "hsl": {
    "h": 258.776,
    "s": 69.014,
    "l": 58.235
  },
  "oklch": {
    "l": 0.54653,
    "c": 0.21155,
    "h": 292.3
  },
  "luminance": 0.14371
}

Semantic roles & 50–950 ramp

primary
#794BDE
secondary
#CDE0A5
accent
#EC3CB5
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #794BDE

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

Preview Lab → · Contrast checker → · Palette generator →

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