#794CBB#794CBB

#794CBB is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.2% C 0.168 H 299.2°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#794CBB
RGBrgb(121, 76, 187)
HSLhsl(264, 45%, 52%)
HSVhsv(264, 59%, 73%)
CMYKcmyk(35.3%, 59.4%, 0%, 26.7%)
CIE-LABlab(42.49, 42.45, -51.84)
CIE-LCHlch(42.49, 67.01, 309.31°)
OKLaboklab(52.23% 0.0821 -0.1471)
OKLCHoklch(52.23% 0.168 299.2)
XYZxyz(19.4370, 12.8215, 48.4548)
Luminance0.1282 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794CBB #8EBB4C
analogous
#4C57BB #794CBB #B04CBB
triadic
#794CBB #BB794C #4CBB79
tetradic
#794CBB #BB4C57 #8EBB4C #4CBBB0
square
#794CBB #BB4C57 #8EBB4C #4CBBB0
split-complementary
#794CBB #BBB04C #57BB4C
monochromatic
#402766 #5C3892 #794CBB #9A78CC #BBA5DD

Accessibility & contrast

On white

5.89
#794CBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#794CBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794CBB
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794CBB#FFFFFF#000000##FFFFFF
##794CBB1.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B64BF
Deuteranopia (green-blind)
#2663B9
Tritanopia (blue-blind)
#6B637C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #794cbb;
/* rgb */ color: rgb(121, 76, 187);
/* oklch */ color: oklch(52.2% 0.168 299.2);
Tailwind
colors: {
  custom: {
    50: '#a480d0',
    500: '#794cbb',
    950: '#000000',
  },
}
SCSS
$custom: #794cbb;
$custom-light: #a480d0;
$custom-dark: #000000;
JSON
{
  "hex": "#794cbb",
  "rgb": {
    "r": 121,
    "g": 76,
    "b": 187
  },
  "hsl": {
    "h": 264.324,
    "s": 44.939,
    "l": 51.569
  },
  "oklch": {
    "l": 0.52231,
    "c": 0.16847,
    "h": 299.2
  },
  "luminance": 0.12822
}

Semantic roles & 50–950 ramp

primary
#794CBB
secondary
#B6CA99
accent
#D553A0
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A14
muted
#7F7C82

Preview Lab

Preview with #794CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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