#794DD0#794DD0

#794DD0 is a mid, vivid violet. Relative luminance 0.139; OKLCH L 53.9% C 0.192 H 294.5°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#794DD0
RGBrgb(121, 77, 208)
HSLhsl(260, 58%, 56%)
HSVhsv(260, 63%, 82%)
CMYKcmyk(41.8%, 63%, 0%, 18.4%)
CIE-LABlab(44.13, 47.46, -61.38)
CIE-LCHlch(44.13, 77.59, 307.71°)
OKLaboklab(53.87% 0.0799 -0.1751)
OKLCHoklch(53.87% 0.192 294.5)
XYZxyz(21.9212, 13.9262, 61.1953)
Luminance0.1393 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794DD0 #A4D04D
analogous
#4D62D0 #794DD0 #BB4DD0
triadic
#794DD0 #D0794D #4DD079
tetradic
#794DD0 #D04D62 #A4D04D #4DD0BB
square
#794DD0 #D04D62 #A4D04D #4DD0BB
split-complementary
#794DD0 #D0BB4D #62D04D
monochromatic
#422281 #5B2FB1 #794DD0 #9D7DDD #C2AEEA

Accessibility & contrast

On white

5.55
#794DD0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#794DD0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794DD0
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794DD0#FFFFFF#000000##FFFFFF
##794DD01.005.553.795.55
#FFFFFF5.551.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD4
Deuteranopia (green-blind)
#0066CD
Tritanopia (blue-blind)
#626B87
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #794dd0;
/* rgb */ color: rgb(121, 77, 208);
/* oklch */ color: oklch(53.9% 0.192 294.5);
Tailwind
colors: {
  custom: {
    50: '#a681df',
    500: '#794dd0',
    950: '#000000',
  },
}
SCSS
$custom: #794dd0;
$custom-light: #a681df;
$custom-dark: #000000;
JSON
{
  "hex": "#794dd0",
  "rgb": {
    "r": 121,
    "g": 77,
    "b": 208
  },
  "hsl": {
    "h": 260.153,
    "s": 58.222,
    "l": 55.882
  },
  "oklch": {
    "l": 0.53874,
    "c": 0.19248,
    "h": 294.5
  },
  "luminance": 0.13927
}

Semantic roles & 50–950 ramp

primary
#794DD0
secondary
#C5D8A1
accent
#E146AD
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #794DD0

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

Preview Lab → · Contrast checker → · Palette generator →

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