#794EBD#794EBD

#794EBD is a mid, vivid violet. Relative luminance 0.132; OKLCH L 52.7% C 0.168 H 298.3°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#794EBD
RGBrgb(121, 78, 189)
HSLhsl(263, 46%, 52%)
HSVhsv(263, 59%, 74%)
CMYKcmyk(36%, 58.7%, 0%, 25.9%)
CIE-LABlab(43.04, 41.86, -52.12)
CIE-LCHlch(43.04, 66.85, 308.77°)
OKLaboklab(52.68% 0.0796 -0.1479)
OKLCHoklch(52.68% 0.168 298.3)
XYZxyz(19.7926, 13.1876, 49.6369)
Luminance0.1319 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794EBD #92BD4E
analogous
#4E5BBD #794EBD #B04EBD
triadic
#794EBD #BD794E #4EBD79
tetradic
#794EBD #BD4E5B #92BD4E #4EBDB0
square
#794EBD #BD4E5B #92BD4E #4EBDB0
split-complementary
#794EBD #BDB04E #5BBD4E
monochromatic
#412769 #5C3896 #794EBD #9B7BCE #BCA7DE

Accessibility & contrast

On white

5.77
#794EBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#794EBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794EBD
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794EBD#FFFFFF#000000##FFFFFF
##794EBD1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1066C1
Deuteranopia (green-blind)
#2665BB
Tritanopia (blue-blind)
#6A657E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #794ebd;
/* rgb */ color: rgb(121, 78, 189);
/* oklch */ color: oklch(52.7% 0.168 298.3);
Tailwind
colors: {
  custom: {
    50: '#a481d1',
    500: '#794ebd',
    950: '#000000',
  },
}
SCSS
$custom: #794ebd;
$custom-light: #a481d1;
$custom-dark: #000000;
JSON
{
  "hex": "#794ebd",
  "rgb": {
    "r": 121,
    "g": 78,
    "b": 189
  },
  "hsl": {
    "h": 263.243,
    "s": 45.679,
    "l": 52.353
  },
  "oklch": {
    "l": 0.52676,
    "c": 0.16799,
    "h": 298.3
  },
  "luminance": 0.13188
}

Semantic roles & 50–950 ramp

primary
#794EBD
secondary
#B9CC9B
accent
#D552A3
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#100A14
muted
#7F7C82

Preview Lab

Preview with #794EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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