#794EBF#794EBF

#794EBF is a mid, vivid violet. Relative luminance 0.133; OKLCH L 52.8% C 0.170 H 297.8°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#794EBF
RGBrgb(121, 78, 191)
HSLhsl(263, 47%, 53%)
HSVhsv(263, 59%, 75%)
CMYKcmyk(36.6%, 59.2%, 0%, 25.1%)
CIE-LABlab(43.17, 42.39, -53.08)
CIE-LCHlch(43.17, 67.93, 308.61°)
OKLaboklab(52.81% 0.0796 -0.1507)
OKLCHoklch(52.81% 0.17 297.8)
XYZxyz(20.0112, 13.2750, 50.7882)
Luminance0.1328 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794EBF #94BF4E
analogous
#4E5BBF #794EBF #B24EBF
triadic
#794EBF #BF794E #4EBF79
tetradic
#794EBF #BF4E5B #94BF4E #4EBFB2
square
#794EBF #BF4E5B #94BF4E #4EBFB2
split-complementary
#794EBF #BFB24E #5BBF4E
monochromatic
#41276C #5C3799 #794EBF #9B7BCF #BDA8E0

Accessibility & contrast

On white

5.75
#794EBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#794EBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794EBF
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794EBF#FFFFFF#000000##FFFFFF
##794EBF1.005.753.665.75
#FFFFFF5.751.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0866C3
Deuteranopia (green-blind)
#2365BC
Tritanopia (blue-blind)
#69667F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #794ebf;
/* rgb */ color: rgb(121, 78, 191);
/* oklch */ color: oklch(52.8% 0.170 297.8);
Tailwind
colors: {
  custom: {
    50: '#a481d3',
    500: '#794ebf',
    950: '#000000',
  },
}
SCSS
$custom: #794ebf;
$custom-light: #a481d3;
$custom-dark: #000000;
JSON
{
  "hex": "#794ebf",
  "rgb": {
    "r": 121,
    "g": 78,
    "b": 191
  },
  "hsl": {
    "h": 262.832,
    "s": 46.888,
    "l": 52.745
  },
  "oklch": {
    "l": 0.52813,
    "c": 0.17045,
    "h": 297.8
  },
  "luminance": 0.13275
}

Semantic roles & 50–950 ramp

primary
#794EBF
secondary
#BACD9C
accent
#D751A4
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #794EBF

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

Preview Lab → · Contrast checker → · Palette generator →

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