#794EBC#794EBC

#794EBC is a mid, vivid violet. Relative luminance 0.131; OKLCH L 52.6% C 0.167 H 298.5°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#794EBC
RGBrgb(121, 78, 188)
HSLhsl(263, 45%, 52%)
HSVhsv(263, 59%, 74%)
CMYKcmyk(35.6%, 58.5%, 0%, 26.3%)
CIE-LABlab(42.98, 41.60, -51.65)
CIE-LCHlch(42.98, 66.32, 308.85°)
OKLaboklab(52.61% 0.0796 -0.1465)
OKLCHoklch(52.61% 0.167 298.5)
XYZxyz(19.6844, 13.1443, 49.0672)
Luminance0.1315 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794EBC #91BC4E
analogous
#4E5ABC #794EBC #B04EBC
triadic
#794EBC #BC794E #4EBC79
tetradic
#794EBC #BC4E5A #91BC4E #4EBCB0
square
#794EBC #BC4E5A #91BC4E #4EBCB0
split-complementary
#794EBC #BCB04E #5ABC4E
monochromatic
#412768 #5C3895 #794EBC #9B7ACD #BCA7DE

Accessibility & contrast

On white

5.79
#794EBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#794EBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794EBC
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794EBC#FFFFFF#000000##FFFFFF
##794EBC1.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1366C0
Deuteranopia (green-blind)
#2864BA
Tritanopia (blue-blind)
#6A657D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #794ebc;
/* rgb */ color: rgb(121, 78, 188);
/* oklch */ color: oklch(52.6% 0.167 298.5);
Tailwind
colors: {
  custom: {
    50: '#a481d1',
    500: '#794ebc',
    950: '#000000',
  },
}
SCSS
$custom: #794ebc;
$custom-light: #a481d1;
$custom-dark: #000000;
JSON
{
  "hex": "#794ebc",
  "rgb": {
    "r": 121,
    "g": 78,
    "b": 188
  },
  "hsl": {
    "h": 263.455,
    "s": 45.082,
    "l": 52.157
  },
  "oklch": {
    "l": 0.52608,
    "c": 0.16677,
    "h": 298.5
  },
  "luminance": 0.13145
}

Semantic roles & 50–950 ramp

primary
#794EBC
secondary
#B8CB9B
accent
#D553A2
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#100A14
muted
#7F7C82

Preview Lab

Preview with #794EBC

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

Preview Lab → · Contrast checker → · Palette generator →

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