#794FD0#794FD0

#794FD0 is a mid, vivid violet. Relative luminance 0.142; OKLCH L 54.2% C 0.190 H 294.1°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#794FD0
RGBrgb(121, 79, 208)
HSLhsl(260, 58%, 56%)
HSVhsv(260, 62%, 82%)
CMYKcmyk(41.8%, 62%, 0%, 18.4%)
CIE-LABlab(44.53, 46.37, -60.73)
CIE-LCHlch(44.53, 76.41, 307.37°)
OKLaboklab(54.17% 0.0777 -0.1732)
OKLCHoklch(54.17% 0.19 294.1)
XYZxyz(22.0633, 14.2104, 61.2427)
Luminance0.1421 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794FD0 #A6D04F
analogous
#4F66D0 #794FD0 #BA4FD0
triadic
#794FD0 #D0794F #4FD079
tetradic
#794FD0 #D04F66 #A6D04F #4FD0BA
square
#794FD0 #D04F66 #A6D04F #4FD0BA
split-complementary
#794FD0 #D0BA4F #66D04F
monochromatic
#422382 #5A30B2 #794FD0 #9E7FDD #C3B0EA

Accessibility & contrast

On white

5.47
#794FD0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#794FD0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794FD0
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794FD0#FFFFFF#000000##FFFFFF
##794FD01.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD4
Deuteranopia (green-blind)
#0067CD
Tritanopia (blue-blind)
#626C88
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #794fd0;
/* rgb */ color: rgb(121, 79, 208);
/* oklch */ color: oklch(54.2% 0.190 294.1);
Tailwind
colors: {
  custom: {
    50: '#a682df',
    500: '#794fd0',
    950: '#000000',
  },
}
SCSS
$custom: #794fd0;
$custom-light: #a682df;
$custom-dark: #000000;
JSON
{
  "hex": "#794fd0",
  "rgb": {
    "r": 121,
    "g": 79,
    "b": 208
  },
  "hsl": {
    "h": 259.535,
    "s": 57.848,
    "l": 56.275
  },
  "oklch": {
    "l": 0.54169,
    "c": 0.18982,
    "h": 294.1
  },
  "luminance": 0.14211
}

Semantic roles & 50–950 ramp

primary
#794FD0
secondary
#C7D8A3
accent
#E147AF
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #794FD0

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

Preview Lab → · Contrast checker → · Palette generator →

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