#794DBE#794DBE

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

Color values

HEX#794DBE
RGBrgb(121, 77, 190)
HSLhsl(263, 47%, 52%)
HSVhsv(263, 59%, 75%)
CMYKcmyk(36.3%, 59.5%, 0%, 25.5%)
CIE-LABlab(42.90, 42.68, -52.94)
CIE-LCHlch(42.90, 68.00, 308.87°)
OKLaboklab(52.59% 0.0808 -0.1503)
OKLCHoklch(52.59% 0.171 298.3)
XYZxyz(19.8310, 13.0902, 50.1871)
Luminance0.1309 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794DBE #92BE4D
analogous
#4D59BE #794DBE #B24DBE
triadic
#794DBE #BE794D #4DBE79
tetradic
#794DBE #BE4D59 #92BE4D #4DBEB2
square
#794DBE #BE4D59 #92BE4D #4DBEB2
split-complementary
#794DBE #BEB24D #59BE4D
monochromatic
#41276A #5C3797 #794DBE #9B7ACE #BCA7DF

Accessibility & contrast

On white

5.80
#794DBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#794DBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794DBE
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794DBE#FFFFFF#000000##FFFFFF
##794DBE1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0665C2
Deuteranopia (green-blind)
#2364BB
Tritanopia (blue-blind)
#69657E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #794dbe;
/* rgb */ color: rgb(121, 77, 190);
/* oklch */ color: oklch(52.6% 0.171 298.3);
Tailwind
colors: {
  custom: {
    50: '#a481d2',
    500: '#794dbe',
    950: '#000000',
  },
}
SCSS
$custom: #794dbe;
$custom-light: #a481d2;
$custom-dark: #000000;
JSON
{
  "hex": "#794dbe",
  "rgb": {
    "r": 121,
    "g": 77,
    "b": 190
  },
  "hsl": {
    "h": 263.363,
    "s": 46.502,
    "l": 52.353
  },
  "oklch": {
    "l": 0.5259,
    "c": 0.17068,
    "h": 298.3
  },
  "luminance": 0.1309
}

Semantic roles & 50–950 ramp

primary
#794DBE
secondary
#B9CC9B
accent
#D652A3
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #794DBE

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

Preview Lab → · Contrast checker → · Palette generator →

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