#794ABB#794ABB

#794ABB is a mid, vivid violet. Relative luminance 0.126; OKLCH L 51.9% C 0.171 H 299.6°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#794ABB
RGBrgb(121, 74, 187)
HSLhsl(265, 45%, 51%)
HSVhsv(265, 60%, 73%)
CMYKcmyk(35.3%, 60.4%, 0%, 26.7%)
CIE-LABlab(42.08, 43.56, -52.51)
CIE-LCHlch(42.08, 68.23, 309.67°)
OKLaboklab(51.93% 0.0846 -0.1491)
OKLCHoklch(51.93% 0.171 299.6)
XYZxyz(19.3014, 12.5502, 48.4096)
Luminance0.1255 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794ABB #8CBB4A
analogous
#4A53BB #794ABB #B24ABB
triadic
#794ABB #BB794A #4ABB79
tetradic
#794ABB #BB4A53 #8CBB4A #4ABBB2
square
#794ABB #BB4A53 #8CBB4A #4ABBB2
split-complementary
#794ABB #BBB24A #53BB4A
monochromatic
#402665 #5C3791 #794ABB #9A76CC #BBA3DC

Accessibility & contrast

On white

5.98
#794ABB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#794ABB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794ABB
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794ABB#FFFFFF#000000##FFFFFF
##794ABB1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063BF
Deuteranopia (green-blind)
#2262B8
Tritanopia (blue-blind)
#6B627B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #794abb;
/* rgb */ color: rgb(121, 74, 187);
/* oklch */ color: oklch(51.9% 0.171 299.6);
Tailwind
colors: {
  custom: {
    50: '#a47fd0',
    500: '#794abb',
    950: '#000000',
  },
}
SCSS
$custom: #794abb;
$custom-light: #a47fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#794abb",
  "rgb": {
    "r": 121,
    "g": 74,
    "b": 187
  },
  "hsl": {
    "h": 264.956,
    "s": 45.382,
    "l": 51.176
  },
  "oklch": {
    "l": 0.51927,
    "c": 0.17137,
    "h": 299.6
  },
  "luminance": 0.1255
}

Semantic roles & 50–950 ramp

primary
#794ABB
secondary
#B5C997
accent
#D5539F
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A14
muted
#7F7C82

Preview Lab

Preview with #794ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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