#794DDD#794DDD

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

Color values

HEX#794DDD
RGBrgb(121, 77, 221)
HSLhsl(258, 68%, 58%)
HSVhsv(258, 65%, 87%)
CMYKcmyk(45.2%, 65.2%, 0%, 13.3%)
CIE-LABlab(45.07, 50.97, -67.29)
CIE-LCHlch(45.07, 84.42, 307.14°)
OKLaboklab(54.85% 0.0785 -0.1925)
OKLCHoklch(54.85% 0.208 292.2)
XYZxyz(23.5866, 14.5924, 69.9665)
Luminance0.1459 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794DDD #B1DD4D
analogous
#4D69DD #794DDD #C14DDD
triadic
#794DDD #DD794D #4DDD79
tetradic
#794DDD #DD4D69 #B1DD4D #4DDDC1
square
#794DDD #DD4D69 #B1DD4D #4DDDC1
split-complementary
#794DDD #DDC14D #69DD4D
monochromatic
#411C93 #5726C7 #794DDD #A080E7 #C6B4F1

Accessibility & contrast

On white

5.36
#794DDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#794DDD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794DDD
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794DDD#FFFFFF#000000##FFFFFF
##794DDD1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE1
Deuteranopia (green-blind)
#0068DA
Tritanopia (blue-blind)
#5B708E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #794ddd;
/* rgb */ color: rgb(121, 77, 221);
/* oklch */ color: oklch(54.9% 0.208 292.2);
Tailwind
colors: {
  custom: {
    50: '#a781e9',
    500: '#794ddd',
    950: '#000000',
  },
}
SCSS
$custom: #794ddd;
$custom-light: #a781e9;
$custom-dark: #000000;
JSON
{
  "hex": "#794ddd",
  "rgb": {
    "r": 121,
    "g": 77,
    "b": 221
  },
  "hsl": {
    "h": 258.333,
    "s": 67.925,
    "l": 58.431
  },
  "oklch": {
    "l": 0.54853,
    "c": 0.20792,
    "h": 292.2
  },
  "luminance": 0.14593
}

Semantic roles & 50–950 ramp

primary
#794DDD
secondary
#CEDFA6
accent
#EB3DB6
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #794DDD

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

Preview Lab → · Contrast checker → · Palette generator →

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