#794CDD#794CDD

#794CDD is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 54.7% C 0.209 H 292.4°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#794CDD
RGBrgb(121, 76, 221)
HSLhsl(259, 68%, 58%)
HSVhsv(259, 66%, 87%)
CMYKcmyk(45.2%, 65.6%, 0%, 13.3%)
CIE-LABlab(44.88, 51.50, -67.61)
CIE-LCHlch(44.88, 84.99, 307.30°)
OKLaboklab(54.71% 0.0795 -0.1934)
OKLCHoklch(54.71% 0.209 292.4)
XYZxyz(23.5171, 14.4535, 69.9433)
Luminance0.1445 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794CDD #B0DD4C
analogous
#4C67DD #794CDD #C24CDD
triadic
#794CDD #DD794C #4CDD79
tetradic
#794CDD #DD4C67 #B0DD4C #4CDDC2
square
#794CDD #DD4C67 #B0DD4C #4CDDC2
split-complementary
#794CDD #DDC24C #67DD4C
monochromatic
#411C93 #5726C6 #794CDD #A07FE7 #C6B3F1

Accessibility & contrast

On white

5.40
#794CDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#794CDD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794CDD
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794CDD#FFFFFF#000000##FFFFFF
##794CDD1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE1
Deuteranopia (green-blind)
#0067DA
Tritanopia (blue-blind)
#5B6F8E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #794cdd;
/* rgb */ color: rgb(121, 76, 221);
/* oklch */ color: oklch(54.7% 0.209 292.4);
Tailwind
colors: {
  custom: {
    50: '#a781e9',
    500: '#794cdd',
    950: '#000000',
  },
}
SCSS
$custom: #794cdd;
$custom-light: #a781e9;
$custom-dark: #000000;
JSON
{
  "hex": "#794cdd",
  "rgb": {
    "r": 121,
    "g": 76,
    "b": 221
  },
  "hsl": {
    "h": 258.621,
    "s": 68.075,
    "l": 58.235
  },
  "oklch": {
    "l": 0.54713,
    "c": 0.20915,
    "h": 292.4
  },
  "luminance": 0.14454
}

Semantic roles & 50–950 ramp

primary
#794CDD
secondary
#CDDFA6
accent
#EB3DB5
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #794CDD

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

Preview Lab → · Contrast checker → · Palette generator →

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