#794DDE#794DDE

#794DDE is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 54.9% C 0.209 H 292.0°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#794DDE
RGBrgb(121, 77, 222)
HSLhsl(258, 69%, 59%)
HSVhsv(258, 65%, 87%)
CMYKcmyk(45.5%, 65.3%, 0%, 12.9%)
CIE-LABlab(45.15, 51.24, -67.74)
CIE-LCHlch(45.15, 84.94, 307.10°)
OKLaboklab(54.93% 0.0784 -0.1938)
OKLCHoklch(54.93% 0.209 292)
XYZxyz(23.7202, 14.6458, 70.6702)
Luminance0.1465 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794DDE #B2DE4D
analogous
#4D69DE #794DDE #C14DDE
triadic
#794DDE #DE794D #4DDE79
tetradic
#794DDE #DE4D69 #B2DE4D #4DDEC1
square
#794DDE #DE4D69 #B2DE4D #4DDEC1
split-complementary
#794DDE #DEC14D #69DE4D
monochromatic
#401C95 #5725C9 #794DDE #A081E8 #C7B4F1

Accessibility & contrast

On white

5.34
#794DDE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#794DDE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794DDE
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794DDE#FFFFFF#000000##FFFFFF
##794DDE1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE2
Deuteranopia (green-blind)
#0068DB
Tritanopia (blue-blind)
#5B708F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #794dde;
/* rgb */ color: rgb(121, 77, 222);
/* oklch */ color: oklch(54.9% 0.209 292.0);
Tailwind
colors: {
  custom: {
    50: '#a781e9',
    500: '#794dde',
    950: '#000000',
  },
}
SCSS
$custom: #794dde;
$custom-light: #a781e9;
$custom-dark: #000000;
JSON
{
  "hex": "#794dde",
  "rgb": {
    "r": 121,
    "g": 77,
    "b": 222
  },
  "hsl": {
    "h": 258.207,
    "s": 68.72,
    "l": 58.627
  },
  "oklch": {
    "l": 0.5493,
    "c": 0.2091,
    "h": 292
  },
  "luminance": 0.14647
}

Semantic roles & 50–950 ramp

primary
#794DDE
secondary
#CFE0A7
accent
#EC3CB6
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #794DDE

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

Preview Lab → · Contrast checker → · Palette generator →

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