#794BB6#794BB6

#794BB6 is a mid, vivid violet. Relative luminance 0.125; OKLCH L 51.7% C 0.164 H 300.6°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#794BB6
RGBrgb(121, 75, 182)
HSLhsl(266, 42%, 50%)
HSVhsv(266, 59%, 71%)
CMYKcmyk(33.5%, 58.8%, 0%, 28.6%)
CIE-LABlab(41.96, 41.72, -49.77)
CIE-LCHlch(41.96, 64.94, 309.97°)
OKLaboklab(51.74% 0.0834 -0.141)
OKLCHoklch(51.74% 0.164 300.6)
XYZxyz(18.8427, 12.4744, 45.6620)
Luminance0.1247 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794BB6 #88B64B
analogous
#4B53B6 #794BB6 #AE4BB6
triadic
#794BB6 #B6794B #4BB679
tetradic
#794BB6 #B64B53 #88B64B #4BB6AE
square
#794BB6 #B64B53 #88B64B #4BB6AE
split-complementary
#794BB6 #B6AE4B #53B64B
monochromatic
#3F2760 #5C388B #794BB6 #9977C8 #BAA2D9

Accessibility & contrast

On white

6.01
#794BB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#794BB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794BB6
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794BB6#FFFFFF#000000##FFFFFF
##794BB61.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1563B9
Deuteranopia (green-blind)
#2B62B4
Tritanopia (blue-blind)
#6C6179
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #794bb6;
/* rgb */ color: rgb(121, 75, 182);
/* oklch */ color: oklch(51.7% 0.164 300.6);
Tailwind
colors: {
  custom: {
    50: '#a37fcc',
    500: '#794bb6',
    950: '#000000',
  },
}
SCSS
$custom: #794bb6;
$custom-light: #a37fcc;
$custom-dark: #000000;
JSON
{
  "hex": "#794bb6",
  "rgb": {
    "r": 121,
    "g": 75,
    "b": 182
  },
  "hsl": {
    "h": 265.794,
    "s": 42.292,
    "l": 50.392
  },
  "oklch": {
    "l": 0.51738,
    "c": 0.16384,
    "h": 300.6
  },
  "luminance": 0.12475
}

Semantic roles & 50–950 ramp

primary
#794BB6
secondary
#B2C697
accent
#D2569D
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #794BB6

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

Preview Lab → · Contrast checker → · Palette generator →

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