#794DD5#794DD5

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

Color values

HEX#794DD5
RGBrgb(121, 77, 213)
HSLhsl(259, 62%, 57%)
HSVhsv(259, 64%, 84%)
CMYKcmyk(43.2%, 63.8%, 0%, 16.5%)
CIE-LABlab(44.48, 48.80, -63.67)
CIE-LCHlch(44.48, 80.23, 307.47°)
OKLaboklab(54.25% 0.0794 -0.1819)
OKLCHoklch(54.25% 0.198 293.6)
XYZxyz(22.5460, 14.1762, 64.4863)
Luminance0.1418 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794DD5 #A9D54D
analogous
#4D65D5 #794DD5 #BD4DD5
triadic
#794DD5 #D5794D #4DD579
tetradic
#794DD5 #D54D65 #A9D54D #4DD5BD
square
#794DD5 #D54D65 #A9D54D #4DD5BD
split-complementary
#794DD5 #D5BD4D #65D54D
monochromatic
#422088 #592CB9 #794DD5 #9E7FE1 #C4B0EC

Accessibility & contrast

On white

5.48
#794DD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #794DD5
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794DD5#FFFFFF#000000##FFFFFF
##794DD51.005.483.845.48
#FFFFFF5.481.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD9
Deuteranopia (green-blind)
#0067D2
Tritanopia (blue-blind)
#5F6D8A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #794dd5;
/* rgb */ color: rgb(121, 77, 213);
/* oklch */ color: oklch(54.2% 0.198 293.6);
Tailwind
colors: {
  custom: {
    50: '#a681e3',
    500: '#794dd5',
    950: '#000000',
  },
}
SCSS
$custom: #794dd5;
$custom-light: #a681e3;
$custom-dark: #000000;
JSON
{
  "hex": "#794dd5",
  "rgb": {
    "r": 121,
    "g": 77,
    "b": 213
  },
  "hsl": {
    "h": 259.412,
    "s": 61.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.54246,
    "c": 0.19846,
    "h": 293.6
  },
  "luminance": 0.14177
}

Semantic roles & 50–950 ramp

primary
#794DD5
secondary
#C9DBA3
accent
#E543B0
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100A15
muted
#7F7C84

Preview Lab

Preview with #794DD5

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

Preview Lab → · Contrast checker → · Palette generator →

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