#794BDD#794BDD

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

Color values

HEX#794BDD
RGBrgb(121, 75, 221)
HSLhsl(259, 68%, 58%)
HSVhsv(259, 66%, 87%)
CMYKcmyk(45.2%, 66.1%, 0%, 13.3%)
CIE-LABlab(44.68, 52.02, -67.92)
CIE-LCHlch(44.68, 85.56, 307.45°)
OKLaboklab(54.58% 0.0805 -0.1944)
OKLCHoklch(54.58% 0.21 292.5)
XYZxyz(23.4488, 14.3168, 69.9205)
Luminance0.1432 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794BDD #AFDD4B
analogous
#4B66DD #794BDD #C24BDD
triadic
#794BDD #DD794B #4BDD79
tetradic
#794BDD #DD4B66 #AFDD4B #4BDDC2
square
#794BDD #DD4B66 #AFDD4B #4BDDC2
split-complementary
#794BDD #DDC24B #66DD4B
monochromatic
#411C92 #5825C5 #794BDD #9F7EE7 #C6B2F0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##794BDD#FFFFFF#000000##FFFFFF
##794BDD1.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)
#006CE1
Deuteranopia (green-blind)
#0067DA
Tritanopia (blue-blind)
#5B6E8E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #794bdd;
/* rgb */ color: rgb(121, 75, 221);
/* oklch */ color: oklch(54.6% 0.210 292.5);
Tailwind
colors: {
  custom: {
    50: '#a780e9',
    500: '#794bdd',
    950: '#000000',
  },
}
SCSS
$custom: #794bdd;
$custom-light: #a780e9;
$custom-dark: #000000;
JSON
{
  "hex": "#794bdd",
  "rgb": {
    "r": 121,
    "g": 75,
    "b": 221
  },
  "hsl": {
    "h": 258.904,
    "s": 68.224,
    "l": 58.039
  },
  "oklch": {
    "l": 0.54575,
    "c": 0.21039,
    "h": 292.5
  },
  "luminance": 0.14318
}

Semantic roles & 50–950 ramp

primary
#794BDD
secondary
#CDDFA5
accent
#EB3DB4
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #794BDD

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

Preview Lab → · Contrast checker → · Palette generator →

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