#794DDC#794DDC

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

Color values

HEX#794DDC
RGBrgb(121, 77, 220)
HSLhsl(258, 67%, 58%)
HSVhsv(258, 65%, 86%)
CMYKcmyk(45%, 65%, 0%, 13.7%)
CIE-LABlab(45.00, 50.70, -66.84)
CIE-LCHlch(45.00, 83.89, 307.18°)
OKLaboklab(54.78% 0.0787 -0.1912)
OKLCHoklch(54.78% 0.207 292.4)
XYZxyz(23.4537, 14.5393, 69.2669)
Luminance0.1454 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794DDC #B0DC4D
analogous
#4D68DC #794DDC #C14DDC
triadic
#794DDC #DC794D #4DDC79
tetradic
#794DDC #DC4D68 #B0DC4D #4DDCC1
square
#794DDC #DC4D68 #B0DC4D #4DDCC1
split-complementary
#794DDC #DCC14D #68DC4D
monochromatic
#411D92 #5727C5 #794DDC #A080E6 #C6B3F0

Accessibility & contrast

On white

5.37
#794DDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#794DDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794DDC
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794DDC#FFFFFF#000000##FFFFFF
##794DDC1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE0
Deuteranopia (green-blind)
#0068D9
Tritanopia (blue-blind)
#5C6F8E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #794ddc;
/* rgb */ color: rgb(121, 77, 220);
/* oklch */ color: oklch(54.8% 0.207 292.4);
Tailwind
colors: {
  custom: {
    50: '#a781e8',
    500: '#794ddc',
    950: '#000000',
  },
}
SCSS
$custom: #794ddc;
$custom-light: #a781e8;
$custom-dark: #000000;
JSON
{
  "hex": "#794ddc",
  "rgb": {
    "r": 121,
    "g": 77,
    "b": 220
  },
  "hsl": {
    "h": 258.462,
    "s": 67.136,
    "l": 58.235
  },
  "oklch": {
    "l": 0.54777,
    "c": 0.20674,
    "h": 292.4
  },
  "luminance": 0.1454
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #794DDC

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

Preview Lab → · Contrast checker → · Palette generator →

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