#794EDC#794EDC

#794EDC is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 54.9% C 0.205 H 292.2°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#794EDC
RGBrgb(121, 78, 220)
HSLhsl(258, 67%, 58%)
HSVhsv(258, 65%, 86%)
CMYKcmyk(45%, 64.5%, 0%, 13.7%)
CIE-LABlab(45.19, 50.16, -66.52)
CIE-LCHlch(45.19, 83.32, 307.02°)
OKLaboklab(54.92% 0.0776 -0.1903)
OKLCHoklch(54.92% 0.205 292.2)
XYZxyz(23.5242, 14.6803, 69.2904)
Luminance0.1468 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794EDC #B1DC4E
analogous
#4E6ADC #794EDC #C04EDC
triadic
#794EDC #DC794E #4EDC79
tetradic
#794EDC #DC4E6A #B1DC4E #4EDCC0
square
#794EDC #DC4E6A #B1DC4E #4EDCC0
split-complementary
#794EDC #DCC04E #6ADC4E
monochromatic
#411D93 #5727C6 #794EDC #A081E6 #C6B4F0

Accessibility & contrast

On white

5.34
#794EDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #794EDC
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794EDC#FFFFFF#000000##FFFFFF
##794EDC1.005.343.945.34
#FFFFFF5.341.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE0
Deuteranopia (green-blind)
#0068D9
Tritanopia (blue-blind)
#5C708E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #794edc;
/* rgb */ color: rgb(121, 78, 220);
/* oklch */ color: oklch(54.9% 0.205 292.2);
Tailwind
colors: {
  custom: {
    50: '#a782e8',
    500: '#794edc',
    950: '#000000',
  },
}
SCSS
$custom: #794edc;
$custom-light: #a782e8;
$custom-dark: #000000;
JSON
{
  "hex": "#794edc",
  "rgb": {
    "r": 121,
    "g": 78,
    "b": 220
  },
  "hsl": {
    "h": 258.169,
    "s": 66.981,
    "l": 58.431
  },
  "oklch": {
    "l": 0.54918,
    "c": 0.20549,
    "h": 292.2
  },
  "luminance": 0.14681
}

Semantic roles & 50–950 ramp

primary
#794EDC
secondary
#CEDFA7
accent
#EA3EB6
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #794EDC

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

Preview Lab → · Contrast checker → · Palette generator →

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