#794BBD#794BBD

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

Color values

HEX#794BBD
RGBrgb(121, 75, 189)
HSLhsl(264, 46%, 52%)
HSVhsv(264, 60%, 74%)
CMYKcmyk(36%, 60.3%, 0%, 25.9%)
CIE-LABlab(42.42, 43.53, -53.14)
CIE-LCHlch(42.42, 68.69, 309.32°)
OKLaboklab(52.22% 0.0833 -0.1509)
OKLCHoklch(52.22% 0.172 298.9)
XYZxyz(19.5843, 12.7710, 49.5675)
Luminance0.1277 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794BBD #8FBD4B
analogous
#4B56BD #794BBD #B24BBD
triadic
#794BBD #BD794B #4BBD79
tetradic
#794BBD #BD4B56 #8FBD4B #4BBDB2
square
#794BBD #BD4B56 #8FBD4B #4BBDB2
split-complementary
#794BBD #BDB24B #56BD4B
monochromatic
#402668 #5C3694 #794BBD #9A78CD #BCA5DE

Accessibility & contrast

On white

5.91
#794BBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#794BBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794BBD
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794BBD#FFFFFF#000000##FFFFFF
##794BBD1.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C1
Deuteranopia (green-blind)
#2063BA
Tritanopia (blue-blind)
#6A637D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #794bbd;
/* rgb */ color: rgb(121, 75, 189);
/* oklch */ color: oklch(52.2% 0.172 298.9);
Tailwind
colors: {
  custom: {
    50: '#a47fd2',
    500: '#794bbd',
    950: '#000000',
  },
}
SCSS
$custom: #794bbd;
$custom-light: #a47fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#794bbd",
  "rgb": {
    "r": 121,
    "g": 75,
    "b": 189
  },
  "hsl": {
    "h": 264.211,
    "s": 46.341,
    "l": 51.765
  },
  "oklch": {
    "l": 0.52216,
    "c": 0.17235,
    "h": 298.9
  },
  "luminance": 0.12771
}

Semantic roles & 50–950 ramp

primary
#794BBD
secondary
#B7CB99
accent
#D652A1
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A14
muted
#7F7C82

Preview Lab

Preview with #794BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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