#794DDF#794DDF

#794DDF is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 55.0% C 0.210 H 291.9°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#794DDF
RGBrgb(121, 77, 223)
HSLhsl(258, 70%, 59%)
HSVhsv(258, 65%, 87%)
CMYKcmyk(45.7%, 65.5%, 0%, 12.5%)
CIE-LABlab(45.22, 51.51, -68.19)
CIE-LCHlch(45.22, 85.46, 307.07°)
OKLaboklab(55.01% 0.0783 -0.1951)
OKLCHoklch(55.01% 0.21 291.9)
XYZxyz(23.8546, 14.6996, 71.3782)
Luminance0.1470 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794DDF #B3DF4D
analogous
#4D6ADF #794DDF #C24DDF
triadic
#794DDF #DF794D #4DDF79
tetradic
#794DDF #DF4D6A #B3DF4D #4DDFC2
square
#794DDF #DF4D6A #B3DF4D #4DDFC2
split-complementary
#794DDF #DFC24D #6ADF4D
monochromatic
#401B97 #5624CA #794DDF #A081E8 #C7B5F2

Accessibility & contrast

On white

5.33
#794DDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#794DDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794DDF
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794DDF#FFFFFF#000000##FFFFFF
##794DDF1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE3
Deuteranopia (green-blind)
#0068DC
Tritanopia (blue-blind)
#5A708F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #794ddf;
/* rgb */ color: rgb(121, 77, 223);
/* oklch */ color: oklch(55.0% 0.210 291.9);
Tailwind
colors: {
  custom: {
    50: '#a781ea',
    500: '#794ddf',
    950: '#000000',
  },
}
SCSS
$custom: #794ddf;
$custom-light: #a781ea;
$custom-dark: #000000;
JSON
{
  "hex": "#794ddf",
  "rgb": {
    "r": 121,
    "g": 77,
    "b": 223
  },
  "hsl": {
    "h": 258.082,
    "s": 69.524,
    "l": 58.824
  },
  "oklch": {
    "l": 0.55008,
    "c": 0.21027,
    "h": 291.9
  },
  "luminance": 0.147
}

Semantic roles & 50–950 ramp

primary
#794DDF
secondary
#CFE1A7
accent
#EC3BB7
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #794DDF

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

Preview Lab → · Contrast checker → · Palette generator →

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