#794CDF#794CDF

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

Color values

HEX#794CDF
RGBrgb(121, 76, 223)
HSLhsl(258, 70%, 59%)
HSVhsv(258, 66%, 87%)
CMYKcmyk(45.7%, 65.9%, 0%, 12.5%)
CIE-LABlab(45.03, 52.04, -68.50)
CIE-LCHlch(45.03, 86.03, 307.22°)
OKLaboklab(54.87% 0.0793 -0.1961)
OKLCHoklch(54.87% 0.211 292)
XYZxyz(23.7852, 14.5607, 71.3550)
Luminance0.1456 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794CDF #B2DF4C
analogous
#4C68DF #794CDF #C24CDF
triadic
#794CDF #DF794C #4CDF79
tetradic
#794CDF #DF4C68 #B2DF4C #4CDFC2
square
#794CDF #DF4C68 #B2DF4C #4CDFC2
split-complementary
#794CDF #DFC24C #68DF4C
monochromatic
#401B96 #5724CA #794CDF #A080E8 #C7B4F2

Accessibility & contrast

On white

5.37
#794CDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#794CDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794CDF
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794CDF#FFFFFF#000000##FFFFFF
##794CDF1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #794cdf;
/* rgb */ color: rgb(121, 76, 223);
/* oklch */ color: oklch(54.9% 0.211 292.0);
Tailwind
colors: {
  custom: {
    50: '#a781ea',
    500: '#794cdf',
    950: '#000000',
  },
}
SCSS
$custom: #794cdf;
$custom-light: #a781ea;
$custom-dark: #000000;
JSON
{
  "hex": "#794cdf",
  "rgb": {
    "r": 121,
    "g": 76,
    "b": 223
  },
  "hsl": {
    "h": 258.367,
    "s": 69.668,
    "l": 58.627
  },
  "oklch": {
    "l": 0.54868,
    "c": 0.21149,
    "h": 292
  },
  "luminance": 0.14562
}

Semantic roles & 50–950 ramp

primary
#794CDF
secondary
#CFE0A6
accent
#EC3BB6
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #794CDF

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

Preview Lab → · Contrast checker → · Palette generator →

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