#794CDE#794CDE

#794CDE is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 54.8% C 0.210 H 292.2°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#794CDE
RGBrgb(121, 76, 222)
HSLhsl(258, 69%, 58%)
HSVhsv(258, 66%, 87%)
CMYKcmyk(45.5%, 65.8%, 0%, 12.9%)
CIE-LABlab(44.95, 51.77, -68.06)
CIE-LCHlch(44.95, 85.51, 307.26°)
OKLaboklab(54.79% 0.0794 -0.1948)
OKLCHoklch(54.79% 0.21 292.2)
XYZxyz(23.6508, 14.5070, 70.6471)
Luminance0.1451 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794CDE #B1DE4C
analogous
#4C68DE #794CDE #C24CDE
triadic
#794CDE #DE794C #4CDE79
tetradic
#794CDE #DE4C68 #B1DE4C #4CDEC2
square
#794CDE #DE4C68 #B1DE4C #4CDEC2
split-complementary
#794CDE #DEC24C #68DE4C
monochromatic
#411B94 #5725C8 #794CDE #A080E8 #C6B3F1

Accessibility & contrast

On white

5.38
#794CDE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#794CDE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794CDE
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794CDE#FFFFFF#000000##FFFFFF
##794CDE1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #794cde;
/* rgb */ color: rgb(121, 76, 222);
/* oklch */ color: oklch(54.8% 0.210 292.2);
Tailwind
colors: {
  custom: {
    50: '#a781e9',
    500: '#794cde',
    950: '#000000',
  },
}
SCSS
$custom: #794cde;
$custom-light: #a781e9;
$custom-dark: #000000;
JSON
{
  "hex": "#794cde",
  "rgb": {
    "r": 121,
    "g": 76,
    "b": 222
  },
  "hsl": {
    "h": 258.493,
    "s": 68.868,
    "l": 58.431
  },
  "oklch": {
    "l": 0.54791,
    "c": 0.21033,
    "h": 292.2
  },
  "luminance": 0.14508
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #794CDE

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

Preview Lab → · Contrast checker → · Palette generator →

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