#794FDF#794FDF

#794FDF is a mid, highly saturated violet. Relative luminance 0.150; OKLCH L 55.3% C 0.208 H 291.5°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#794FDF
RGBrgb(121, 79, 223)
HSLhsl(258, 69%, 59%)
HSVhsv(258, 65%, 87%)
CMYKcmyk(45.7%, 64.6%, 0%, 12.5%)
CIE-LABlab(45.61, 50.45, -67.55)
CIE-LCHlch(45.61, 84.31, 306.75°)
OKLaboklab(55.29% 0.0763 -0.1933)
OKLCHoklch(55.29% 0.208 291.5)
XYZxyz(23.9967, 14.9838, 71.4255)
Luminance0.1499 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794FDF #B5DF4F
analogous
#4F6DDF #794FDF #C14FDF
triadic
#794FDF #DF794F #4FDF79
tetradic
#794FDF #DF4F6D #B5DF4F #4FDFC1
square
#794FDF #DF4F6D #B5DF4F #4FDFC1
split-complementary
#794FDF #DFC14F #6DDF4F
monochromatic
#401C98 #5625CC #794FDF #A083E8 #C8B7F2

Accessibility & contrast

On white

5.25
#794FDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#794FDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794FDF
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794FDF#FFFFFF#000000##FFFFFF
##794FDF1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE3
Deuteranopia (green-blind)
#0069DC
Tritanopia (blue-blind)
#5A7290
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #794fdf;
/* rgb */ color: rgb(121, 79, 223);
/* oklch */ color: oklch(55.3% 0.208 291.5);
Tailwind
colors: {
  custom: {
    50: '#a783ea',
    500: '#794fdf',
    950: '#000000',
  },
}
SCSS
$custom: #794fdf;
$custom-light: #a783ea;
$custom-dark: #000000;
JSON
{
  "hex": "#794fdf",
  "rgb": {
    "r": 121,
    "g": 79,
    "b": 223
  },
  "hsl": {
    "h": 257.5,
    "s": 69.231,
    "l": 59.216
  },
  "oklch": {
    "l": 0.5529,
    "c": 0.20779,
    "h": 291.5
  },
  "luminance": 0.14985
}

Semantic roles & 50–950 ramp

primary
#794FDF
secondary
#D1E1A9
accent
#EC3CB9
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #794FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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