#794EBE#794EBE

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

Color values

HEX#794EBE
RGBrgb(121, 78, 190)
HSLhsl(263, 46%, 53%)
HSVhsv(263, 59%, 75%)
CMYKcmyk(36.3%, 58.9%, 0%, 25.5%)
CIE-LABlab(43.11, 42.12, -52.60)
CIE-LCHlch(43.11, 67.39, 308.69°)
OKLaboklab(52.74% 0.0796 -0.1493)
OKLCHoklch(52.74% 0.169 298.1)
XYZxyz(19.9015, 13.2312, 50.2106)
Luminance0.1323 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794EBE #93BE4E
analogous
#4E5BBE #794EBE #B14EBE
triadic
#794EBE #BE794E #4EBE79
tetradic
#794EBE #BE4E5B #93BE4E #4EBEB1
square
#794EBE #BE4E5B #93BE4E #4EBEB1
split-complementary
#794EBE #BEB14E #5BBE4E
monochromatic
#41276A #5C3897 #794EBE #9B7BCE #BDA8DF

Accessibility & contrast

On white

5.76
#794EBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#794EBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794EBE
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794EBE#FFFFFF#000000##FFFFFF
##794EBE1.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C66C2
Deuteranopia (green-blind)
#2565BC
Tritanopia (blue-blind)
#69667E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #794ebe;
/* rgb */ color: rgb(121, 78, 190);
/* oklch */ color: oklch(52.7% 0.169 298.1);
Tailwind
colors: {
  custom: {
    50: '#a481d2',
    500: '#794ebe',
    950: '#000000',
  },
}
SCSS
$custom: #794ebe;
$custom-light: #a481d2;
$custom-dark: #000000;
JSON
{
  "hex": "#794ebe",
  "rgb": {
    "r": 121,
    "g": 78,
    "b": 190
  },
  "hsl": {
    "h": 263.036,
    "s": 46.281,
    "l": 52.549
  },
  "oklch": {
    "l": 0.52744,
    "c": 0.16923,
    "h": 298.1
  },
  "luminance": 0.13231
}

Semantic roles & 50–950 ramp

primary
#794EBE
secondary
#BACC9C
accent
#D652A3
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #794EBE

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

Preview Lab → · Contrast checker → · Palette generator →

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