#794CD7#794CD7

#794CD7 is a mid, highly saturated violet. Relative luminance 0.141; OKLCH L 54.3% C 0.202 H 293.4°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#794CD7
RGBrgb(121, 76, 215)
HSLhsl(259, 63%, 57%)
HSVhsv(259, 65%, 84%)
CMYKcmyk(43.7%, 64.7%, 0%, 15.7%)
CIE-LABlab(44.43, 49.88, -64.90)
CIE-LCHlch(44.43, 81.86, 307.54°)
OKLaboklab(54.25% 0.0802 -0.1855)
OKLCHoklch(54.25% 0.202 293.4)
XYZxyz(22.7320, 14.1395, 65.8083)
Luminance0.1414 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794CD7 #AAD74C
analogous
#4C65D7 #794CD7 #BE4CD7
triadic
#794CD7 #D7794C #4CD779
tetradic
#794CD7 #D74C65 #AAD74C #4CD7BE
square
#794CD7 #D74C65 #AAD74C #4CD7BE
split-complementary
#794CD7 #D7BE4C #65D74C
monochromatic
#411F8A #592ABC #794CD7 #9E7EE2 #C4B0ED

Accessibility & contrast

On white

5.49
#794CD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#794CD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794CD7
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794CD7#FFFFFF#000000##FFFFFF
##794CD71.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDB
Deuteranopia (green-blind)
#0067D4
Tritanopia (blue-blind)
#5E6D8B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #794cd7;
/* rgb */ color: rgb(121, 76, 215);
/* oklch */ color: oklch(54.3% 0.202 293.4);
Tailwind
colors: {
  custom: {
    50: '#a781e4',
    500: '#794cd7',
    950: '#000000',
  },
}
SCSS
$custom: #794cd7;
$custom-light: #a781e4;
$custom-dark: #000000;
JSON
{
  "hex": "#794cd7",
  "rgb": {
    "r": 121,
    "g": 76,
    "b": 215
  },
  "hsl": {
    "h": 259.424,
    "s": 63.47,
    "l": 57.059
  },
  "oklch": {
    "l": 0.54254,
    "c": 0.2021,
    "h": 293.4
  },
  "luminance": 0.1414
}

Semantic roles & 50–950 ramp

primary
#794CD7
secondary
#C9DCA3
accent
#E641B1
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #794CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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