#794CDA#794CDA

#794CDA is a mid, highly saturated violet. Relative luminance 0.143; OKLCH L 54.5% C 0.206 H 292.9°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#794CDA
RGBrgb(121, 76, 218)
HSLhsl(259, 66%, 58%)
HSVhsv(259, 65%, 85%)
CMYKcmyk(44.5%, 65.1%, 0%, 14.5%)
CIE-LABlab(44.65, 50.69, -66.26)
CIE-LCHlch(44.65, 83.42, 307.42°)
OKLaboklab(54.48% 0.0799 -0.1895)
OKLCHoklch(54.48% 0.206 292.9)
XYZxyz(23.1210, 14.2951, 67.8571)
Luminance0.1430 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794CDA #ADDA4C
analogous
#4C66DA #794CDA #C04CDA
triadic
#794CDA #DA794C #4CDA79
tetradic
#794CDA #DA4C66 #ADDA4C #4CDAC0
square
#794CDA #DA4C66 #ADDA4C #4CDAC0
split-complementary
#794CDA #DAC04C #66DA4C
monochromatic
#411D8E #5828C1 #794CDA #9F7FE4 #C5B1EF

Accessibility & contrast

On white

5.44
#794CDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#794CDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794CDA
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794CDA#FFFFFF#000000##FFFFFF
##794CDA1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDE
Deuteranopia (green-blind)
#0067D7
Tritanopia (blue-blind)
#5D6E8C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #794cda;
/* rgb */ color: rgb(121, 76, 218);
/* oklch */ color: oklch(54.5% 0.206 292.9);
Tailwind
colors: {
  custom: {
    50: '#a781e6',
    500: '#794cda',
    950: '#000000',
  },
}
SCSS
$custom: #794cda;
$custom-light: #a781e6;
$custom-dark: #000000;
JSON
{
  "hex": "#794cda",
  "rgb": {
    "r": 121,
    "g": 76,
    "b": 218
  },
  "hsl": {
    "h": 259.014,
    "s": 65.741,
    "l": 57.647
  },
  "oklch": {
    "l": 0.54482,
    "c": 0.20564,
    "h": 292.9
  },
  "luminance": 0.14296
}

Semantic roles & 50–950 ramp

primary
#794CDA
secondary
#CBDDA4
accent
#E93FB3
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #794CDA

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

Preview Lab → · Contrast checker → · Palette generator →

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